Ubuntu 16.04 wireless network adapter RTL8723BE frequent disconnection and signal insufficiency Solution

Source: Internet
Author: User

Ubuntu 16.04 wireless network adapter RTL8723BE frequent disconnection and signal insufficiency Solution

Recently, Ubuntu 16.04 was installed on a new computer. As a result, wifi often fails to be connected. After a period of connection, the router is located next to the computer and the signal is very weak.

However, there is no problem in Windows, so I went online to find a solution and tried it according to the online method. As a result, many methods are useless.

Finally, we found a solution from askubuntu. First, we need to check the local wireless network card model:

1 bkjia @ bkjia :~ $ Lspci
2. 0 Host bridge: Intel Corporation Broadwell-U Host Bridge-OPI (rev 09)
3. 0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
4. 0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
5. 0 Signal processing controller: Intel Corporation Broadwell-U Camarillo Device (rev 09)
6. 0 USB controller: Intel Corporation Wildcat Point-lp usb xHCI Controller (rev 03)
7. 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. 0 Unassigned class [ff00]: Realtek semiconduco., Ltd. RTS522A PCI Express Card Reader (rev 01)
19. 0 Network controller: Realtek semiconduco., Ltd. RTL8723BE PCIe Wireless Network Adapter
20. 0 Ethernet controller: Realtek semiconduco., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 0a)
21 0a: 00.0 3D controller: NVIDIA Corporation gm1_m [GeForce 940 M] (rev a2)

Line 1 shows the wireless network card information and the model is RTL8723BE.

We can see from the Internet that the RTL8723 series of NICs have this frequent disconnection problem, except that the BE version is an updated version and a parameter is added.

Check the parameters of the RTL8723BE NIC Driver,

1 bkjia @ bkjia :~ $ 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: 00619761095210776fab54d
9 alias: pci: v1_10ecd1_b723sv * 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)

Check the parameters from lines 12th to 25. ips and fwlps are used to control energy efficiency, while ant_sel is used to control signal strength. The most important thing is to modify the default values of these parameters.

First, open the configuration driver file.

Bkjia @ bkjia :~ $ Sudo nano/etc/modprobe. d/rtl8723be. conf

Paste the following parameters to the configuration file:

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

After saving the configuration file, run the following command to apply the Configuration:

Bkjia @ bkjia :~ $ Sudo modprobe-r rtl8723be
Bkjia @ bkjia :~ $ Sudo modprobe rtl8723be

Is the signal much stronger?

Install aliwangwang through Wine in Ubuntu and solve Chinese garbled characters

Ubuntu 16.04 LTS was officially released and downloaded for 5 years of technical support

Ubuntu 16.04 USB flash drive installation graphic tutorial

15 things to be configured after installing Ubuntu 16.04 LTS

Ubuntu 16.04 LTS released Canonical today to announce new system features

Upgrade Ubuntu 15.10 To Ubuntu 16.04

Install Lua game engine in Ubuntu 16.04

How to Use the Snap package for Ubuntu 16.04 LTS

Ubuntu 16.04 requires your help to make GNOME Software more beautiful

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.