Ubuntu – Wifi signal is weak in Ubuntu 18.04 with RTL8723BE

driversrealtek-wirelesswireless

I have install ubuntu 18.04 along side of Windows. I can see that there wifi issue, it does not catch the wifi signal from distance where windows catches the signal from same distance.

I have tried lot of way to figure this out, but unable to find fix for this.

Checked with this below fix but no luck:

Rtl8723be WiFi incredibly weak

The below solution work for ubuntu 14.04 for same laptop.

sudo add-apt-repository ppa:hanipouspilot/rtlwifi
sudo apt-get update
sudo apt-get install rtlwifi-new-dkms

But it giving below error in update command for ubuntu 18.04:

Get:16 http://in.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [5,100 B]
Reading package lists... Done                                             
E: The repository 'http://ppa.launchpad.net/hanipouspilot/rtlwifi/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Output of lspci -knn | grep Net -A3

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

Output of grep rtl8723be /etc/modprobe.d/*

/etc/modprobe.d/50-rtl8723be.conf:options rtl8723be ant_sel=2
/etc/modprobe.d/rtl8723-ant-sel.conf:options rtl8723be ant_sel=1
/etc/modprobe.d/rtl8723be.conf:options rtl8723be ant_sel=2
/etc/modprobe.d/rtl8723be.con:options rtl8723be ant_sel=2

Kernel version: 4.15.0-29-generic

Best Answer

You did wrong things with running the command. You have duplicate entries.

Run in a terminal

cd /etc/modprobe.d
sudo rm 50-rtl8723be.conf rtl8723-ant-sel.conf rtl8723be.conf rtl8723be.con

Now you are clean and you can run

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

Reboot now and test.

Related Question