Short answer
You need to update, for which you'll need to use an ethernet cable or wifi dongle that works with Linux out of the box.
Once you've updated you can simple paste this into the terminal and press enter:
echo "options rtl8723be ant_sel=1 fwlps=N" | sudo tee /etc/modprobe.d/rtl8723be.conf
If you're asked for your password, enter it and press enter. Now reset your laptop and it should work. If it doesn't, try all the steps above again but this time change ant_sel=1
to ant_sel=2
.
Details
The problem is that the wifi hardware only has one of the two antennas attached but the hardware reports the wrong antenna. So you need to force the driver to use the correct antenna, which can only be done with the newer driver. To see if your driver supports this option, open a terminal and do:
modinfo rtl8723be
If it has the output has the line:
parm: ant_sel:Set to 1 or 2 to force antenna number (default 0)
(int)
Then you have the updated driver. If not then you will need to update using an ethernet cable or wifi dongle to get internet access.
Once you have the right drivers you need to force it to use the right antenna, like so:
echo "options rtl8723be ant_sel=1 fwlps=N" | sudo tee /etc/modprobe.d/rtl8723be.conf
And then reset the laptop. If this does not work then try the above again but change ant_sel=1
to ant_sel=2
.
The fwlps=N
prevents an issue where power saving would drop the connection after a time even when being used.
16.04 note: You can temporarily try different antenna settings before permanently setting configuration by reloading the driver using the following:
sudo modprobe -r rtl8723be
sudo modprobe rtl8723be ant_sel=1
This will allow you to make sure it works without having to reset the laptop each time.
lspci -nnk | grep 0280 -A2
Welcome to askubuntu. – chili555 Apr 21 '16 at 15:41