I had an incident recently where the Windows 7 side of my laptop connected easily to an open AP, but the Ubuntu 10.04 (or 9.04, tried both) wouldn’t, with the Intel Iwlagn drivers reporting in syslog a deauth (reason=6), basically the card spoke too soon. I eventually found the solution.
After several weeks of asking the same question everywhere I could think of (as well as emailing Intel…) I found the answer a lot closer to home, from a PhD student ^H^H^H^H^H^H^H Graduate in my University over LinkedIn (Ironically enough, I’m actually working with him on my Final Year Project next year… Good stuff to come
)
The Answer is to use the compat-wireless drivers instead of the stock drivers. In Ubuntu, this is really easy (as long as you don’t want to roll-your-own, which doesn’t take much longer).
# For Ubuntu 8.10 Intrepid users:
sudo apt-get install linux-backports-modules-intrepid
# For Ubuntu 9.04 Jaunty users:
sudo apt-get install linux-backports-modules-jaunty
# For Ubuntu 9.10 Karmic users:
sudo apt-get install linux-backports-modules-karmic
# For Ubuntu 10.04 Lucid users (one of the following depending on the installed kernel. Most user should choose generic):
sudo apt-get install linux-backports-modules-wireless-lucid-generic
sudo apt-get install linux-backports-modules-wireless-lucid-generic-pae
sudo apt-get install linux-backports-modules-wireless-lucid-preempt
sudo apt-get install linux-backports-modules-wireless-lucid-server
After that, just restart (easier than messing around with modprobe etc), and the job is done!
Tags: compat-wireless, drivers, intel, iwlagn, lenovo, Ubuntu, wifi, Wireless


Hello !
I have lucid 10.04 and the same chipset as you.
I run the apt-get command to get linux-backports-modules-wireless-lucid-generic, and restarted Ubuntu.
Now the problem is worse ! The chippset keeps on working to connect to any AP, but never establish connection !
Do you have an idea ?
Thanks.
By the way, the kernel of the machine I’m talking about is : 2.6.32-24-generic.
Details :
>cat /proc/version
Linux version 2.6.32-24-generic (buildd@rothera) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010
Thanks again.
Memento
I have been to nearly every site out there for this issue. Just so everyone knows my issue, here it is:
Desktop connecting via wireless card using ubuntu 10.10. Uninstalled and purged network manager completely. Restarted wicd. Still got the BAD PASSWORD message. Tried updating the 10.10 kernel. No good. Issued following command:
sudo apt-get install linux-backports-module-wireless-maverick-generic
Restarted. A little slow, but it finally works.
THANKS A METRIC TON!
Hannibal