I've had this problem since Ubuntu 11.10 (my first install) but I was able to get around this issue with this answer. After I installed Ubuntu 12.04.1 I tried to use the same fix as before but I couldn't get it to work. I've also tried a couple other different fixes I found around the web but they didn't work.
Basically here's what happens: I can see all the networks in my area. When I try to connect to one of them it never connects, it keeps disconnecting. After a little bit it asks for the password again but its already filled in correctly. If I hit okay it will do the exact same thing again.
So does anyone know how I can get this fixed?
Computer: HP Pavilion dv6t-6b00 CTO Quad Edition Entertainment Notebook PC Network Card: Intel® Centrino® Wireless-N 1000 OS: Ubuntu 12.04.1 (x64) dual booting with Windows 7 (x64) (*Not using Wubi*) Wireless Card Driver: iwlwifi
UPDATE: I was about to reinstall but discovered the same issue happens on Ubuntu's live disc. I still was unable to fix it as before. I also tried the Xubuntu's live disc, and the same. Re installing the driver hasn't worked either.
UPDATE: I just tried out OpenSUSE and I'm having the same problem on that too. So it must be the kernel or one of it's drivers. I've done:
sudo rmmod xxxxxx sudo modprobe xxxxxx
with iwlwifi and the other modules it uses (cfg80211 and mac80211) when my network wasn't working and it didn't do anything. I've made a bug report but I don't know if I'm gonna get a response (feels familiar). For now though I guess I'm forced to stick with Windows and dream about Linux :(. I'll keep looking for a way to fix it however.