Get network drive name
$ inxi -n
Unload the module and try the first parameter option
$ sudo modprobe -r rtl8723be
$ sudo modprobe rtl8723be ant_sel=1
$ iwlist scan | egrep -i 'ssid|quality'
The results from the scan may be the same as original or better but we will check the last option for ant_sel
$ sudo modprobe -r rtl8723be
$ sudo modprobe rtl8723be ant_sel=2
$ iwlist scan | egrep -i 'ssid|quality'
if ant_sel=1 was the best then do
$ echo "options rtl8723be ant_sel=1" | sudo tee /etc/modprobe.d/rtl8723-ant-sel.conf
else
$ echo "options rtl8723be ant_sel=2" | sudo tee /etc/modprobe.d/rtl8723-ant-sel.conf