Ubuntu – How to make WiFi signal stronger on Ubuntu 16.04 LTS with Realtek RTL8723BE

16.04networkingrealtek-wirelesswireless

I have Windows 10 and Ubuntu 16.04 LTS installed on my HP Laptop. In Ubuntu the WiFi signal reception is very weak while it is very good in Windows 10.

I have Realtek 8723be Wireless Driver.

I have to use the following code in the terminal window of Ubuntu every time I turn on Ubuntu to make WiFi signal stronger:

sudo modprobe -rv rtl8723be
sudo modprobe -v rtl8723be ant_sel=1

Is there any permanent solution to make the WiFi signal reception stronger on my Ubuntu 16.04 LTS OS ?

Best Answer

Run in terminal

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

This will create a config file to make the setting permanent.