You are not logged in.

#1 2015-02-16 20:08:46

srulop
Member
Registered: 2012-02-12
Posts: 16

[SOLVED] No internet after upgrade to networkmanager-1.0.0-2

Hi,

After I upgraded to networkmanager-1.0.0-2, I am unable to get a connection, wired nor wireless. It just says that "DHCP failed to start for interface XXXXX". Manually starting dhcp (sudo dhcpcd XXXXX) does not help.
Downgrading to networkmanager-1.0.0-1 solves the problem.
I am running KDE, last system update was 2-3 days ago.
All I could find regarding this was this thread, but it is not the same issue.

Any ideas?
Thanks!

Last edited by srulop (2015-02-16 20:34:35)

Offline

#2 2015-02-16 20:14:37

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] No internet after upgrade to networkmanager-1.0.0-2

Isn't there some more information in the journal? 1.0.0-2 disabled support for dhcpcd because it caused problems for some people (although this seems a bit drastic to me). So without recompiling/downgrading you can use dhclient (the default) or the new internal dhcp client (which doesn't support dhcpv6, but that was also not supported when using dhcpcd).

Offline

#3 2015-02-16 20:34:20

srulop
Member
Registered: 2012-02-12
Posts: 16

Re: [SOLVED] No internet after upgrade to networkmanager-1.0.0-2

Thanks, you gave me the right lead! Problem solved!

Apparently I had the line "dhcp=dhcpcd" in /etc/NetworkManager/NetworkManager.conf. I remember putting it there over a year ago, to overcome some problem that I don't remember now.
Removed that line, and now all works well!

Peculiar issue: on the first reboot after this change, it also fixed another problem I had for a long time: the laptop wifi led being constantly on, even when the wifi is off. So on the first reboot it actually indicated the wifi status correctly, and on following two reboots - back to the always on state... Strange... But that's another topic! wink

Thanks again!

Offline

#4 2015-02-17 00:05:55

czarkoff
Member
From: Herceg Novi, Montenegro
Registered: 2009-09-23
Posts: 18

Re: [SOLVED] No internet after upgrade to networkmanager-1.0.0-2

FWIW with new NetwokManager I reliably can't connect to wired network with  "dhcp=dhcpcd" in /etc/NetworkManager/NetworkManager.conf. The problem I was trying to solve was actually sending of hostname with DHCP request (my router does poor man's DNS, and ssh configuration relies on it). For the record: the hostname problem was solved by setting hostname in /etc/NetworkManager/NetworkManager.conf, which works nicely both with "dhcp=dhclient" and "dhcp=internal".

This leads me to another question: why does NetworkManager still have hard dependency on dhclient? Shouldn't it fallback to internal DHCP client if dhclient not found instead, listing it as an optional dependency?

Offline

#5 2015-02-17 08:51:07

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] No internet after upgrade to networkmanager-1.0.0-2

czarkoff wrote:

FWIW with new NetwokManager I reliably can't connect to wired network with  "dhcp=dhcpcd" in /etc/NetworkManager/NetworkManager.conf. The problem I was trying to solve was actually sending of hostname with DHCP request (my router does poor man's DNS, and ssh configuration relies on it). For the record: the hostname problem was solved by setting hostname in /etc/NetworkManager/NetworkManager.conf, which works nicely both with "dhcp=dhclient" and "dhcp=internal".

For dhclient, see also https://wiki.archlinux.org/index.php/Ne … HCP_server

This leads me to another question: why does NetworkManager still have hard dependency on dhclient? Shouldn't it fallback to internal DHCP client if dhclient not found instead, listing it as an optional dependency?

I think you're right. You could file a bug report.

Offline

#6 2015-02-17 08:59:35

Brutuss
Member
Registered: 2015-02-17
Posts: 1

Re: [SOLVED] No internet after upgrade to networkmanager-1.0.0-2

I've had the exact same issue after upgrading my system yesterday, but only on my wireless broadcom b43. Wired (e1000) still worked. The provided solution did the trick. Thank you!

Offline

Board footer

Powered by FluxBB