February 11, 2016

Quick Note to myself regarding wireless power management in Ubuntu 14.04

Hey Manuel of the future.

Next time you format your ubuntu machine, just do this to fix all those annoying wifi issues.

  1. Go to /etc/network/interfaces and edit the file like this:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
auto wlan0
iface lo inet loopback

(this is assuming your wireless interface is wlan0)

Then do as follows (found on an ubuntu forums post from 2011, sigh).

gksu gedit /etc/pm/power.d/wireless

then just put in that file:

#!/bin/sh

/sbin/iwconfig wlan0 power off

Save it, then make it executable by doing:

sudo chmod +x /etc/pm/power.d/wireless

And restart.

Fkin’ problem solved.

Powered by Hugo & Kiss.