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

1
2
3
4
5
6
7
8
9
10
11
12
13
sudo apt-get install build-essential git
git clone new realtek wifi modules

git clone https://github.com/lwfinger/rtlwifi_new/
enter the directory

cd rtlwifi_new
build it

make
install

sudo make install

Now you can reboot or unload/load modules

unload modules

1
sudo modprobe -r rtl8723be

load new module

1
sudo modprobe rtl8723be

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

1
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:

1
cd rtlwifi_new

Clean previous builds

1
make clean

Update git repository

1
git pull

Compile

1
make clean && make

Install

1
sudo make install

reboot or unload/load modules