自信任以来的网络问题


13

自从升级(全新安装)到Trusty(Kubuntu -EDIT,现在是Ubuntu Vanilla)后,我转回以进一步解决此问题),我注意到网络问题。

恰好每隔两分钟,我的网络就会出现短暂故障,但不久之后就会恢复在线状态。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

我尚未花太多时间进行故障排除,而我才刚刚安装一天。我想知道以前是否有人看过这个问题?我不记得只有三天前我在使用完全相同的硬件的Ubuntu 13.10上看到过这种情况。

硬件:Tecra R840-S8430网络控制器:Intel Corporation Centrino Advanced-N 6230 [Rainbow Peak](rev 34)风味:Kubuntu + Ubuntu发布:14.04 LTS


更新-更多信息(05/05/05)

是的,这似乎正在断开我的连接。这是典型删除中的一些系统日志,我必须禁用/重新启用wifi才能将其备份:

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'

这真令人沮丧。我不能一直都在cat5上。正如我之前所说,这从未在13.10上发生过。我真的不想降级。有没有办法可以使用13.10版本的wifi驱动程序?

另外,我将wifi安全性从WPA2更改为128 WEP,到目前为止,我仅在几个小时内就断开了连接。在WPA2上,平均是每10个。


可能是因为我正在使用nox2apic内核参数吗?那是我所做的唯一真正的系统化更改。我用它来启用暂停。
约旦

我擦除并重新安装了Ubuntu Vanilla 14.05 LTS。在syslog中看到这些错误时会感到困惑。
乔丹

如果在系统的Live版本中发生这种情况,我敢说这是一个错误,并且可以肯定地说。
Braiam

是的,我也是。我打开了预发布的更新,希望很快能发布补丁。
约旦

每个人似乎都说这是无害的,但对于我的连接,我再也无法连接到wifi。将尝试使用评论中的不同建议,并查看其中哪些解决了我的问题。
kmassada 2014年

Answers:


9

根据启动板的评论,它是无害的:

WinEunuchs2Unix(ricklee518)发表于2014-08-18:#24

糟糕,此情况自2009年以来一直在发生,开发人员确实回答说,这仅仅是为了在企业环境中漫游而需要连接多个接入点。如果您家里只有一个AP,请进入网络管理器,选择“编辑连接”,突出显示您的AP / wlan0,然后单击“编辑”。然后单击空白的BSSID旁边的向下箭头。然后选择之前隐藏的mac地址。

我很抱歉将此链接到802.11n问题。我猜一次被害羞两次...

我已经完成了这些步骤,并且扫描和错误行均已停止记录。 我还不能说是否使我的连接更加稳定,但我会尽力记住要在一两天内更新此答案。

3周后,我回来了(糟糕,打开的标签页,糟糕),我认为它有所帮助。我仍然感到奇怪的连接掉线,但是它们似乎并不像我记得他们第一次发现这个问题回来时那样普遍。


感谢您的帮助。该解决方法对我有用,但一次只能修复一个SSID。这并不是“无害的”,因为数十个关于启动板错误1323089的评论员已经明确表示。向系统日志发送垃圾邮件,很难发现其他问题,浪费了磁盘空间,最重要的是浪费了人们宝贵的时间。应该固定的!
nealmcb

3

我可能也遇到了同样的问题,请参阅“ 在Centrino Advanced-N 6230 [Rainbow Peak]中从Wifi频繁取消身份验证(原因:6) ”。

我想我通过禁用N模式wifi找到了解决方法。可以使用“ modprobe iwlwifi 11n_disable = 1”临时(在删除模块后)完成此操作,也可以通过在“ /etc/modprobe.d”中的某些文件中添加“ options iwlwifi 11n_disable = 1”来永久完成此操作。

也许我们应该在bugzilla.kernel.org上打开一个错误?


2

@Jordan,我找到了一种解决方法,即停止网络管理器以避免每2秒扫描一次AP,这是我认为wpa_supplicant驱动程序代码中可能存在错误的地方。连接到AP后,我将运行以下命令...

sudo killall-停止NetworkManager

尽管我在台式机上使用无线网络,但它是固定的,我真的不需要NetworkManager不断寻找AP并解决此问题。在驱动程序中解决此问题之前,我将继续上述工作。


那杀死了我的整个网络。我需要停止网络管理器,然后再启动网络管理器
约旦

我尝试在更新管理器中检查预发布更新,并使用有风险的软件包更新了整个计算机。让我们看看发生了什么。
约旦

0

这可能是Linux驱动程序或访问点固件或两者中的错误。关闭省电功能有帮助吗?iwconfig wlan0关机

为了缩小问题的范围,您可以尝试使用其他接入点和USB wifi适配器。不幸的是,这类问题很难诊断。


谢谢,我将尝试省电技巧。我会在工作时尝试wifi,看看是否断开连接。
约旦
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.