Sunday, May 13, 2012

Slow or no wifi fix for Ubuntu 12.04

After upgrading to Ubuntu 12.04, my wifi stopped working, ie network manager was showing my laptop as connected to my home wifi network but I couldn't connect to internet for some reason, ping and DNS resolving didn't work neither apparently.
After looking around I found something useful that I had to tweak for my system to get it work, so simply taking their solution 2 and tweaking it to look like :
sudo rmmod -f iwlwifi
sudo modprobe iwlwifi 11n_disable=1
If you notice that the wifi speed improved, then make the change permanent :
gksudo gedit /etc/modprobe.d/iwlwifi-disable11n.conf
and add this line to the file:
options iwlwifi 11n_disable=1
save and quit.

If you're on battery, turning off power management could help as well
sudo iwconfig wlan0 power off

6 comments:

  1. I lived with that for a couple of weeks on my Fedora 16, but I gave up. Had the wlan rate still going down to 1-6Mbit/s (instead 54Mbit/s). Of course this may also be related to my router (DLink DIR-655), but a wired connection is a wired connection :)

    ReplyDelete
  2. Yeah I'm mostly on wired as well at home, but was worried with business travels, conferences and so on... A laptop without a working wifi is as good as a desktop PC :-)

    ReplyDelete
  3. thanks Jean looks like this one worked4me - improved :)

    ReplyDelete
  4. This made a world of a difference for my laptop. Was getting <1Mbps. After applying this, I'm up to about 18Mbps. This is still less than ideal since I have a 50Mbps line, but at least it's usable.

    ReplyDelete