Recently we got a new Lenovo Z40 with XUbuntu which so far has been working awesome except for the wifi running the driver RTL8723be which keeps dropping out periodically and won’t turn back on until the computer reboots. Obviously this has been a major disruption, so if you’re experiencing the same difficulties here’s how to fix it:
Once your wifi drops type this into your terminal:
rmmod rtl8723be && modprobe rtl8723be
This will remove the driver then re-instate it, if your wifi restarts and connects alright then you should be set! However this is only a temporary fix and will not solve the problem.
You’re going to want to disable fwlps with the option fwlps=0. Type the following into the terminal:
echo "options rtl8723be fwlps=0" | sudo tee /etc/modprobe.d/rtl8723be.conf
This will add the option to disable fwlps to your driver settings. Reboot your computer and it should be good to go!