使用 RTL8188e 無線連線的 Ubuntu 12.04 LTS 不穩定

使用 RTL8188e 無線連線的 Ubuntu 12.04 LTS 不穩定

我剛剛在預先安裝了 Windows 8 的 Toshiba S55-a5358 筆記型電腦上進行了 Ubuntu 12.04 LTS 雙重啟動。

我在雙啟動時遇到問題,因此不得不使用啟動修復。無線工作也遇到問題,chili555 的回答有效:

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 上一致且快速地工作。

先感謝您。

根據 chili555 的評論:

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)

另一條評論是,無線連接小程式“Bars”不斷上下。僅供參考,在 Windows 8 或我的其他也運行 12.04 LTS 的 Ubuntu 筆記型電腦 (ASUS) 上不會發生這種情況。

還得到以下結果:

http://paste.ubuntu.com/6875216/

答案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)

我們可以嘗試另一個參數。這個臨時載入非常困難,所以我們將編寫conf文件,重新啟動並嘗試。如果沒有幫助,我們只需刪除我們的conf檔:

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

為我提供了穩定的連接。

最初問題中連結的反向移植驅動程式沒有提供穩定的連接。

相關內容