edimax EW-7811Un USB wireless - sees network but fails to connect to it

Solution 1:

o.k., I solved the problem.

It took a bunch of steps - I have detailed them here:

http://www.r-statistics.com/2011/11/edimax-ew-7811un-usb-wireless-connecting-to-a-network-on-ubuntu-11-10/

Thank you Engels for your kind help! (I also gave credit in the post, and will gladly link to whatever website you might want from your name)

Solution 2:

If you are using Edimax EW-7811Un then the following (qouted from this site) should fix the problem:

Create this file /etc/modprobe.d/8192cu.conf and and the following lines to it:

# Disable power management
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0

Then save it and reboot and the wifi adapter should work properly.

For more details about the above parameters and their values:

rtw_power_mgnt=0|1|2
---------------------------------
    0 == disable power saving
    1 == power saving on, minPS
    2 == power saving on, maxPS

rtw_enusbss=0|1
---------------------------------
    0 == disable auto suspend
    1 == enable auto suspend