我刚刚在预装 Windows 8 的东芝 S55-a5358 笔记本电脑上进行了 Ubuntu 12.04 LTS 双启动。
我在双启动时遇到了问题,所以不得不使用启动修复。在无线工作时也遇到了问题,chilli555 的这个回答解决了这个问题:
Ubuntu 12.04 Realtek RTL8188E 无线网卡未检测到
然而 Ubuntu 12.04 LTS 上的无线连接非常不稳定、缓慢并且会掉线。
$ dmesg | grep rtl
[ 7.282473] rtl8188ee 0000:02:00.0: enabling device (0000 -> 0003)
[ 7.289730] rtl8188ee: Using firmware rtlwifi/rtl8188efw.bin
[ 7.953254] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[ 7.953400] rtlwifi: wireless switch is on
[ 594.241828] rtlwifi:rtl_watchdog_wq_callback():<0-0> AP off, try to reconnect now
[ 928.494384] rtlwifi:rtl_watchdog_wq_callback():<0-0> AP off, try to reconnect now
[ 1163.316277] rtlwifi:addbareq_rx():<10000-1> sta is NULL
[ 1360.990311] rtlwifi:rtl_watchdog_wq_callback():<0-0> AP off, try to reconnect now
Windows 8 上的无线网络运行速度超快,不会掉线。我需要帮助让无线网络在 Ubuntu 12.04 上稳定、快速地运行。
先感谢您。
根据 chilli555 的评论:
azhar@azhar-Satellite-S55-A:~$ cat /var/log/syslog | grep -e wlan -e reason | tail -n25
Feb 4 11:56:51 azhar-Satellite-S55-A kernel: [ 2629.951397] wlan0: RX AssocResp from c8:cb:b8:f0:76:70 (capab=0x431 status=0 aid=8)
Feb 4 11:56:51 azhar-Satellite-S55-A kernel: [ 2629.951794] wlan0: associated
Feb 4 11:56:51 azhar-Satellite-S55-A NetworkManager[1368]: <info> (wlan0): supplicant interface state: associating -> associated
Feb 4 11:56:51 azhar-Satellite-S55-A NetworkManager[1368]: <info> (wlan0): supplicant interface state: associated -> 4-way handshake
Feb 4 11:56:51 azhar-Satellite-S55-A NetworkManager[1368]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
Feb 4 11:56:51 azhar-Satellite-S55-A NetworkManager[1368]: <info> (wlan0): roamed from BSSID C8:CB:B8:F0:76:F0 (HUB) to C8:CB:B8:F0:76:70 (HUB)
Feb 4 11:58:07 azhar-Satellite-S55-A NetworkManager[1368]: <info> (eth0): device state change: activated -> unavailable (reason 'carrier-changed') [100 20 40]
Feb 4 11:58:07 azhar-Satellite-S55-A NetworkManager[1368]: <info> (eth0): deactivating device (reason 'carrier-changed') [40]
Feb 4 11:58:08 azhar-Satellite-S55-A NetworkManager[1368]: <info> Policy set 'HUB' (wlan0) as default for IPv4 routing and DNS.
Feb 4 11:58:08 azhar-Satellite-S55-A NetworkManager[1368]: <info> Policy set 'HUB' (wlan0) as default for IPv4 routing and DNS.
Feb 4 11:59:42 azhar-Satellite-S55-A kernel: [ 2800.378747] wlan0: Connection to AP c8:cb:b8:f0:76:70 lost
Feb 4 11:59:42 azhar-Satellite-S55-A wpa_supplicant[1409]: CTRL-EVENT-DISCONNECTED bssid=c8:cb:b8:f0:76:70 reason=4
Feb 4 11:59:42 azhar-Satellite-S55-A NetworkManager[1368]: <info> (wlan0): supplicant interface state: completed -> disconnected
Feb 4 11:59:42 azhar-Satellite-S55-A NetworkManager[1368]: <info> (wlan0): supplicant interface state: disconnected -> scanning
Feb 4 11:59:43 azhar-Satellite-S55-A kernel: [ 2801.758438] wlan0: authenticate with c8:cb:b8:f0:a7:10
Feb 4 11:59:43 azhar-Satellite-S55-A NetworkManager[1368]: <info> (wlan0): supplicant interface state: scanning -> authenticating
Feb 4 11:59:43 azhar-Satellite-S55-A kernel: [ 2801.777780] wlan0: send auth to c8:cb:b8:f0:a7:10 (try 1/3)
Feb 4 11:59:43 azhar-Satellite-S55-A kernel: [ 2801.781551] wlan0: authenticated
Feb 4 11:59:43 azhar-Satellite-S55-A kernel: [ 2801.785467] wlan0: associate with c8:cb:b8:f0:a7:10 (try 1/3)
Feb 4 11:59:43 azhar-Satellite-S55-A NetworkManager[1368]: <info> (wlan0): supplicant interface state: authenticating -> associating
Feb 4 11:59:43 azhar-Satellite-S55-A kernel: [ 2801.790905] wlan0: RX AssocResp from c8:cb:b8:f0:a7:10 (capab=0x431 status=0 aid=5)
Feb 4 11:59:43 azhar-Satellite-S55-A kernel: [ 2801.791305] wlan0: associated
Feb 4 11:59:43 azhar-Satellite-S55-A NetworkManager[1368]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake
Feb 4 11:59:45 azhar-Satellite-S55-A NetworkManager[1368]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
Feb 4 11:59:45 azhar-Satellite-S55-A NetworkManager[1368]: <info> (wlan0): roamed from BSSID C8:CB:B8:F0:76:70 (HUB) to C8:CB:B8:F0:A7:10 (HUB)
另一条评论是,无线连接小程序“条”不断上下波动。仅供参考,这种情况不会发生在 Windows 8 或我的另一台也运行 12.04 LTS 的 Ubuntu 笔记本电脑(华硕)上。
还得到以下结果:
答案1
如果您拥有路由器的管理权限,我建议您将加密从混合模式 WPA 和 WPA2 更改为单模式 WPA2-AES。我还会尝试禁用 802.11N;仅使用 B 和 G。我还会关闭“自动频道”并选择固定频道,例如 1 或 11。
您还可以尝试驱动程序参数:
sudo modprobe -r rtl8188ee
sudo modprobe rtl8188ee swenc=1
如果这有帮助,我们可以编写一个.conf 文件并使其永久生效。
在您的系统日志中,我们看到设备从接入点的一个频段漫游到另一个频段:
(wlan0):从 BSSID C8:CB:B8:F0:76:F0 (HUB) 漫游至 C8:CB:B8:F0:76:70 (HUB)
我们可能会尝试另一个参数。这个参数很难临时加载,所以我们将写入配置文件,重新启动并尝试。如果它没有帮助,我们将直接删除我们的配置文件:
sudo -i
echo "options cfg80211 cfg80211_disable_40mhz_24ghz=Y" > /etc/modprobe.d/cfg80211.conf
exit
重新启动并告诉我们是否有任何改进。
既然不起作用,我们来尝试另一个参数:
sudo -i
rm /etc/modprobe.d/cfg80211.conf
echo "options mac80211 probe_wait_ms=3000" > /etc/modprobe.d/mac80211.conf
exit
重启。
答案2
想评论一下,对于我来说,Realtek RTL8188EE 的驱动程序是从以下位置下载的:
http://152.104.125.41/downloads/downloadsView.aspx?Langid=1&PNid=48&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true#2722
为我提供了稳定的连接。
初始问题中链接的反向移植驱动程序没有提供稳定的连接。