Skip to content

Instantly share code, notes, and snippets.

@gibbage
Last active November 14, 2016 12:16
Show Gist options
  • Save gibbage/efe73da1844c42a763aff9398526aa5b to your computer and use it in GitHub Desktop.
Save gibbage/efe73da1844c42a763aff9398526aa5b to your computer and use it in GitHub Desktop.

To get WiFi working - it was dropping out after a few minutes and not reconnecting until after a reboot

sudo vim /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

By default it is wifi.powersave = 3. Change it to wifi.powersave = 0

source: http://unix.stackexchange.com/questions/269661/how-to-turn-off-wireless-power-management-permanently

I tried a few things and this was the only one that worked besides have a continual script running that turned off power management:

while :
do
  echo "Current Wireless card state:"
  iwconfig wlp8s2
  echo "Turning off WiFi power management..."
  iwconfig wlp8s2 power off
  sleep 5
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment