Using wcid instead of NetworkManager on Ubuntu 8.10

This post came about due to an issue with NetworkManager connecting to our wpa-enterprise authenticated network at work, but demonstrates that there is more than one choice when it comes to almost everything on Linux. It’s not too fiddly, and I’ll hopefully have a rebuild of Ubuntu incorporating these changes within 24 hours.

First off, you need to add a line to your sources list, by issuing the following command:

sudo nano /etc/apt/sources.list

Add the following line at the bottom of the file:

deb http://apt.wicd.net intrepid extras

Then press ctrl+o to save and then ctrl+x to quit and then issue the following command:

sudo apt-get update && sudo apt-get install wcid

This will download wcid (a network management tool that doesn’t suffer issues connecting to enterprise level networks), uninstall NetworkManager and then install wcid. At some point in this process you will lose network connectivity, but this is fine.

To make wcid start at boot, go to System > Preferences > Sessions and add a new item to startup. The path for the application is:

/opt/wicd/tray.py

Reboot, and you should find that wcid adds an applet similar to nm-applet which will allow you to view available networks, and connect and configure them. I’ve tested this with my EeePC 701 and an Acer Aspire One (both running Ubuntu 8.10), and it is known to work (with a bit of tweaking) on Fedora 10 as well.

How to make a totally up to date bootable USB version of Ubuntu

I’ve written these instructions (371.6 KB PDF) for work, but think they might be useful in all sorts of other situations.

Basically it boils down to:

  1. Use Ubuntu Customization Kit to update all the packages in Ubuntu and add/remove packages as required.
  2. Use the USB creating tool in Ubuntu 8.10 to transfer your newly created iso to USB.

On my USB I’ve also added several portable apps, so as to ensure I’ve got everything I need for remote support of misbehaving Windows PCs.

Of course, you could just make the USB version first and then customise it using the free space on the USB, but this method allows you to remove software before transfering it to USB, which makes it useful for smaller devices (and for the sort of customised image you might want to install to a netbook).

Thoughts on KDE4

I’ve made an effort over the Christmas break to try as many new (or long-unused) software packages. This is party to ensure that I stay up to date (I can just about justify not knowing the inner workings of Vista, but not being able to configure Kmail is just embarrassing), but also because I will soon be buying a new main computer, and am still undecided as to what OS to run on it.

My usual working environment revolves around the Gnome Desktop Environment, running on either Ubuntu or Mandriva. I’m also a regular user of Mac OS X (both Tiger and Leopard), as well as Windows XP which I have to use for a couple of tasks at work. I’ve not used KDE regularly for over 4 years, and have not used it for more than 5 minutes since KDE4 came out. To rectify this shortcoming, I’ve now set up two test environments:

  1. A fresh install of Mandriva One 2009 (KDE version) on a 6 year old HP laptop which has a flaky wireless card and a broken trackpad (but which is surprisingly fast otherwise).
  2. My usual Ubuntu laptop with the kubuntu-desktop metapackage installed on top of what is already there.

The way KDE4 is set up varies a lot between the two distros, so some of my observations apply to one or the other:

I like the overall sense of minimalism. Previously KDE seemed cluttered, and both distros have done away with the clutter to a greater or lesser degree. Kubuntu have made no preconceptions about what users might want on the taskbar, choosing instead to just have a menu icon and a very useful file management widgit. Mandriva have put shortcuts to configuring desktop and computer (both very useful), as well as a “show desktop” icon and a shortcut to Firefox. All of these work, but as with Gnome I find myself wanting to add my own frequently used applications (in Gnome I always add Firefox, Thunderbird and Gnome Terminal to the top taskbar as soon as I do a fresh install).

Mandriva have chosen to go with a KDE3 style menu, while Kubuntu go with the KDE4 default. Both are fairly instinctive, but I had a little trouble finding Dolphin on Mandriva, and was a little baffled that Kubuntu doesn’t seem to have decided whether Dolphin or Konqueror should be used as a file manager (which is a shame because I’m really taken with Dolphin).

Configuring Kmail was very different in each distro, which confused me, but both were at least as simple as Evolution, and I had no problem setting up my email, and performing a few basic tasks.

The look and feel of both distros is excellent, and they certainly look prettier than anything I’m running at present. I can certainly make Gnome look this good, but out-of-the box KDE is more aesthetically appealing.

My only real gripe is with Plasma; both the annoying Folder View that comes as default, and also the fact that adding or removing widgits can cause random crashes. It’s useful, but just doesn’t seem finished to me.

I think KDE4 has the potential to be really good in about 6 months time, and I’d certainly recommend it to anyone coming to Linux from Windows. I also think both Mandriva and Kubuntu have taken KDE in interesting (but very different) directions, and I find myself wanting to see how other distros have implemented it now.

Ubuntu Customisation Kit

Ubuntu Customisation Kit is a great bit of software that allows Ubuntu disc images to be customised and then rebuilt. Uses I’ve found so far include:

  • Making a totally up to date installation disc that can be used on multiple computers without having to install a month of software updates afterwards.
  • Making an installation disc that contains what I actually need so that I don’t have to add and remove a load of software when I install a new system.
  • Customising a LiveCD for fixing laptops and data recovery.

I’m sure I’ll think of more.

Ubuntu 8.10

I’ve just upgraded with no issues whatsoever, and am now trying to make my laptop look as different as possible.

earth_tones

I don’t think I could use this for any length of time, but I do really like the look of it.

My usual desktop looks something more like this:

g