Skip to content

Instantly share code, notes, and snippets.

@bse666
Created January 18, 2017 22:00
Show Gist options
  • Save bse666/900295d63180ddea57793d45a9dac477 to your computer and use it in GitHub Desktop.
Save bse666/900295d63180ddea57793d45a9dac477 to your computer and use it in GitHub Desktop.
Wifi Fix HP Laptop
[Desktop Entry]
Type=Application
Exec=/usr/local/bin/wifi-fix.sh
Terminal=true
Name[de_DE]=wifi-fix.sh
Name=wifi-fix.sh
Comment[de_DE]=
Comment=
Icon=/usr/share/icons/LoginIcons/apps/48/view-refresh.svg
rfkill block all
sleep 3
rfkill unblock all
sleep 5
echo "options rtl8723be fwlps=0 ips=N ant_sel=1" | sudo tee /etc/modprobe.d/rtl8723be.conf
sudo modprobe -rv rtl8723be
sudo modprobe -v rtl8723be
nmcli radio wifi on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment