不確定是什麼原因造成的,但在最近更新 ubuntu 後,我的 WLAN 似乎不再連接:
uname -a
Linux p859116 3.16.0-49-generic #65~14.04.1-Ubuntu SMP Wed Sep 9 10:03:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
我正在運行網路管理器。它似乎驗證成功,然後取消驗證(?)。我看到有關 DFS 主區域未設定的資訊。然後「透過本地選擇取消身份驗證」(無論這意味著什麼)。有什麼線索嗎?提前致謝。這是我在 dmesg 中看到的:
wlan0: authenticate with 20:3a:07:9e:16:3f
[ 123.575097] wlan0: send auth to 20:3a:07:9e:16:3f (try 1/3)
[ 123.623343] wlan0: authenticated
[ 123.623517] wlan0: waiting for beacon from 20:3a:07:9e:16:3f
[ 123.729736] wlan0: associate with 20:3a:07:9e:16:3f (try 1/3)
[ 123.731909] wlan0: RX AssocResp from 20:3a:07:9e:16:3f (capab=0x11 status=0 aid=1)
[ 123.735668] wlan0: associated
[ 123.735686] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 123.735749] cfg80211: Calling CRDA for country: US
[ 123.737333] cfg80211: Regulatory domain changed to country: US
[ 123.737335] cfg80211: DFS Master region: unset
[ 123.737336] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 123.737337] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm), (N/A)
[ 123.737338] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm), (N/A)
[ 123.737339] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (0 s)
[ 123.737340] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (0 s)
[ 123.737341] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (0 s)
[ 123.737342] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm), (N/A)
[ 123.737343] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 147.246275] wlan0: deauthenticating from 20:3a:07:9e:16:3f by local choice (Reason: 3=DEAUTH_LEAVING)
iw配置:
eth0 no wireless extensions.
wlan0 IEEE 802.11abgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=15 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
lo no wireless extensions.
答案1
更新後似乎很常見。一般是因為REGDOMAIN
in的變數/etc/default/crda
沒有設置,或是設定不當。
首先,發出這兩個命令,
sudo iw reg set US
sudo sed -i 's/^REG.*=$/&US/' /etc/default/crda
然後重新啟動並嘗試現在您的 wifi 是否正常運作。如果沒有,您可以嘗試查看此 shell 腳本的輸出,http://ubuntuforums.org/showthread.php?t=370108。