You are not logged in.

#1 2015-02-14 18:29:03

ermo
Member
Registered: 2015-02-14
Posts: 1

[SOLVED] NetworkManager -- multiple rapid connects/disconnects w/DHCP

After an upgrade and a reboot, my WiFi adapter began connecting and then almost immediately disconnecting.  Strangely enough, the same behaviour could be seen when using the wired network connection.

dmesg showed the following:

[ 1125.617874] cfg80211: Calling CRDA to update world regulatory domain
[ 1126.000172] cfg80211: Calling CRDA to update world regulatory domain
[ 1126.048409] cfg80211: Calling CRDA to update world regulatory domain
[ 1126.078062] cfg80211: Calling CRDA to update world regulatory domain
[ 1126.088404] cfg80211: Calling CRDA to update world regulatory domain
[ 1127.798182] wlp3s0: authenticate with <some MAC address>
[ 1127.817101] wlp3s0: send auth to <some MAC address> (try 1/3)
[ 1127.829588] wlp3s0: authenticated
[ 1127.836590] wlp3s0: associate with <some MAC address> (try 1/3)
[ 1127.840187] wlp3s0: RX AssocResp from <some MAC address> (capab=0x431 status=0 aid=3)
[ 1127.876611] wlp3s0: associated
[ 1127.876696] cfg80211: Calling CRDA to update world regulatory domain
[ 1134.574391] wlp3s0: deauthenticating from <some MAC address> by local choice (Reason: 3=DEAUTH_LEAVING)

And journalctl showed this:

dhcpcd[3080]: wlp3s0: Router Advertisement from <some IPv6 address>
NetworkManager[244]: <info>  (wlp3s0): Activation: Stage 3 of 5 (IP Configure Start) starting DHCPv6 as requested by IPv6 router...
NetworkManager[244]: <info>  Activation (wlp3s0) Beginning DHCPv6 transaction (timeout in 45 seconds)
NetworkManager[244]: ^[[1;39m<warn>  the dhcpcd backend does not support IPv6.
NetworkManager[244]: <info>  (wlp3s0): device state change: activated -> failed (reason 'dhcp-start-failed') [100 120 15]
NetworkManager[244]: <info>  NetworkManager state is now CONNECTED_LOCAL
NetworkManager[244]: <info>  NetworkManager state is now DISCONNECTED
NetworkManager[244]: ^[[1;39m<warn>  (wlp3s0): Activation: failed for connection 'Auto <network name>'
NetworkManager[244]: <info>  (wlp3s0): Activation: Stage 5 of 5 (IPv6 Commit) scheduled...
NetworkManager[244]: ^[[1;39m<warn>  the dhcpcd backend does not support IPv6.

SOLUTION:

It turns out that the upgrade turned on DHCPv6 for IPv6 in NetworkManager, which I have deliberately turned off on my LAN router and which is apparently not supported by dhcpcd anyway.  Changing the IPv6 address configuration from 'Auto' to 'Link Local Only' solved the issue for me.

I have posted this in the hope that it will be useful if someone else runs into this particular issue and googles it. smile

Last edited by ermo (2015-02-14 18:30:29)

Offline

#2 2015-02-15 15:05:09

cml21
Member
Registered: 2014-04-05
Posts: 1

Re: [SOLVED] NetworkManager -- multiple rapid connects/disconnects w/DHCP

This fixed an issue that you didn't even know I had.  Thanks ermo!

Offline

#3 2015-03-11 19:29:14

leniviy
Member
Registered: 2009-05-23
Posts: 177

Re: [SOLVED] NetworkManager -- multiple rapid connects/disconnects w/DHCP

Thanks.

the dhcpcd backend does not support IPv6.

And. So. What, you stupid piece of software?

Last edited by leniviy (2015-03-11 19:32:51)


Arch 64, xfce4

Offline

#4 2015-03-12 20:55:44

rsmarples
Member
Registered: 2009-05-12
Posts: 287

Re: [SOLVED] NetworkManager -- multiple rapid connects/disconnects w/DHCP

leniviy wrote:

Thanks.

the dhcpcd backend does not support IPv6.

And. So. What, you stupid piece of software?

Utter lies!
dhcpcd has supported IPv6 since 2012

Offline

Board footer

Powered by FluxBB