Let's say out of professional interest, I installed Windows 8 Developer Preview (64-bit) on my home laptop/netbook, a Lenovo x120e. I had replaced the hard drive with a solid state drive (SSD). The combination proved to be a very quick Windows Developer Preview experience (seems it likes, dual core, SSD, or both). Windows did not automatically detect drivers for my Wireless Network Connection (now called "Wi-Fi") or SD Card reader. After pointing Windows to the location of the Windows 7 wireless drivers, Windows Developer Preview found an updated driver via Windows Update.
My intention was to learn more about the next version of Windows and try to get used to the Start screen. Microsoft has a history of retiring old interfaces. Given I'm playing with pre-Beta code and interface, there is much that is awkward to do using the Windows screen or the Metro UI. I intended to give it longer but find myself immediately clicking the Desktop tile and using the "Desktop" pre-defined toolbar, a "Start Menu" toolbar I pointed to C:\ProgramData\Microsoft\Windows\Start Menu, and using the Windows key + R to bring up the Run dialog to tell Windows what I want to launch. Where I previously was learning to use Run as a side interest and productivity booster (bypassing the mouse), I am relying on it in the Preview more than the toolbars I added or the Start Screen button. I've come to enjoy the Metro game Tube Rider, and the Start screen feels natural for it, but as I spend much of my time with the laptop searching the web and watching videos, I spend most of my time on the Desktop. The Start screen doesn't feel natural to the way I use Windows. I don't like that single clicking the network icon slides in a wireless networks Metro pane (Action Center, Volume, and Power still bring up pop-up windows). Restart and Shut Down is awkward, and the preferred way to Log Off doesn't seem apparent to me.
My next phase of experimenting with Windows Developer Preview was to install it on my old netbook and an old laptop. I tried to install Windows Developer Preview 64-bit on my Samsung NC20 and got Microsoft's version of the sad Mac screen (the new blue screen) before it even got into setup with the error IRQL_NOT_LESS_THAN_OR_EQUAL. Windows Developer Preview 32-bit installed relatively without issue, but it doesn't detect the VIA Chrome video adapter, instead using the Microsoft Basic Display Adapter driver. Device Manager also lists the status of Microsoft Basic Display Adapter and VIA MSP Cardbus Host Controller as "This device cannot find enough free resources that it can use. (Code 12)". Disabling the wired network controller (which I don't use) in the BIOS didn't help. On the Lenovo laptop, Windows detects the display adapter as "AMD Radeon HD 6300 series Graphics (Engineering Sample), which I think is funny. Speaking of Sad Mike screens (blue screens), the Lenovo returns from sleep into a blue screen. I recently turned off the automatic restart to see the error, KERNEL_DATA_INPAGE_ERROR (volmgrx.sys).
I also installed Windows Developer Preview on a Dell Inspiron 8200. It also uses the Microsoft Basic Display Adapter, and I had to point to the drivers for the modem (LOL). Windows better understood the audio when I pointed it to the audio driver. I noticed that the Metro way of displaying to Windows or split screening doesn't work on the Microsoft Basic Display Adapter. Also, the SadWin screen (blue screen) I noticed getting on the Inspiron 8200 was the error "CACHE_MANAGER". I installed WinDP on this laptop because I wanted to try installing it on the oldest hardware I could get my hands on that met the minimum requirements. I installed it on the Samsung NC20 for contrast and to send the telemetry data. I'm pretty sure I'll switch it back to Unix\Linux of some sort though.
I'm curious to see what Microsoft does with it. I looked forward to both Windows Vista and Windows 7, used them at home, and when I started getting used to Vista and 7 at home found myself trying to do Vista and 7 things on my work Windows XP until I moved to Windows 7 at work as well. I remember I did not look forward to Windows ME or Windows XP (I was a big Windows 2000 fan) and my current view of Windows 8 is cautious and uncertain.
Monday, December 12, 2011
Friday, October 21, 2011
Trying to fix corrupt Adobe PDF files
The company I work for uses an online document management system and like to work with large PDF files (I recently worked with a 353 page, 17 MB problem PDF). Too often, we have PDF files have problems or have pages get corrupt. I haven't found a cause or a solution that always fixes the problems, but here are some methods I have found that work (my reference is Adobe Acrobat 8 Pro).
Use Preflight to check the PDF for syntax issues (requires Acrobat Pro or above - and I haven't found out what to do with this information):
Click Advanced -> Preflight... in Adobe Acrobat Pro
Expand PDF Analysis, select Report PDF syntax issues, and click Execute.
Remove the Tags in the document (requires Acrobat Pro or above) :
Right-click the Navigation Pane and click Tags
Click the root of the Tags tree
Right-click Tags and click Delete Tag
Save
Reduce File Size (Acrobat Standard or above):
Click Document -> Reduce File Size...
(you can adjust the Compatibility level of the file)
Click OK
Save as a new file name and click Save
Use the PDF Optimizer to remove features (one by one or all then all minus 1, then all minus 2, etc) (Adobe Acrobat Pro or above):
Click Advanced -> PDF Optimizer...
Click the checkbox next to unnecessary settings or settings you would like to try to remove for troubleshooting purposes
Click OK
Save as a new file name and click Save
Try resaving the document using Nitro PDF Reader (this has worked for me many times):
Open the document in Nitro PDF Reader
Click File -> Save As -> PDF Document
Save the file using a different name and click Save
Delete bad pages (either one by one or as a group, if necessary) (Adobe Acrobat Standard or above):
Open the problem PDF in Adobe Acrobat
Click the tool "Click to show one page at a time"
Page through the pages in the PDF, note any page that gives you an error message.
In the Navigation Pane, click Pages. Select the problem pages, right-click, and click Delete Pages...
Click File -> Save As, save the file using a different name, and click Save
Export as PostScript without comments, export comments, convert PostScript to PDF, and import comments (you lose bookmarks using this method) (Adobe Acrobat Standard or above):
Click Comments -> Export Comments to Data File..., give it a name, and click Save
Click File -> Export -> PostScript -> PostScript
Click Settings and uncheck Include Comments, click OK, give it a different name, and click Save.
Open the PS file in Adobe Acrobat.
Click Comments -> Import Comments..., select Adobe FDF File from the file types drop-down, click the FDF file, and click Select.
Click File->Save.
Use Preflight to check the PDF for syntax issues (requires Acrobat Pro or above - and I haven't found out what to do with this information):
Click Advanced -> Preflight... in Adobe Acrobat Pro
Expand PDF Analysis, select Report PDF syntax issues, and click Execute.
Remove the Tags in the document (requires Acrobat Pro or above) :
Right-click the Navigation Pane and click Tags
Click the root of the Tags tree
Right-click Tags and click Delete Tag
Save
Reduce File Size (Acrobat Standard or above):
Click Document -> Reduce File Size...
(you can adjust the Compatibility level of the file)
Click OK
Save as a new file name and click Save
Use the PDF Optimizer to remove features (one by one or all then all minus 1, then all minus 2, etc) (Adobe Acrobat Pro or above):
Click Advanced -> PDF Optimizer...
Click the checkbox next to unnecessary settings or settings you would like to try to remove for troubleshooting purposes
Click OK
Save as a new file name and click Save
Try resaving the document using Nitro PDF Reader (this has worked for me many times):
Open the document in Nitro PDF Reader
Click File -> Save As -> PDF Document
Save the file using a different name and click Save
Delete bad pages (either one by one or as a group, if necessary) (Adobe Acrobat Standard or above):
Open the problem PDF in Adobe Acrobat
Click the tool "Click to show one page at a time"
Page through the pages in the PDF, note any page that gives you an error message.
In the Navigation Pane, click Pages. Select the problem pages, right-click, and click Delete Pages...
Click File -> Save As, save the file using a different name, and click Save
Export as PostScript without comments, export comments, convert PostScript to PDF, and import comments (you lose bookmarks using this method) (Adobe Acrobat Standard or above):
Click Comments -> Export Comments to Data File..., give it a name, and click Save
Click File -> Export -> PostScript -> PostScript
Click Settings and uncheck Include Comments, click OK, give it a different name, and click Save.
Open the PS file in Adobe Acrobat.
Click Comments -> Import Comments..., select Adobe FDF File from the file types drop-down, click the FDF file, and click Select.
Click File->Save.
Monday, October 3, 2011
Search, search, work, then find site with exact solution
I frequently come across a frustrating scenario where I search, read, work, and struggle through how to do something and then find a site with the steps clearly laid out to do the thing I just struggled to figure out how to do. I find this happens most frequently to me in working to solve a problem with Microsoft software then finding an official Microsoft site with the solution. This is not a criticism against Microsoft but a comment on the availability of documentation (both at Microsoft's site and on the internet in general).
I found a site with instructions on loading sound drivers (https://www.dan.me.uk/blog/2010/09/26/freebsd-sound-card-driver/), installing a GUI (https://www.dan.me.uk/blog/2010/09/26/gnome-gui-freebsd-8/), and installing the Flash plugin (https://www.dan.me.uk/blog/2010/09/26/installing-flash-plugin-10-for-firefox-in-freebsd-8/) in FreeBSD at https://www.dan.me.uk/blog/ that could have saved me some work. Unfortunately, it's been a while since he's posted to his blog. I found my instructions from the FreeBSD Handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/), which, of course, got me to the same result.
I found a site with instructions on loading sound drivers (https://www.dan.me.uk/blog/2010/09/26/freebsd-sound-card-driver/), installing a GUI (https://www.dan.me.uk/blog/2010/09/26/gnome-gui-freebsd-8/), and installing the Flash plugin (https://www.dan.me.uk/blog/2010/09/26/installing-flash-plugin-10-for-firefox-in-freebsd-8/) in FreeBSD at https://www.dan.me.uk/blog/ that could have saved me some work. Unfortunately, it's been a while since he's posted to his blog. I found my instructions from the FreeBSD Handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/), which, of course, got me to the same result.
Saturday, October 1, 2011
FreeBSD 8.2 i386 X11, XFCE4, sound, Firefox3, and Flash on Samsung NC20
Last time I tried it, I was unable to get Flash Player working on FreeBSD 7.2. I was able to get it working on FreeBSD 8.2 on my Samsung NC20 using the ports system. I didn't try ports last time, but it wasn't as hard as I thought. First I installed X11 (xorg-7.5) and Xfce4. Then I installed Firefox 3.6 from packages and loaded sound.
I installed xorg-7.5 from packages from the FreeBSD 8.2 RELEASE i386 DVD:
mount -t cd9660 /dev/cd0 /cdrom
pkg_add /cdrom/packages/All/xorg-7.5.tbz
To configure xorg, I added hald_enabled="YES" and dbus_enabled="YES" to /etc/rc.conf. I restarted and ran Xorg -configure then edited xorg.conf.new to include my screen resolution (Modes 1280x800). To test, I ran X -config /root/xorg.conf.new -retro. Since this worked, I switched to tty1, back to tty0, pressed CTRL+C then copied /root/xorg.conf.new to /etc/X11/xorg.conf (cp xorg.conf.new /etc/X11/xorg.conf).
I couldn't find Xfce4 on the DVD, so I had to get it from the internet. I went with Xfce because I don't like KDE4 or Gnome 3 (I liked Gnome 2 and KDE 3). I might want to try LXDE instead of Xfce.
pkg_add -r xfce4
I restarted and ran startxfce4. I got the latest Firefox I could get from packages:
pkg_add -r firefox
I enabled sound in /boot/loader.conf by adding the line snd_hda_load="YES" then I got the flash plugin from ports (some steps may be out of order):
portsnap fetch
portsnap extract
(if I had ran portsnap extract before, I would have run portsnap update)
cd /usr/ports/www/nspluginwrapper
make
(then I added linux_enable="YES" to /boot/loader.conf, saved, and restarted)
cd /usr/ports/www/nspluginwrapper
make install
make clean
cd /usr/ports/www/linux-f10-flashplugin10
make
make install
make clean
mkdir /usr/local/lib/browser_plugins/
ln -s /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so /usr/local/lib/browser_plugins/
ln -sv /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so /usr/local/lib/firefox3/plugins/npwrapper.libflashplayer.so
nspluginwrapper -v -a -i
(nspluginwrapper -v -a -i needs to be run by each user, according to the FreeBSD Handbook)
I installed xorg-7.5 from packages from the FreeBSD 8.2 RELEASE i386 DVD:
mount -t cd9660 /dev/cd0 /cdrom
pkg_add /cdrom/packages/All/xorg-7.5.tbz
To configure xorg, I added hald_enabled="YES" and dbus_enabled="YES" to /etc/rc.conf. I restarted and ran Xorg -configure then edited xorg.conf.new to include my screen resolution (Modes 1280x800). To test, I ran X -config /root/xorg.conf.new -retro. Since this worked, I switched to tty1, back to tty0, pressed CTRL+C then copied /root/xorg.conf.new to /etc/X11/xorg.conf (cp xorg.conf.new /etc/X11/xorg.conf).
I couldn't find Xfce4 on the DVD, so I had to get it from the internet. I went with Xfce because I don't like KDE4 or Gnome 3 (I liked Gnome 2 and KDE 3). I might want to try LXDE instead of Xfce.
pkg_add -r xfce4
I restarted and ran startxfce4. I got the latest Firefox I could get from packages:
pkg_add -r firefox
I enabled sound in /boot/loader.conf by adding the line snd_hda_load="YES" then I got the flash plugin from ports (some steps may be out of order):
portsnap fetch
portsnap extract
(if I had ran portsnap extract before, I would have run portsnap update)
cd /usr/ports/www/nspluginwrapper
make
(then I added linux_enable="YES" to /boot/loader.conf, saved, and restarted)
cd /usr/ports/www/nspluginwrapper
make install
make clean
cd /usr/ports/www/linux-f10-flashplugin10
make
make install
make clean
mkdir /usr/local/lib/browser_plugins/
ln -s /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so /usr/local/lib/browser_plugins/
ln -sv /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so /usr/local/lib/firefox3/plugins/npwrapper.libflashplayer.so
nspluginwrapper -v -a -i
(nspluginwrapper -v -a -i needs to be run by each user, according to the FreeBSD Handbook)
Labels:
Adobe Flash Player,
Firefox,
FreeBSD,
FreeBSD 8.2,
Samsung NC20,
sound,
X11,
Xfce
Friday, September 30, 2011
FreeBSD 8.2 i386 on Samsung NC20
I decided to look at FreeBSD again. I've read that FreeBSD is a powerful operating system behind some well known websites, appliances, and services, so I thought it would be useful to learn. Also, where better to learn a Unix-like operating system than one that traces back to Unix?
The Samsung NC20 is a VIA Nano-based netbook. Its platform is not as widespread as an Intel or AMD-based system, so maybe I shouldn't be surprised I ran into problems. I found I could not install FreeBSD 7.4, either as an AMD64 or i386. I could not install FreeBSD 8.2 AMD64 either. FreeBSD 8.2 i386 could be installed, but I had to disable ACPI at first, then alter /boot/loader.conf to include the line debug.acpi.disabled="sysresources".
Next up, I wanted a wireless connection. My wireless connection is WPA-PSK using TKIP encryption. Things changed since last I looked at FreeBSD. I needed to alter /etc/rc.conf to include:
hostname="FreeBSDNC20"
wlans_ath0="wlan0"
wlan_tkip_load="YES"
ifconfig_wlan0="WPA DHCP"
I had to add my wireless SSID and passphrase to /etc/wpa_supplicant.conf. Because my original wpa_supplicant.conf was empty, I ran the following two commands (the first to verify the output):
wpa_passphrase ssid ssid_passphrase
wpa_passphrase ssid ssid_passphrase > /etc/wpa_supplicant.conf
After a restart, ifconfig reported an IP address. Success!
The Samsung NC20 is a VIA Nano-based netbook. Its platform is not as widespread as an Intel or AMD-based system, so maybe I shouldn't be surprised I ran into problems. I found I could not install FreeBSD 7.4, either as an AMD64 or i386. I could not install FreeBSD 8.2 AMD64 either. FreeBSD 8.2 i386 could be installed, but I had to disable ACPI at first, then alter /boot/loader.conf to include the line debug.acpi.disabled="sysresources".
Next up, I wanted a wireless connection. My wireless connection is WPA-PSK using TKIP encryption. Things changed since last I looked at FreeBSD. I needed to alter /etc/rc.conf to include:
hostname="FreeBSDNC20"
wlans_ath0="wlan0"
wlan_tkip_load="YES"
ifconfig_wlan0="WPA DHCP"
I had to add my wireless SSID and passphrase to /etc/wpa_supplicant.conf. Because my original wpa_supplicant.conf was empty, I ran the following two commands (the first to verify the output):
wpa_passphrase ssid ssid_passphrase
wpa_passphrase ssid ssid_passphrase > /etc/wpa_supplicant.conf
After a restart, ifconfig reported an IP address. Success!
Labels:
FreeBSD,
FreeBSD 8.2,
Samsung NC20,
wifi,
wireless,
wlan
Thursday, September 29, 2011
Make IE9 look more like IE8
You can make Internet Explorer 9 (IE9) look more like Internet Explorer 8 (IE8) in Windows in a few ways. I was searching for a site to lay this out for me and found suggestions to uninstall IE9 or install a Windows Classic theme to be unhelpful. Here is what you can do:
One of the most apparent changes was that the tabs were moved up and to the left of the new, combined address/search bar (where you type in the websites). The tradeoff is you gain screen real estate but lose space for tabs. To futher gain screen real estate, the status bar (with the zoom icon on the bottom right), the Favorites bar, and the Command bar were removed.
To place the tabs below the address/search bar:
Right-click a tab or an empty area above the address bar and click "Show tabs on a separate row"
To add back the favorites, command, and status bar:
Press Alt to reveal the menu
Click View - Toolbars and click Favorites bar, Command bar, and Status bar
I don't think you can change Internet Explorer if you do not like the new download dialog, manager, the transparency effects, or the new buttons (back, forward, compatibility view, refresh, or stop)
One of the most apparent changes was that the tabs were moved up and to the left of the new, combined address/search bar (where you type in the websites). The tradeoff is you gain screen real estate but lose space for tabs. To futher gain screen real estate, the status bar (with the zoom icon on the bottom right), the Favorites bar, and the Command bar were removed.
To place the tabs below the address/search bar:
Right-click a tab or an empty area above the address bar and click "Show tabs on a separate row"
To add back the favorites, command, and status bar:
Press Alt to reveal the menu
Click View - Toolbars and click Favorites bar, Command bar, and Status bar
I don't think you can change Internet Explorer if you do not like the new download dialog, manager, the transparency effects, or the new buttons (back, forward, compatibility view, refresh, or stop)
Wednesday, September 7, 2011
iPad locking out user account
I found that an Apple iPad was locking out a user's Active Directory account every 10 minutes and 25 seconds by attempting to synchronize with their Microsoft Exchange e-mail account with the wrong password. I don't know if synchronizing every 10 minutes and 25 seconds is the default setting, but I was surprised there was no randomization factor, and my coworker was surprised that the iPad wasn't programmed to stop trying after a certain number of failed attempts by default.
A user told us that his account kept getting locked out. Others were taking care of the issue by unlocking his account. When I got involved, I unlocked his account and then waited to see him log in to our Terminal Server (the resource he was trying to access). When 13 minutes later he did not have an active session, I assumed he mistyped his password again. I unlocked his account and waited another 12 minutes. I still saw no active session, saw he was locked out again, and unlocked his account. I saw the same thing 25 minutes later and did the same thing. Finally, when I saw he was locked out again another 15 minutes later, I determined it must have been a device with an incorrect password.
However, now my interest was piqued, so I watched it. I kept narrowing in until I saw it was happening every 10 minutes and 25 seconds, far too regularly for him to be locking himself out. When we alerted him, we found it was his iPad. He turned the screen off (and it kept trying to synchronize) then later shut it down (which coincided with his last lockout time). It turns out the Additional Account Information tab in Active Directory is really helpful for finding this information. Leaving open the Account tab, you don't see when an account gets locked out because the window does not refresh/repaint. Our lockout time period was longer than the iPad's synchronization period, so if I hadn't been unlocking the account, it would have remained locked out. We were glad he confirmed it was a device because the other option was another source was trying to compromise his account.
A user told us that his account kept getting locked out. Others were taking care of the issue by unlocking his account. When I got involved, I unlocked his account and then waited to see him log in to our Terminal Server (the resource he was trying to access). When 13 minutes later he did not have an active session, I assumed he mistyped his password again. I unlocked his account and waited another 12 minutes. I still saw no active session, saw he was locked out again, and unlocked his account. I saw the same thing 25 minutes later and did the same thing. Finally, when I saw he was locked out again another 15 minutes later, I determined it must have been a device with an incorrect password.
However, now my interest was piqued, so I watched it. I kept narrowing in until I saw it was happening every 10 minutes and 25 seconds, far too regularly for him to be locking himself out. When we alerted him, we found it was his iPad. He turned the screen off (and it kept trying to synchronize) then later shut it down (which coincided with his last lockout time). It turns out the Additional Account Information tab in Active Directory is really helpful for finding this information. Leaving open the Account tab, you don't see when an account gets locked out because the window does not refresh/repaint. Our lockout time period was longer than the iPad's synchronization period, so if I hadn't been unlocking the account, it would have remained locked out. We were glad he confirmed it was a device because the other option was another source was trying to compromise his account.
Labels:
Active Directory,
iOS device,
iPad,
lock out,
Microsoft Exchange
Subscribe to:
Posts (Atom)