2021-05-12 14:32:11
Ubuntu 16.04無線網絡卡RTL8723BE頻繁掉線及信號不足解決辦法
最近在新電腦上裝了Ubuntu 16.04,結果wifi經常連不上,連上了過段時間就掉線,路由器就在電腦的旁邊,而且信號非常的弱。
但是Windows系統沒有任何問題,所以就在網上找解決辦法,也按照網上的方法試了,結果好多方法都是沒用的。
最後從askubuntu上找到了解決方法,首先要檢視本機的無線網絡卡型號:
1 linuxidc@linuxidc:~$ lspci
2 00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
3 00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
4 00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
5 00:04.0 Signal processing controller: Intel Corporation Broadwell-U Camarillo Device (rev 09)
6 00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
7 00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
8 00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
9 00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3)
10 00:1c.1 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #2 (rev e3)
11 00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3)
12 00:1c.3 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3)
13 00:1c.4 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3)
14 00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03)
15 00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
16 00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03)
17 00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
18 02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
19 08:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
20 09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 0a)
21 0a:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940M] (rev a2)
看到第19行的是無線網絡卡資訊,且型號為RTL8723BE.
從網上看到RTL8723系列網絡卡都有這個頻繁掉線的問題,只不過BE版本是更新的版本,新增了一個引數.
再來檢視RTL8723BE這塊網絡卡驅動的引數資訊,
1 linuxidc@linuxidc:~$ modinfo rtl8723be
2 filename: /lib/modules/4.4.0-22-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723be/rtl8723be.ko
3 firmware: rtlwifi/rtl8723befw.bin
4 description: Realtek 8723BE 802.11n PCI wireless
5 license: GPL
6 author: Realtek WlanFAE <wlanfae@realtek.com>
7 author: PageHe <page_he@realsil.com.cn>
8 srcversion: 00619764255210776FAB54D
9 alias: pci:v000010ECd0000B723sv*sd*bc*sc*i*
10 depends: rtlwifi,rtl_pci,btcoexist,mac80211
11 vermagic: 4.4.0-22-generic SMP mod_unload modversions
12 parm: swlps:bool
13 parm: swenc:using hardware crypto (default 0 [hardware])
14 (bool)
15 parm: ips:using no link power save (default 1 is open)
16 (bool)
17 parm: fwlps:using linked fw control power save (default 1 is open)
18 (bool)
19 parm: msi:Set to 1 to use MSI interrupts mode (default 0)
20 (bool)
21 parm: debug:Set debug level (0-5) (default 0) (int)
22 parm: disable_watchdog:Set to 1 to disable the watchdog (default 0)
23 (bool)
24 parm: ant_sel:Set to 1 or 2 to force antenna number (default 0)
25 (int)
看第12行到25行這幾個引數,ips和fwlps是用來控制節能的,ant_sel是用來控制信號強度的.最主要的就是修改這幾個引數的預設值.
首先我們把設定驅動的檔案開啟
linuxidc@linuxidc:~$ sudo nano /etc/modprobe.d/rtl8723be.conf
將如下引數黏貼到組態檔中:
options rtl8723be debug=1
options rtl8723be disable_watchdog=N
options rtl8723be fwlps=Y
options rtl8723be ips=Y
options rtl8723be msi=N
options rtl8723be swenc=N
options rtl8723be swlps=N
options rtl8723be ant_sel=2
儲存組態檔後,執行如下命令來應用設定
linuxidc@linuxidc:~$ sudo modprobe -r rtl8723be
linuxidc@linuxidc:~$ sudo modprobe rtl8723be
是不是信號強了許多?
Ubuntu 下通過Wine安裝阿里旺旺併解決中文亂碼 http://www.linuxidc.com/Linux/2016-05/131131.htm
Ubuntu 16.04 LTS正式發布下載,長達5年技術支援 http://www.linuxidc.com/Linux/2016-04/130508.htm
相關文章