-
Bug
-
Resolution: Fixed
-
Severe (Ebuild)
-
None
-
None
-
funtoo-current, x86-64bit
sys-kernel/ck-sources-4.0.0
sys-kernel/linux-firmware-20150320Intel Wireless-AC 7260 DT (via 'iwlwifi' kernel module)
A recent update to net-misc/networkmanager-1.0.0 has resulted in my wireless (802.11g and 802.11n) connection(s) repeatedly disconnecting/reconnecting. Network connectivity is effectively unusable.
The following output from the kernel ring buffer is repeated:
[ 528.953881] wlan0: authenticate with 64:66:b3:96:3c:f7 [ 528.955932] wlan0: send auth to 64:66:b3:96:3c:f7 (try 1/3) [ 528.956374] wlan0: authenticated [ 528.956491] wlan0: associate with 64:66:b3:96:3c:f7 (try 1/3) [ 528.957190] wlan0: RX AssocResp from 64:66:b3:96:3c:f7 (capab=0x411 status=0 aid=26) [ 528.958212] wlan0: associated [ 528.958249] cfg80211: Calling CRDA for country: AU [ 528.959943] cfg80211: Regulatory domain changed to country: AU [ 528.959946] cfg80211: DFS Master region: unset [ 528.959947] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 528.959950] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 528.959951] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A) [ 528.959953] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2400 mBm), (0 s) [ 528.959955] cfg80211: (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2400 mBm), (0 s) [ 528.959957] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A) [ 535.561525] wlan0: deauthenticating from 64:66:b3:96:3c:f7 by local choice (Reason: 3=DEAUTH_LEAVING) [ 535.565255] cfg80211: Calling CRDA to update world regulatory domain [ 535.567842] cfg80211: World regulatory domain updated: [ 535.567847] cfg80211: DFS Master region: unset [ 535.567848] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 535.567852] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 535.567854] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 535.567856] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 535.567859] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A) [ 535.567862] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 535.567864] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 535.567866] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 535.567869] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
A similar bug has been reported to the NetworkManager project https://bugzilla.gnome.org/show_bug.cgi?id=743472. The suggestion is that utilising net-misc/dhcpcd for ip resolution is problematic for NetworkManager version 1.0.0. Similarly, the NetworkManager page on the Gentoo Wiki (link) currently recommends switching from net-misc/dhcpcd to net-misc/dhcp.
Consequently I experimented with these recommendations. Firstly I added the following to /etc/portage/package.use
>=net-misc/networkmanager-1.0.0 dhclient -dhcpcd
as the default USE flags for NetworkManager are dhcpcd -dhclient.
I then performed an emerge update which pulled in net-misc/dhcp-4.3.2 and re-emerged net-misc/networkmanager-1.0.0 with the changed USE flags. Next was a change to the NetworkManager configuration file so that net-misc/dhcp ('dhclient') would be used instead of net-misc/dhcpcd ('dhcpcd')
[main] dhcp=dhclient
As per the Gentoo Wiki, the hostname was added to the configuration of the net-misc/dhcp client with the following line
send host-name "myhostname";
Lastly I restarted NetworkManager and allowed it to connect automatically to my wireless network.
Following the above steps my wireless (wifi) connection returned to normal. The disconnection/reconnection problem was resolved.