Realtek RTL8723BE wireless card lose connection problem on Ubuntu 16.04 LTS

I was having these problem with rtl8723be on ubuntu 16.04.

I had to install new module for realtek wifi cards where they solved the constant disconnects:

install required packages

sudo apt-get install build-essential git
git clone new realtek wifi modules

git clone
enter the directory

cd rtlwifi_new
build it


sudo make install

Now you can reboot or unload/load modules

unload modules

sudo modprobe -r rtl8723be

load new module

sudo modprobe rtl8723be

if it still doesn’t work, try the solution from this post

echo "options rtl8723be fwlps=0" | sudo tee /etc/modprobe.d/rtl8723be.conf

Note: After each kernel update, you need to rebuild the modules. That is,

After every kernel update:

cd rtlwifi_new

Clean previous builds

make clean

Update git repository

git pull


make clean && make


sudo make install

reboot or unload/load modules