Hp Stream 13s are great machines. They are durable, goes 9 hours straight with a single charge and has a good enough cpu for rudimentary tasks. It really is slow like a mollusc when you install windows 10 on it though. But with linux everything changes.

Except for one single thing. The Wifi card. HP in its wisdom decided to put a RTL8723BE wifi card on this machine. This used to be a problem but with the latest kernels the driver is included out of the box with most distributions. But a curveball is thrown to us by HP because they decided to connect one antenna on the card and default kernel tries to find wifi signals with the one that is not connected!

To fix that we need to state which antennae to be used. But first let’s check which antennae is connected:

First let’s remove the driver and kill the device

sudo rmmod rtl8723be 

Then reload it with the antennae specified

sudo modprobe rtl8723be ant_sel=2 

If that doesn’t see any wifi we are going to remove and retry with another antennae (0,1,2)

After we found the correct wiring we are going to drop a conf file to /etc/modprobe.d/rtl8723be.conf which has this magical line on it:

options rtl8723be fwlps=N ips=N swlps=N swenc=Y disable_watchdog=1 ant_sel=2

I used 2 but you should use your antenna number here.

Then reboot! After these steps our Hp Stream 13 is ready to be used fully in Linux