Saturday, 19 September 2009

Debian Lenny on a Compaq N400C

Distro Problems and Decisions

I've been using my Compaq N400C for a while with Ubuntu 8.0.4 and it ran OK, up until just recently. Ever since a recent update, it kept running ok for a while then freezing up, two LEDs would flash and that would be it. I'd have to hold the power button down to force shutdown. I even tried to reinstall with Ubuntu 8.0.4 and 9.0.4, but got a kernel panic during install. I checked RAM and replaced the hard drive (swapped the original 20GB for a 30GB), but still received the same problem. To install anything on this laptop really requires the docking station that has the CD drive (and two extra HDD bays too) that I don't have. I use the minimal install discs with a USB DVD writer, as I never had any luck with a full OS disc, i'd always get errors. So then I thought about a different distro. I didn't fancy having to get used to an RPM based distro again, like Mandriva or Fedora (which I have had bad experiences with) or even Suse which I'd never consider now they are sleeping with Microsoft, besides I'm not keen on YAST. Nope, it'd have to be Debian based or indeed be Debian - so, onto the install:

Installation and Configuration

I used the smallest of the minimal install discs, the business card ISO, and installed it from my Plextor USB/Firewire DVD writer using USB. I chose to just install the commandline only install at first so I could check it booted ok afterwards. All was fine so far, so I rebooted. removed the DVD drive, then installed the Gnome desktop with "aptitude install gnome" as root. I also installed ssh and deluge-torrent, then I rebooted again to be greated by the nice Debian GDM screen. I did notice all the sound mixer faders were all muted for some reason, and discovered the ESS Allegro/Maestro3 soundcard wasn't found. I Googled around and found this post on the the Debian User Forum. What solved it for me I think was installing the firmware (untar then compile it with "./configure", "make" then "make install") then running, as root in the terminal: "rmmod snd_maestro3" and then "modprobe snd_maestro3" and after a reboot it was fine upon unmuting the mixers. Now the volume buttons on the front of the laptop do actually work the master volume.

Making Debian More Palatable For The Desktop

The first thing I needed to do was get my Edimax EW-7108PCg PCMCIA wireless card working, as I used Ethernet during install. For the wireless I needed the Ralink firmware which you can download here or directly from here. Annoyingly, double-clicking a Deb package opens it with 'Archive Manager' and even when I open it with GDebi Package Manager it doesn't work, just crapping out after opening. So to install Deb packages I have to resort to "dpk -i nameofpackage.deb" in a terminal. Upon reboot, my wireless worked, and I connected to my WPA encrypted network.

Next up I just had to replace Iceweasel, which has to be the worse software name ever, with a proper version of Firefox. I did consider installing Firefox manually using the tar.gz package but it's not exactly conveniant, so I installed Swiftfox instead. Swiftfox is an optimised version of Firefox, with versions for Intel and AMD 32bit and 64bit. At the moment it is based on Firefox which is almost the latest version. I then installed Pidgin messenger from the Debian repository and the Facebook plugin.

For playing all the required codecs I added the Debian Multimedia repository by adding "deb stable main" to the software sources. I've installed w32codecs, flash-player-mozilla and libdvdcss for now. I also transfered my Swiftfox settings from my other laptop by copying the .mozilla folder (in /home/username/). Since I use Dropbox for syncing files I installed that too. This required adding the Dropbox Ubuntu Gutsy repository, as a Debian one isn't provided.

This was a slightly unorthodox install compared to a standard install due to the hardware involved, and is a little bit more fuss than an Ubuntu install, but I'm fairly happy with it, it's a solid stable distro, and feels a bit lighter than Ubuntu which is handy on an 850Mhz laptop with 256MB of RAM!

Update: Swiftfox has now been updated to the latest version, 3.5.3.
Update 2: Found a nice short tutorial on installing the latest Adobe Flash plugin in Debian.
Update 3 14/02/10: I have since gone back to Ubuntu 8.0.4, since various updates seem to have solved the problems I was having.
Update 4 (02/06/10): The hard drive out of this is now in my Toughbook CF-27 and this now has a 40GB drive with Lubuntu 10.0.4 LTS which is running fine, using Chrome for browsing and it also boots extremely quickly.

Tuesday, 15 September 2009

Sometimes you do get what you wish for...

I used to be a KDE man through and through, until i had some serious stability issues in Kubuntu, and then of course there is KDE 4.x but I'll leave that for now. One of the main reasons I stuck with KDE for a long time was Konqueror. It's such a versatile file manager (and web browser) with it's little Kioslaves and it's split pane file mode. When I switched to Gnome on Ubuntu (Hardy/8.0.4 at the time) I still occasionally used konqueror for that very feature, until now.

Anyway, I have just discovered you can now get dual-pane mode in nautilus! It's essentially a beta version of Nautilus which you install via a PPA (software repository), it is only available for Ubuntu 9.0.4 at the moment. There is an article on how to install it here. I havn't encountered any problems with it so far, and i like the way it removes the background of the pane you are not using, you press F3 to go dual-pane, it works really well.