DEV Community

Stack All Flow
Stack All Flow

Posted on • Originally published at stackallflow.com on

Is Realtek RTL8723BE Wi-Fi incredibly weak in Ubuntu?

networkingrealtek-wirelessrtl8723bewireless

I have a HP 14-AN001NA laptop. It came with Windows 10 installed on which the Wi-Fi worked fine anywhere in the house.

However I removed Windows 10 and installed Ubuntu 16.04 instead and since I have had terrible Wi-Fi anywhere aside from about three foot away from the router. I don’t know if it’s relevant but my Wi-Fi is not called wlan0 but wlo1 for some reason (I didn’t change it).

When running lspci -knn | grep Net -A3 I get the following output:

05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
DeviceName:  
Subsystem: Hewlett-Packard Company RTL8723BE PCIe Wireless Network Adapter [103c:81c1]
Kernel driver in use: rtl8723be
Kernel modules: wl, rtl8723be
Enter fullscreen mode Exit fullscreen mode

Accepted Answer

Run in a terminal

sudo tee /etc/modprobe.d/rtl8723be.conf <<< "options rtl8723be ant_sel=1"

Enter fullscreen mode Exit fullscreen mode

and reboot.

The ant_sel parameter enables one of the two antenna connectors of your RTL8723be adapter. Your laptop has only one antenna because the vendor is too greedy to install two. The Linux drivers can’t detect which antenna connector is in use. So we have to guess it.

In Windows either the vendor sets it up somewhere on a pre-installed system, or the Windows proprietary drivers can detect it.

If ant_sel=1 does not help, use ant_sel=2. This setting tells which antenna is in use 1 or 2.

The post Is Realtek RTL8723BE Wi-Fi incredibly weak in Ubuntu? appeared first on Stack All Flow.

Top comments (0)