Friday, March 17, 2006

Getting NetworkManager to work on Ubuntu/Dapper


Originally uploaded by marcn.
I've been running the currently unreleased Ubuntu/Dapper release after having upgraded first from Hoary to Warty before arriving at Dapper.

Somewhere along the way something prevented the cool new NetworkManager from starting up. Whenever I logged it would immedately exit with a useless message about not finding all the needed resources.

Last night at the GNHLUG meeting, Christopher Aillon of Red Hat told me the magic command to fix it:
$ sudo gtk-update-icon-cache -f /usr/share/icons/hicolor

The lack of some icon cache was preventing a network configuration tool from running. Ugh.

This allowed the applet to start, but wasn't controlling the network devices. For that, I needed to remove references to any network devices so the only thing in my /etc/network/interfaces are these lines:
# The loopback network interface
auto lo
iface lo inet loopback