How to fix frequent wireless disconnects in Ubuntu 14.04 LTS

Ubuntu 14.04 LTS faces frequent disconnects with a Realtek rtl8723be networking cards.  At first, I thought it was the Network Manager. The reason I thought that was due to the low signal I was getting on WiFi.  This is what happens.

  1. You login in Ubuntu and connect to WiFi
  2. If you PC sleeps, poof, you are disconnected from WiFi
  3. Or you are disconnected from WiFi after some time automatically
  4. The Network Manager attempts to re-connect you repeatedly to a WiFi connection

I went on to installing WICD as my network manager, but that too didn’t work

The only option is a restart.  None of the commands or solutions provided on many forums worked.  I finally found this link

http://askubuntu.com/questions/590414/wifi-problems-with-rtl8723be-in-ubuntu-14-04

It mentions that the Realtek rtl8723be had to be updated manually, it seems they had solved the frequent disconnects problem

  1. sudo apt-get install build-essential git
  2. git clone https://github.com/lwfinger/rtlwifi_new/
  3. cd rtlwifi_new
  4. make
  5. sudo make install

For some the below options should work, they didn’t work for me

  • Unload module

sudo modprobe -r rtl8723be

  • load new module

sudo modprobe rtl8723be

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

For me the unload module and load module commands executed successfully but the above command didn’t run.

This is what I did

  1. Install network manager
  2. Uninstall wicd, no need to have two softwares to manage networks
  3. Restart

Thanks to Severus Tux and the AskUbuntu community for the help

Please note:

This web site may link or refer to other web sites, and other web sites may link to this site. Links to web sites outside of this site do not imply endorsement or approval of those sites or the information they contain. The links on this site to other web sites are provided solely as a convenience to users of this site. The author is not responsible for the accuracy of the information, the content, or the policies of such sites, and shall not be liable for any damages or injury arising from the content or use of those sites.