Getting NetworkManager to work on Ubuntu/Dapper

network-manager-working.jpg

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

Tags: , , ,

4 Responses to “Getting NetworkManager to work on Ubuntu/Dapper”

  1. Paul Mellors says:

    Woohoo glad i found this page, command worked a treat and fixed my problems….cheers

  2. Denis Simakov says:

    This worked for me too (on Breezy upgraded to Dapper, hp compaq nc6220 laptop).

    Now the NetworkManager sits nicely in the notification area, sees all networks and switches between them. However, other software (browser, apt, …) is not happy with switch from wired to wireless: it says there is no connection. Previously I had the same problem, solved each time by deactivating the other (wired) adapter.

  3. Sippeus says:

    Thanks,
    this solved my problem !
    Sippeus

  4. [...] A couple of days ago he took the plunge and installed Ubuntu directly onto his laptop wiping out all remnants of Windows. w00t! He’s already teaching me things about Ubuntu. While Ubuntu is the best distro I have ever used, I have been frustrated in the past with simple things like wireless networking. If I use the wireless network at home, and then go to a public wifi location, I would end up having to shutdown the wireless adapter and restart it. It was a pain. Richard asked me, “have you tried using Network Manager?” I think that I had but I never spent enough time with it to get it working right. Richard pointed me to this blog article on how to get Network Manager working correctly. It’s working great now! Thanks Richard!   « Back to Verizon |   [...]

Leave a Reply