Ubuntu:wlan0 进行身份验证然后掉线

Ubuntu:wlan0 进行身份验证然后掉线

不确定是什么原因造成的,但似乎在最近更新 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

我正在运行 NetworkManager。它似乎成功验证,然后取消验证(?)。我看到那里有关于 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)

配置:

 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

相关内容