Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have looked through all the previous questions but turning power management off for the Wi-Fi card didn't work. This problem seems to be with the Lenovo Thinkpads. I switched to Ubuntu 11.10 from Windows 7 3 days ago so I'm new to the operating system.

share|improve this question
    
got the same problem - a terribly slow wireless connection - on a thinkpad e420s. you'll probably have the same issue I have with the intel centrino card; type sudo lspci -nn in a terminal and see "network controller". if you've got this card, see the bugreport here: bugs.launchpad.net/ubuntu/+source/linux/+bug/836250 –  eskararriba Apr 9 '12 at 6:34
    
good post, can you tell me what the instructions actually doing? are these instructions for a specific wireless card? if you made your answer a bit more specific you can post the answer to your own question and accept it :) –  amc May 3 '12 at 3:32
    
Have you solved this question? –  pl1nk Jun 24 '12 at 23:11
    
I don't understand why no one here bothers to explain what all these commands actually do? Posting instructions like "on ubuntu x.xx copy this code into a terminal" is not helpful at all, isn't it? If you cannot provide an explanation please don't answer. –  jan groth Aug 20 '13 at 2:32
    
This looks like a starting point to understand most answers. No Intel wifi -> no result. –  jan groth Aug 20 '13 at 2:39

7 Answers 7

I ended up having to redo my wireless network instead. My network had 2.4Ghz and 5Ghz using the same SSID. When I split those up and connected to the 2.4Ghz network the speed issues disappeared. Since the 5Ghz network doesn't show, I'm assuming my card must not support 5Ghz and it must have been trying to connect to it sometimes.

share|improve this answer
1  
Sorry, but in what way this solve OP's problem? –  Braiam Aug 30 '13 at 2:17

I solved this for myself by using the instructions here.

in a terminal, write:

echo "options iwlagn 11n_disable=1" | sudo tee /etc/modprobe.d/iwlagn.conf
sudo modprobe -rfv iwlagn
sudo modprobe iwlagn

For 12.04 and newer: change options iwlagn 11n_disable=1 to options iwlwifi 11n_disable=1

share|improve this answer
    
I dont know what this does but it works. you are brilliant, thank you! –  Kaine McAliece Apr 21 '12 at 3:34
    
Had to restart for it to work and then it's perfect! –  Miguel Vitorino May 3 '12 at 22:28
    
I don't have a iwlagn.conf in modeprobe.d, should I create one? btw I'm using 12.04 –  shengy Oct 10 '12 at 12:52
    
"For 12.04, change options iwlagn 11n_disable=1 to options iwlwifi 11n_disable=1" - ok, but should we still edit iwlagn.conf or iwlwifi.conf ? –  sylvainulg Apr 16 '13 at 7:22
2  
For the record, that disables the "n" flavour of the 802.11 (aka WiFi) protocol, which is buggy on intel chipsets. Check the output of "iwconfig wlan0" before and after issueing those commands. It should start with "IEEE 802.11abgn" before and just "802.11abg" after. –  sylvainulg Apr 16 '13 at 7:24

Open a terminal (alt+ctrl+t) type: sudo rmmod -f iwlwifi

Then type: sudo modprobe iwlwifi 11n_disable=1

Now check if the speeds have improved. If yes lets make it permanent.

Type gksudo gedit /etc/modprobe.d/iwlwifi_disable11n.conf

Add the following line to the end of the file:

options iwlwifi 11n_disable=1

After that, save it and quit!

In case you get an error like this:

ERROR: Removing 'iwlwifi': No such file or directory

replace iwlwifi with iwlagn in the above commands and try again.

share|improve this answer

This bug affects my laptop with Centrino Ultimate-N 6300 as well. The only thing that helped was turning on the swcrypto parameter. My /etc/modprobe.d/iwlwifi.conf now looks like this:

options iwlwifi 11n_disable=1 led_mode=1 swcrypto=1

And I can use wifi without problems. However, the fact that n-networks can not be used remains annoying.

share|improve this answer

I followed the last instructions in this post.

It solved the issue on my Shuttle XS35 (Atom D510) with Ubuntu 12.04 from a starving speed of 0,91 Mbps to 8,74 Mbps (9x quicker).

share|improve this answer

For 12.04, change:

options iwlagn 11n_disable=1

To:

options iwlwifi 11n_disable=1
share|improve this answer

OP Posted:

  • Note1: The slow connection can be due to your service provider or any other reason, to check it, try the same network by any other computer with different OS or by connection to the network by a cable. If it is fast, this solution can help you. If not, it can be wasting of time!*

  • Note2: In the first link in the References I put, there are more methods to solve the slow wireless connection. Each method solves different possible reason of the slow connection. I recommend to test the solution I put here before searching for different methods because it is most probably effective.*


If you are using Ubuntu 11.10, do the following:

open terminal. Type the following two lines:

sudo rmmod -f iwlagn
sudo modprobe iwlagn 11n_disable=1

Now, check your wireless Internet speed. If it is still slow, this solution is probably not a solution for your case. In this case, just restart the computer to revert the change you did. If it becomes normal and fast, do it permanently by typing the following line in the terminal:

gksudo gedit /etc/modprobe.d/iwlagn-disable11n.conf

A file will be opened. At the end of the file, paste the following line then save:

options iwlagn 11n_disable=1

After saving, just quit, and ENJOY!


Solution for Ubuntu 12.04:

open terminal. Type the following two lines:

sudo rmmod iwlwifi
sudo modprobe iwlwifi 11n_disable=1

Now, check your wireless Internet speed. If it is still slow, this solution is probably not a solution for your case. In this case, just restart the computer to revert the change you did. If it becomes normal and fast, do it permanently by typing the following line in the terminal:

gksudo gedit /etc/modprobe.d/iwlwifi-disable11n.conf

A file will be opened. At the end of the file, paste the following line then save:

options iwlwifi 11n_disable=1

After saving, just quit, and ENJOY!


References:

*I tried both solutions and they work.

share|improve this answer
    
I have to note that this solution works for shared wifi connection too. I had uplink speed about 2Mbits, but shared wifi as slow as 40kbits. Doing this on both machines did work. (probably the leecher machine was to blame) –  culebrón Feb 1 at 4:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.