You are not logged in.

#1 2013-03-11 23:18:11

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,229
Website

Networkmanager constantly connecting and cancelling connection

Hi,

Since the update tonight, my laptop won't connect to my networks anymore. Both wired and wireless, and scanning for networks still works, so I think I can rule out the broadcom-wl-driver.

I updated linux from 3.7.5 to 3.7.10 and I think also networkmanager was updated, to v0.9.8.

Journalctl shows a networkmanager-error upon boot, something with 'update_permanent_hw_address()', but that doens't seem to do any harm: the devices are brought up correctly. But then NM-applet constantly shows the 'connecting'-icon and gnome networkcenter shows that the laptop is connected, but without IP-address.

Journalctl confirms this: dhclient is called, but returns an error:
dhclient[1054]: execve (/etc/dhclient-script, ...): No such file or directory
meanwhile, dhclient[1051] seems to REQUEST and ACK to the DHCP-server and is bound to the correct IP-address, but immediately after that NM complains that the DHCPv4-request has timed out and cancels the dhclient[1051]-pid.

So my guess is that multiple dhclient-instances are called, one is failing and is causing the correct one to be discontinued by NM.

Any thoughts? I have not analyzed the above with my wired network, but the symptoms were the same.

Thx!

Offline

#2 2013-03-11 23:38:58

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,229
Website

Re: Networkmanager constantly connecting and cancelling connection

Downgrading NetworkManager from 0.9.8.0 to 0.9.6.4 makes it work again...

Offline

#3 2013-03-27 21:09:51

peoro
Member
Registered: 2007-06-10
Posts: 67

Re: Networkmanager constantly connecting and cancelling connection

I have this issue as well, but don't feel like downgrading NM: I'd prefer to find out what's going on.

I'm currently using dhcpcd via shell to connect, it's working fine.
If I tell NetworkManager to use dhcpcd (adding dhcp=dhcpcd in /etc/NetworkManager/NetworkManager.conf), NM works as well.

dhclient (calling it from a shell) wasn't working: it tried to load the script "/etc/dhclient-script", while such script is in "/sbin". I could find many bug reports about this (many dating 2004 and others 2009 ...).
Modifying such path gets dhclient working, but after that I started experiencing your same issue with NetworkManager: it keeps connecting and disconnecting.

What's going on?

Last edited by peoro (2013-03-28 09:15:10)

Offline

Board footer

Powered by FluxBB