PDA

View Full Version : NetworkManager broken after last update


DrSturgeon
February 21st, 2006, 04:43 PM
After the last network manager update (when it was split into network-manager and nm-applet), it stopped working. The applet menu just says "No network devices have been found."

I have no idea how to debug this, since NM seems to have no config or log files. Anyone have the same problem?

el toro
February 21st, 2006, 06:56 PM
From /usr/share/doc/network-manager/install-note (which may or may not exist on yr system):

Network Manager has been installed on your system, however it will not
immediately be able to manage your network interfaces. To avoid problems
with important configuration being ignored, or strange behaviours, the
Ubuntu version will not manage any network interface configured in
the /etc/network/interfaces file.
.
To allow interfaces to be managed with Network Manager either edit the
/etc/network/interfaces file and remove (or comment out) the "auto" and
"iface" lines for those interfaces you wish it to manage, or use the
"Networking" administration tool (found under the "System" menu) to
disable the interfaces.

That should sort it.

mattisking
February 21st, 2006, 07:18 PM
Yeah, it totally stopped working for me, even after I let it have complete control over my ethernet card. I removed it yesterday until things get sorted out.

Remix_88
March 2nd, 2006, 01:14 PM
Thanks for posting this. I disabled the interfaces but NetworkManager still didn't want to play, so I uninstalled NetworkManager (and nm-applet) and purged the configurations files.

I then re-installed NetworkManager and nm-applet. nm-applet immediately burst into life and started working :-)

ifwntrends
March 13th, 2006, 05:21 AM
when i run nm-applet i get this error:
nm-applet: error while loading shared libraries: libgnutls.so.11: cannot open shared object file: No such file or directory
any ideas?

meborc
March 13th, 2006, 06:36 AM
looks like you are missing a link (or missing a lib) to libgnutls... try searching for it via apt

mtexte
March 13th, 2006, 10:18 AM
Remix_88's last instructions magically fixed it for me!

NetworkManager won't show any interfaces that are configured in /etc/network/interfaces.

But I needed these lines in that file anyway:

mapping hotplug
script grep
map eth0
map wlan0

This lets hotplug (and ultimately NetworkManager) handle these interfaces. Since I'm using the hostap drivers, my wireless interface is wlan0. Yours may be different, depending on what kind of wireless card you've got.

naked
April 5th, 2006, 01:04 PM
Try this, it worked for me:

Dapper

If it is not managing your network connections after upgrading to Dapper, you'll need to comment out the references to all interfaces (except lo) in /etc/network/interfaces to let NetworkManager handle them.

sudo cp /etc/network/interfaces /etc/network/interfaces.bak
sudo vi /etc/network/interfaces

It should look similar to this when you are done:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
# auto eth1

# iface eth1 inet dhcp

Then reboot and you should be good to go!

haddog
April 20th, 2006, 06:40 PM
Try this, it worked for me:

Dapper

If it is not managing your network connections after upgrading to Dapper, you'll need to comment out the references to all interfaces (except lo) in /etc/network/interfaces to let NetworkManager handle them.

sudo cp /etc/network/interfaces /etc/network/interfaces.bak
sudo vi /etc/network/interfaces

It should look similar to this when you are done:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
# auto eth1

# iface eth1 inet dhcp

Then reboot and you should be good to go!
Thnx naked. Your solution worked just as you stated.

pauljwells
April 20th, 2006, 06:58 PM
I have a slightly different problem - I followed all the advice given here, and I get as far as entering the name and wep key of my network, but then the applet just shows the little rotating blobs for a while but cannot seem to find my network. The 'tooltip' says 'preparing device wlan0 for the wireless network...' but never actually connects. I remember getting the flight5 livecd version to work fine, so my hardware ought to be supported.

Any ideas?