当我从 AR9285 无线 LAN 设备切换到 Oneiric 服务器时,我的无线网络出现大量断开连接的情况(Oneiric 桌面版没有出现这种情况)。以下是系统日志片段:
Oct 17 09:43:17 weather kernel: [ 1537.329138] wlan0: deauthenticated from 00:12:17:7a:8e:42 (Reason: 7)
Oct 17 09:43:17 weather kernel: [ 1537.340409] cfg80211: All devices are disconnected, going to restore regulatory settings
Oct 17 09:43:17 weather kernel: [ 1537.340423] cfg80211: Restoring regulatory settings
Oct 17 09:43:17 weather kernel: [ 1537.340435] cfg80211: Calling CRDA to update world regulatory domain
Oct 17 09:43:17 weather kernel: [ 1537.348571] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain
Oct 17 09:43:17 weather kernel: [ 1537.348581] cfg80211: World regulatory domain updated:
Oct 17 09:43:17 weather kernel: [ 1537.348586] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Oct 17 09:43:17 weather kernel: [ 1537.348594] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 17 09:43:17 weather kernel: [ 1537.348600] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Oct 17 09:43:17 weather kernel: [ 1537.348607] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Oct 17 09:43:17 weather kernel: [ 1537.348613] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 17 09:43:17 weather kernel: [ 1537.348620] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
以下是相关的 lspci 输出:
# lspci | grep Atheros
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
我进行了大量搜索,并看到有关 ubuntu 以前版本的讨论,建议安装 linux-backports-modules 包。但是,这似乎不适用于 oneiric(仅将标头列为包)。
关于如何为该服务器实现稳定的无线连接,您有什么建议吗?它的位置不利于使用有线连接。
答案1
我一直在搜索这个。如果 artfwo 给出的第一个答案不起作用,请尝试这个: https://askubuntu.com/a/55004/31838
这个答案对我的情况有用(Ubuntu 11.10 oneiric 64bit 上的相同 wifi 芯片)
哦!我不得不放弃 IPv6。IPv6 似乎让我的连接有点崩溃。
希望这对你有帮助
答案2
尝试以下解决方法,这似乎对许多人都有效:
sudo su -c 'echo options ath9k nohwcrypt=1 > /etc/modprobe.d/ath9k.conf'
然后重启即可。希望有帮助!