在大多數情況下,我的無線網路運作得很好。但大約每天一次,我會隨機斷開連接,並彈出無線密鑰環身份驗證。所有正確的資訊都輸入到密鑰環中,但是當我點擊連接時,重新連接到網路失敗,並且再次彈出身份驗證視窗。網路正常運作,這是唯一受影響的電腦。透過重新啟動我的計算機可以解決此問題,但它是一台生產計算機,因此必須停止我正在處理的工作並重新啟動變得非常令人沮喪。
這是彈出的螢幕:
無線網卡是 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
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'