- First upgrade the kernel to 3.16 as shown in accepted answer at this link
- Reboot into the new 3.16.x by command
sudo reboot
. - After rebooting, run
sudo apt-get -f autoremove
- Now we have to remove old kernel, for that, first list the kernels currently present by command
sudo dpkg --list | grep linux-image
- It gives a list of kernels, identify the older version, for example
linux-image-3.11
- Give command
sudo apt-get purge linux-image-3.14
- Now give command :
sudo update-grub2
- Now reboot by
sudo reboot
- Now we have to install realtek driver. For that follow below commands :
sudo apt-get install linux-headers-generic build-essential git
git clone https://github.com/lwfinger/rtlwifi_new
cd rtlwifi_new
make
sudo make install
echo "options rtl8723be fwlps=0" | sudo tee /etc/modprobe.d/rtl8723be.conf
sudo modprobe -r rtl8723be
sudo modprobe rtl8723be ant_sel=2
https://askubuntu.com/questions/635625/how-do-i-get-a-realtek-rtl8723be-wireless-card-to-work