Sunday, October 28, 2007

Ubuntu on our Gateway 200 ARC Laptop

We bought a new fancy laptop so the old model has been left to me to do as I see fit. It's moved from production to dev...if you will.

I will leave Windows XP Pro SP2 on the machine since I'm not a masochist. I have a stack of analog home movies and a Pinacle Studio capture device that I haven't been able to work in Linux. I'm not willing to spend another $100 on a Linux compatible capture device. I also don't want to risk getting stuck and needing access to some Microsoft software immediately. Then later I can figure out how to make it work in Linux.

Laptop Specs
Gateway 200 ARC, circa 2002, purchased for $1,600 from Costco
Intel Centrino, P4 1.6 Ghz
1 GB PC2100 RAM
120 GB HD, 5400 rpm
Touchpad (need more details) - working
On board graphs (Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
14.2" Display
On board audio (Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
On board Intel Wireless card, 802.11b (need more details)
2 USB 2.0
1 1394 Firewire
1 PCMCIA Type 2 Slot (CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac))
Wireless Card, PCMCIA, Netgear WG511 v2, 802.11g (Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)) - working
3 "hot keys" (I never used this with Windows but I might find a use for them)
10/100BaseT Ethernet Card, RJ-45
56k Modem (Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01))

I am installing Xubuntu 6.06.

Prior to installation I used the Gparted Live CD to partition the hard drive as follows. Also listed are the mount points.
hda1 primary ntfs 50GB /media/disk1
hda2 primary linux-swap 2 GB swap
hda3 primary ext3 5 GB /
hda5 extended ext3 55GB /home

Gparted Live CD worked great resizing the ntfs partition from ~120GB down to 50GB. I'm not sure how long it took since I set it up and came back later. I was nervous about the resizing of ntfs but it worked great.

During the installation Xubuntu only gave me the option to "Erase entire hda1" or "Manually edit the partition table." I had hoped for an "accept existing partitions" option, but that option didn't exist so I selected "Manually edit the partition table." I then accepted the defaults.

The next step tricked my up a little. I felt like a noob. Xubuntu asked where I wanted to set the mount points. Xubuntu defaulted to mounded hda1 to /media/disk1. I wasn't paying attention and I erased that selection. Then I didn't have the option on a pull-down to assign hda1 to a mount point. I was confused and Xubuntu would not let me move on. I then hit the Back button and then the Next button. Xubuntu again applied the mount hda1 to /media/disk1 recommendation. That's when I realized my error. Finally I told Xubuntu to mount & format partitions as in the above table. I think there were a few confirmations and installation commenced.

After about 30 minutes Xubuntu asked me to reboot, which I did and all was well.

During the installation automatically configured Grub to allow for dual booting with Xubuntu as the default. It also had Windows XP Pro as an option on Grub by default. Kudos to the team for making Grub configuration painless.

Now I'm up and running but I'm not connected to any network. So, out of the box here's my status.

Touchpad - works
On board graphs - works at the most basic level.
I can only select 800x600 or 640x480, but the default is some other resolution that I don't know how to determine. In XP I could select 1024x768 with 32 bit color. I'm thinking the default 1024x768 but I can't tell.
The brighten screen keys "Fn-Up/down Arror" cause the screen to wig-out and be unusable. The screen goes to a ultra-rainbow-static/snow mode. When it does this I can't even kill X with ctrl-alt-backspace. I have to hard reboot my holding down the power button.
When scrolling an abiword document I get multi-colored streaks on the screen.
Ctrl-alt-backspace also doesn't close the desktop and restart X even when things are working fine.
Clearly I have a graphics driver issue.
On board audio - works
On board Intel Wireless card, 802.11b - can't tell if this works, the little light is on, but I can't connect to the wireless router. I also couldn't connect my router with XP on this machine because of some encryption problem. I think the card does not support WEP2 or something. I don't understand why a new driver wouldn't update the encryption.
DVD-ROM/CD-RW - not tested
2 USB 2.0 - Both worked to automatically mount a PNY Attache 2GB thumb drive.
1 1394 Firewire - not tested
1 PCMCIA slot (Type 2 I think) - maybe doesn't work since the Netgear card didn't get power
Wireless Card, PCMCIA, Netgear WG511 v2, 802.11g - lights didn't come on when I plugged it
in so maybe it's not even getting power.
I also tried an eHome 802.11g card model EH101 and it didn't have any lights come on either.
3 "hot keys" (I never used this with Windows but I might find a use for them) - 2 of the keys didn't seem to do anything. The button with the little check-mark entered a lower-case "e" while using Abiword. This tells me at least that button will be configurable at some point.
10/100BaseT Ethernet Card, RJ-45 - I had to go to Application -> System -> Networking. Then I selected eth0 as the Default Gateway Device, OK. This worked. I might have dorked this up when I attempted to configure the wireless device so I'll call this working out of the box. At least I didn't have to install new drivers or anything.
56k Modem - not tested

Instead of trying to trouble shoot each of these issues, I'm going to upgrade to Xubuntu 7.04 and see how it goes. I used the 'sudo apt-get dist-upgrade' command and automatically updated. The upgrade appears to be ok. However, the 'Fn-uparrow' still kills my display. It's also interesting that Alt-F2 nor Ctrl-Alt-Backspace work to restart X, even when the display is working fine.

Next I installed Gnome using 'sudo apt-get install kubuntu-desktop'. This also appears to have worked without a hitch. I let the 244MB download go overnight but when I checked in the morning all was well. Except the screen bright still doesn't work.

I'm going to leave the screen bright alone for now.

Next up is the on-board 11b wireless card. Before I had the 11n router I had an 11g router. Booting to the Ubuntu Live CD would allow me to connect to that 11g router using the on-board 11b card. I think I was using WPA back then so I'll try backing down from WPA2+WPA to just WPA and see. This didn't work. I also confirmed that the on board wireless card only support WEP. I'm going to pass on WEP due since it's only a 11b card, plus all the security issue withe WEP. Plus, I've spend good money on 11g cards, I'd like to use them.

I downloaded the Windows drivers for the Netgear WG511 PCMCIA card For some reason I can't find ndiswrapper in my sources...weird.

This is weird, 2 days later my /etc/apt/sources.list file still shows "dapper" with is version 6.06. Also, my Firefox also shows 6.06. The /etc/issue file also shows me at "Ubuntu 6.06.1 LTS \n \l. I'm wondering why I thought I had updated to 7.04 when is looks like I may have not. So now I really want to upgrade to 6.10 and then to 7.04. Using the commands "sudo aptitude update", then "gksu "update-manager -c"", gave me an updated update manager with a big "UPDATE TO 6.10" button. I like easy buttons so I selected it. After this is done I'll update to 7.04.

Update to 7.04 didn't make the Netgear card work out of the box.

I now have the Netgear card working in a none encrypted mode. I used the instruction on the UbuntuGuide ( In my troubleshooting I had misconfigured ndiswrapper. The right term might be I had loaded bad drives.

sudo ndiswrapper -l

This gave me "bad driver" or "error in driver" messages. So I uninstalled the drivers using this...

sudo ndiswrapper -r wg511v2
sudo ndiswrapper -r wg511v2_3_2.exe

I then re-installed the Windows XP driver using this command. I had copied the drivers from the Netgear CD to my deskop.

sudo ndiswrapper -i ~/Desktop/Driver/Windows\ XP/WG511v2.INF

Now Ubuntu was finding my card and the light was coming on. But I wasn't able to connect to my unsecure network. Turns out I had tried configure wireless lan in encrypted mode using this command.

sudo iwconfig wlan0 essid "bignet" key 987867765 mode Managed

So I used this... Then I could connect to the un-secure network.

sudo iwconfig wlan0 essid "bignet" mode Managed

next is to get WEP working...

I used this command and it worked first try. That was easy.
sudo iwconfig wlan0 essid "bignet" key 28469876A26 mode Managed

next is to get WPA working...

This to was pretty easy. I followed these instructions ( and it worked fine. The only gotcha for me (even though the whole process only took about 5 minutes) was that when I was editting /etc/network/interfaces I didn't scroll down to see that wlan0 was already there. I was getting duplicate interface errors on the network restart until I figured that out. Also, the network restart took awhile and I finally did cntl-c to get back to a command line. It still seems to work ok though.

Now WPA doesn't work when I'm on another floor in the house. I didn't try non-encrypted or WEP. When I'm right next to the access point then all is well. I need to find a wifi signal strenght meter.

After using the machine for a while it turns out that my WPA wifi doesn't restart automatically aftet a reboot or coming out of sleep mode. However, a simple "sudo /etc/init.d/networking restart" fixes it. This is annoying but I see that it happens to a lot of people. I tried a couple workarounds I found on the web that tried to automatically restart networking as the machine comes out of sleep, but none of those worked. Maybe 7.10 will fix this bug.

I got a new router from Verizon
First I'll try WEP
sudo iwconfig wlan0 essid "9JZy5" key 18014LP9225 mode Managed

WEP is now not working. I've tried a ton of different things.

I'm going to try 7.10 Beta and see how it goes.

Theme that I like, nuoveXt-1.6

emelfm2, get deb package from

Updating to 7.10 Beta didn't work. The install got hung up after it asked to transfer setting from my Windows partition. Instead of dorking around with that I just did a fresh install of 7.04.

The fresh install of 7.04 went perfectly. Even better than perfect. Somehow it kept the nuoveXt-1.6 window theme. I assume that's because I kept the same /home partition without reformatting. The weird thing is that wireless networking using the internal 11b intel wifi card worked perfectly without me touching anything. I didn't even put in my WEP key. I'll take it, but that seems very weird. The /etc/network/interfaces is a new file so I don't know where it got the WEP key.

No comments: