HP pavilion x360 "11 Realtek RTL8723BE weak wifi signal [closed]

I installed Ubuntu 17.10.1 on my HP Pavilion x360 convertible, and my wi-fi connection was very weak.

I tried to install this driver from GitHub called rock.new_btcoex, but it didn't work.

What else can I try?


Quite often, the weak signal is a symptom of the antenna wire being connected to connection #1 on the card when the default driver is expecting to see the signal at connection #2. Of course, you could open the laptop and switch the wire or you could add a driver parameter that permits antenna selection at the driver level.

sudo -i
echo "options rtl8723be ant_sel=2"  >  /etc/modprobe.d/rtl8723be.conf
exit

Reboot.

If this is ineffective, repeat the process with ant_sel=1. Reboot.