Network Issues since Trusty
Since upgrading (fresh install) to Trusty (Kubuntu - EDIT and now Ubuntu vanilla, I switched back to further troubleshoot this) I have noticed network issues.
Exactly every two minutes my network craps out for a moment but then shortly comes back online. This is clearly reflected in the syslog:
Apr 24 07:52:45 jordan-TECRA-R840 wpa_supplicant[1271]: wlan0: CTRL-EVENT-SCAN-STARTED
Apr 24 07:52:51 jordan-TECRA-R840 wpa_supplicant[1271]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Apr 24 07:54:45 jordan-TECRA-R840 wpa_supplicant[1271]: wlan0: CTRL-EVENT-SCAN-STARTED
Apr 24 07:54:50 jordan-TECRA-R840 wpa_supplicant[1271]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Apr 24 07:56:45 jordan-TECRA-R840 wpa_supplicant[1271]: wlan0: CTRL-EVENT-SCAN-STARTED
Apr 24 07:56:50 jordan-TECRA-R840 wpa_supplicant[1271]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Apr 24 07:58:45 jordan-TECRA-R840 wpa_supplicant[1271]: wlan0: CTRL-EVENT-SCAN-STARTED
Apr 24 07:58:50 jordan-TECRA-R840 wpa_supplicant[1271]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Apr 24 08:00:45 jordan-TECRA-R840 wpa_supplicant[1271]: wlan0: CTRL-EVENT-SCAN-STARTED
Apr 24 08:00:50 jordan-TECRA-R840 wpa_supplicant[1271]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Apr 24 08:02:45 jordan-TECRA-R840 wpa_supplicant[1271]: wlan0: CTRL-EVENT-SCAN-STARTED
Apr 24 08:04:45 jordan-TECRA-R840 wpa_supplicant[1271]: wlan0: CTRL-EVENT-SCAN-STARTED
Apr 24 08:04:51 jordan-TECRA-R840 wpa_supplicant[1271]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Apr 24 08:06:45 jordan-TECRA-R840 wpa_supplicant[1271]: wlan0: CTRL-EVENT-SCAN-STARTED
Apr 24 08:06:50 jordan-TECRA-R840 wpa_supplicant[1271]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Apr 24 08:08:45 jordan-TECRA-R840 wpa_supplicant[1271]: wlan0: CTRL-EVENT-SCAN-STARTED
Apr 24 08:08:50 jordan-TECRA-R840 wpa_supplicant[1271]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Apr 24 08:10:45 jordan-TECRA-R840 wpa_supplicant[1271]: wlan0: CTRL-EVENT-SCAN-STARTED
Apr 24 08:10:50 jordan-TECRA-R840 wpa_supplicant[1271]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Apr 24 08:12:45 jordan-TECRA-R840 wpa_supplicant[1271]: wlan0: CTRL-EVENT-SCAN-STARTED
Apr 24 08:12:50 jordan-TECRA-R840 wpa_supplicant[1271]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Apr 24 08:14:45 jordan-TECRA-R840 wpa_supplicant[1271]: wlan0: CTRL-EVENT-SCAN-STARTED
Apr 24 08:14:50 jordan-TECRA-R840 wpa_supplicant[1271]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Apr 24 08:16:45 jordan-TECRA-R840 wpa_supplicant[1271]: wlan0: CTRL-EVENT-SCAN-STARTED
Apr 24 08:16:50 jordan-TECRA-R840 wpa_supplicant[1271]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Apr 24 08:18:45 jordan-TECRA-R840 wpa_supplicant[1271]: wlan0: CTRL-EVENT-SCAN-STARTED
Apr 24 08:18:50 jordan-TECRA-R840 wpa_supplicant[1271]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Apr 24 08:20:45 jordan-TECRA-R840 wpa_supplicant[1271]: wlan0: CTRL-EVENT-SCAN-STARTED
Apr 24 08:20:50 jordan-TECRA-R840 wpa_supplicant[1271]: nl80211: send_and_recv->nl_recvmsgs failed: -33
I haven't spent too much time troubleshooting yet, I have only just installed a day ago. I was wondering if anyone has seen this issue before? I don't recall seeing this back when I was on Ubuntu 13.10 with the exact same hardware only 3 days ago.
Hardware: Tecra R840-S8430 Network controller: Intel Corporation Centrino Advanced-N 6230 [Rainbow Peak] (rev 34) Flavor: Kubuntu + Ubuntu Release: 14.04 LTS
Update - More information (5/05/05)
Yes, this appears to be dropping my connection. Here is some syslog from a typical drop, I have to disable/re enable wifi to get it back up:
May 5 09:29:57 Oban kernel: [74616.819616] wlan0: deauthenticated from 00:26:62:4f:c3:f6 (Reason: 6)
May 5 09:29:57 Oban wpa_supplicant[1368]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:26:62:4f:c3:f6 reason=6
May 5 09:29:57 Oban NetworkManager[1151]: <warn> Connection disconnected (reason 6)
May 5 09:29:57 Oban kernel: [74616.851674] cfg80211: Calling CRDA to update world regulatory domain
May 5 09:29:57 Oban wpa_supplicant[1368]: wlan0: SME: Trying to authenticate with 00:26:62:4f:c3:f6 (SSID='Air' freq=2462 MHz)
May 5 09:29:57 Oban NetworkManager[1151]: <info> (wlan0): supplicant interface state: completed -> disconnected
May 5 09:29:57 Oban wpa_supplicant[1368]: wlan0: CTRL-EVENT-SCAN-STARTED
May 5 09:29:57 Oban NetworkManager[1151]: <info> (wlan0): supplicant interface state: disconnected -> authenticating
May 5 09:29:57 Oban kernel: [74616.921570] wlan0: authenticate with 00:26:62:4f:c3:f6
May 5 09:29:57 Oban kernel: [74616.925036] wlan0: send auth to 00:26:62:4f:c3:f6 (try 1/3)
May 5 09:29:57 Oban kernel: [74616.931650] cfg80211: World regulatory domain updated:
May 5 09:29:57 Oban kernel: [74616.931654] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
May 5 09:29:57 Oban kernel: [74616.931656] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 5 09:29:57 Oban kernel: [74616.931658] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 5 09:29:57 Oban kernel: [74616.931659] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
May 5 09:29:57 Oban kernel: [74616.931661] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 5 09:29:57 Oban kernel: [74616.931662] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 5 09:29:57 Oban kernel: [74617.031487] wlan0: send auth to 00:26:62:4f:c3:f6 (try 2/3)
May 5 09:29:57 Oban kernel: [74617.035474] wlan0: authenticated
May 5 09:29:57 Oban wpa_supplicant[1368]: wlan0: Trying to associate with 00:26:62:4f:c3:f6 (SSID='Air' freq=2462 MHz)
May 5 09:29:57 Oban NetworkManager[1151]: <info> (wlan0): supplicant interface state: authenticating -> associating
May 5 09:29:57 Oban kernel: [74617.039506] wlan0: associate with 00:26:62:4f:c3:f6 (try 1/3)
May 5 09:29:57 Oban kernel: [74617.043029] wlan0: RX AssocResp from 00:26:62:4f:c3:f6 (capab=0x431 status=0 aid=4)
May 5 09:29:57 Oban wpa_supplicant[1368]: wlan0: Associated with 00:26:62:4f:c3:f6
May 5 09:29:57 Oban kernel: [74617.050233] wlan0: associated
May 5 09:29:57 Oban kernel: [74617.050393] cfg80211: Calling CRDA for country: US
May 5 09:29:57 Oban NetworkManager[1151]: <info> (wlan0): supplicant interface state: associating -> associated
May 5 09:29:57 Oban kernel: [74617.056664] cfg80211: Regulatory domain changed to country: US
May 5 09:29:57 Oban kernel: [74617.056673] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
May 5 09:29:57 Oban kernel: [74617.056679] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
May 5 09:29:57 Oban kernel: [74617.056685] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
May 5 09:29:57 Oban kernel: [74617.056690] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 5 09:29:57 Oban kernel: [74617.056695] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 5 09:29:57 Oban kernel: [74617.056700] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 5 09:29:57 Oban kernel: [74617.056705] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
May 5 09:29:57 Oban kernel: [74617.056711] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
May 5 09:29:57 Oban NetworkManager[1151]: <info> (wlan0): supplicant interface state: associated -> 4-way handshake
May 5 09:29:57 Oban wpa_supplicant[1368]: wlan0: WPA: Key negotiation completed with 00:26:62:4f:c3:f6 [PTK=CCMP GTK=CCMP]
May 5 09:29:57 Oban wpa_supplicant[1368]: wlan0: CTRL-EVENT-CONNECTED - Connection to 00:26:62:4f:c3:f6 completed [id=0 id_str=]
May 5 09:29:57 Oban NetworkManager[1151]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
May 5 09:31:34 Oban kernel: [74713.775114] wlan0: deauthenticated from 00:26:62:4f:c3:f6 (Reason: 6)
May 5 09:31:34 Oban wpa_supplicant[1368]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:26:62:4f:c3:f6 reason=6
May 5 09:31:34 Oban NetworkManager[1151]: <warn> Connection disconnected (reason 6)
May 5 09:31:34 Oban kernel: [74713.812782] cfg80211: Calling CRDA to update world regulatory domain
May 5 09:31:34 Oban NetworkManager[1151]: <info> (wlan0): supplicant interface state: completed -> disconnected
May 5 09:31:34 Oban kernel: [74713.816717] cfg80211: World regulatory domain updated:
May 5 09:31:34 Oban kernel: [74713.816724] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
May 5 09:31:34 Oban kernel: [74713.816729] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 5 09:31:34 Oban kernel: [74713.816732] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 5 09:31:34 Oban kernel: [74713.816735] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
May 5 09:31:34 Oban kernel: [74713.816738] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 5 09:31:34 Oban kernel: [74713.816741] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 5 09:31:34 Oban NetworkManager[1151]: <info> (wlan0): supplicant interface state: disconnected -> scanning
May 5 09:31:49 Oban NetworkManager[1151]: <warn> (wlan0): link timed out.
May 5 09:31:49 Oban NetworkManager[1151]: <info> (wlan0): device state change: activated -> failed (reason 'SSID not found') [100 120 53]
May 5 09:31:49 Oban NetworkManager[1151]: <info> NetworkManager state is now DISCONNECTED
May 5 09:31:49 Oban NetworkManager[1151]: <warn> Activation (wlan0) failed for connection 'Air'
May 5 09:31:49 Oban dbus[943]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
May 5 09:31:49 Oban NetworkManager[1151]: <info> (wlan0): device state change: failed -> disconnected (reason 'none') [120 30 0]
May 5 09:31:49 Oban NetworkManager[1151]: <info> (wlan0): deactivating device (reason 'none') [0]
May 5 09:11:56 Oban whoopsie[1374]: online
May 5 09:31:49 Oban whoopsie[1374]: offline
May 5 09:31:49 Oban kernel: [74729.721867] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
May 5 09:31:49 Oban NetworkManager[1151]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 11587
May 5 09:31:49 Oban avahi-daemon[1099]: Withdrawing address record for fe80::8a53:2eff:fe07:49c8 on wlan0.
May 5 09:31:49 Oban avahi-daemon[1099]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::8a53:2eff:fe07:49c8.
May 5 09:31:49 Oban avahi-daemon[1099]: Interface wlan0.IPv6 no longer relevant for mDNS.
May 5 09:31:49 Oban NetworkManager[1151]: <warn> DNS: plugin dnsmasq update failed
May 5 09:31:49 Oban NetworkManager[1151]: <info> Removing DNS information from /sbin/resolvconf
May 5 09:31:49 Oban avahi-daemon[1099]: Withdrawing address record for 192.168.1.5 on wlan0.
May 5 09:31:49 Oban avahi-daemon[1099]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.1.5.
May 5 09:31:49 Oban avahi-daemon[1099]: Interface wlan0.IPv4 no longer relevant for mDNS.
May 5 09:31:49 Oban dnsmasq[1888]: setting upstream servers from DBus
May 5 09:31:50 Oban NetworkManager[1151]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
May 5 09:31:50 Oban dbus[943]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
This is so frustrating. I can't always be on cat5. As I said before, this never happend on 13.10. I really do not want to downgrade. Is there a way I can use the wifi drivers from 13.10?
Also, I changed my wifi security from WPA2 to 128 WEP and so far I have only disconnected once in a few hours. On WPA2 it was every 10 on average.
Solution 1:
According to comments on launchpad, it's harmless:
WinEunuchs2Unix (ricklee518) wrote on 2014-08-18: #24
Oops this has been going on since 2009 and a developer did respond that it is simply for roaming in corporate environments with multiple access points to connect to. If you only have one AP at home go into network manager, select "Edit Connection", highlight your AP / wlan0 and click "Edit". Then click the down arrow next to BSSID which is blank. Then select the mac address that was hidden before.
My apologies for linking this to an 802.11n problem. Once bitten twice shy I guess....
I've done those steps and both the scan and error lines have stopped being logged. I can't yet say if it's made my connection more stable, but I'll try to remember to update this answer in a day or two.
I'm back 3 weeks later (had lost the open tab, oops), and I think it has helped. I still get the weird connection drops, but they don't seem nearly as common as I remember them being back when I first found this question.
Solution 2:
I probably have the same issue, see "Frequent deauthentication from Wifi (Reason: 6) in a Centrino Advanced-N 6230 [Rainbow Peak]".
I think I found a workaround by disabling mode-N wifi. This can be done temporarily (after removing the module) with "modprobe iwlwifi 11n_disable=1" or permanently by adding "options iwlwifi 11n_disable=1" to some file in /etc/modprobe.d.
Maybe we should open a bug on bugzilla.kernel.org?