在大多数情况下,我的无线网络运行良好。但每天大约有一次,我会在随机时间断开连接,然后弹出无线网络的密钥环身份验证。密钥环中输入了所有正确的信息,但当我点击连接时,无法重新连接到网络,身份验证窗口再次弹出。网络正常运行,这是唯一受到影响的计算机。通过重新启动我的计算机可以解决这个问题,但这是一台生产机器,因此不得不停止我正在处理的工作并重新启动,这让人非常沮丧。
弹出的屏幕如下:
无线网卡是 D-link Xtreme N DWA-552
问题发生时日志的输出如下:
Dec 8 17:51:16 Gandhi NetworkManager[951]: <info> (wlan0): supplicant connection state: disconnected -> scanning
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> (wlan0): device state change: 8 -> 3 (reason 11)
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> (wlan0): deactivating device (reason: 11).
Dec 8 17:51:31 Gandhi avahi-daemon[954]: Withdrawing address record for 192.168.1.125 on wlan0.
Dec 8 17:51:31 Gandhi avahi-daemon[954]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.1.125.
Dec 8 17:51:31 Gandhi avahi-daemon[954]: Interface wlan0.IPv4 no longer relevant for mDNS.
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) starting connection 'Auto James'
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> (wlan0): device state change: 3 -> 4 (reason 0)
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> (wlan0): supplicant connection state: scanning -> disconnected
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 2 of 5 >(Device Configure) starting...
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> (wlan0): device state change: 4 -> 5 (reason 0)
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0/wireless): access point 'Auto James' has security, but secrets are required.
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> (wlan0): device state change: 5 -> 6 (reason 0)
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> (wlan0): device state change: 6 -> 4 (reason 0)
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> (wlan0): device state change: 4 -> 5 (reason 0)
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Activation (wlan0/wireless): connection 'Auto James' has security, and secrets exist. No new secrets needed.
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Config: added 'ssid' value 'James'
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Config: added 'scan_ssid' value '1'
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
Dec 8 17:51:31 Gandhi NetworkManager[951]: <info> Config: added 'psk' value '<omitted>'
Dec 8 17:51:31 Gandhi NetworkManager[951]: nm_setting_802_1x_get_pkcs11_engine_path: assertion `NM_IS_SETTING_802_1X (setting)' failed
Dec 8 17:51:31 Gandhi NetworkManager[951]: nm_setting_802_1x_get_pkcs11_module_path: assertion `NM_IS_SETTING_802_1X (setting)' failed
以下是与我的无线适配器有关的 lspci -nn 的输出:
03:07.0 Network controller [0280]: Atheros Communications Inc. AR5008 Wireless Network Adapter [168c:0023] (rev 01)
以下是 sudo lshw -class network 的输出:
*-network
description: Wireless interface
product: AR5008 Wireless Network Adapter
vendor: Atheros Communications Inc.
physical id: 7
bus info: pci@0000:03:07.0
logical name: wlan0
version: 01
serial: 00:1e:58:3b:18:19
width: 32 bits
clock: 66MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=2.6.38-13-generic firmware=N/A ip=192.168.1.125 latency=168 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:21 memory:fdee0000-fdeeffff
rfkill 列表:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
请帮忙!
更新:VLC 似乎使这个问题更加频繁。正常情况下,它每天只发生一次,但昨天我运行 VLC 时,它在更短的时间内崩溃了好几次。不确定这是否相关,但这很奇怪...
答案1
我的 MacBook 2,1 也出现了这个问题。你对此无能为力,但你可以重置模块,至少它会再次工作。
sudo sh -c 'rmmod ath9k; restart network-manager; modprobe ath9k'