I bought an alfa awus036neh USB wireless adapter. If I plug it to my running Ubuntu 12.04 machine (running 3.2.0-25-generic kernel) it works fine. But if I restart my computer with the plugged-in dongle, the connection process(the wifi icon) shows that it tries to connect and connect, but nothing works. After a little bit of waiting, it promts for a password, which is already saved and worked before. If I reenter the password, it tries to connect and after a little bit of waiting, all repeats.
jan@hadabanana:~$ lsmod | grep rt
parport_pc 32866 0
rt2800usb 22684 0
rt2800lib 58925 1 rt2800usb
crc_ccitt 12667 1 rt2800lib
rt2x00usb 20762 1 rt2800usb
rt2x00lib 55301 3 rt2800usb,rt2800lib,rt2x00usb
mac80211 506816 3 rt2800lib,rt2x00usb,rt2x00lib
cfg80211 205544 2 rt2x00lib,mac80211
parport 46562 3 parport_pc,ppdev,lp
jan@hadabanana:~$ iwconfig
lo no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on
eth0 no wireless extensions.
Hope anyone can help me fixing this problem, that I can connect to my wifi.