Skip to content

Instantly share code, notes, and snippets.

@NearHuscarl
Created February 2, 2018 05:17
Show Gist options
  • Save NearHuscarl/f8d8a4906ce780abcb3cfce4bf20a2af to your computer and use it in GitHub Desktop.
Save NearHuscarl/f8d8a4906ce780abcb3cfce4bf20a2af to your computer and use it in GitHub Desktop.
Fix wifi signal very weak or not working on some wireless driver

Credit

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment