Ubuntu: HP Pavillion won't connect to wifi : rtl8723be [duplicate]


This question already has an answer here:

I have an HP Pavillion laptop and recently I've shifted to Ubuntu 16.04 from Windows 10. I have a realtek rtl8723be wifi card. I can see the Wifi networks but cannot connect to them. On trying to connect ubuntu constantly prompts me to enter the wifi password. I did some research and followed this answer to fix this but the problem persists.

What can I do to solve the problem?


First of all remove the settings you made.

sudo rm /etc/modprobe.d/rtl8723be.conf  

If you do not have this file, nothing is wrong.

Then install a good driver

sudo add-apt-repository ppa:hanipouspilot/rtlwifi  sudo apt-get update  sudo apt-get install rtlwifi-new-dkms  

Reboot and enjoy

If you still have problems, you may need to add an option:

echo "options rtl8723be ant_sel=2"  | sudo tee /etc/modprobe.d/rtl8723be.conf  

then reboot again.

If you do not have any internet connection, you can download the package using another computer, a phone, etc.

The package is HERE

You will also need DKMS installed. You can find the DKMS package for Ubuntu 16.04 HERE

Copy these two files to the Ubuntu Home folder (~/) and run in terminal

sudo dpkg -i dkms*.deb rtlwifi*.deb  

Then reboot.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »