Hey Manuel of the future.
Next time you format your ubuntu machine, just do this to fix all those annoying wifi issues.
- Go to
/etc/network/interfacesand 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
Fkin' problem solved.