Ubuntu 12.04: how to fix the wifi interface using Ralink RT3090 card

After the issues appeared on previous versions of Ubuntu (related here: Ubuntu 11.10 WIFI problems with RT3090), I have good news for you: it seems that the driver issues has been solved on the new kernel version that the Precise Pangolin version of Ubuntu uses. Although, we need to follow some steps to rise it up:

  1. Check the wireless card status (sudo iwlist scan). You can see on the bottom the printed information on the terminal. For the sake of this tutorial, you must see any WIFI network. If you are not able to see any, maybe you should try another fix, out from this page (here – post #71).
  2. Disable wireless energy management: sudo iwconfig wlan0 power off. You can also remain it disable after reboot as it is explained here.
  3. From this step we will be able to see the different WIFI networks that we have around, We can try to connect through the upper toolbar, using the wireless network manager. The manager will ask the password, but the connection will not succeed.
  4. Using the same energy manager, we must click on the “Disconnect” menu option, and just followed connect again, and retry the connection with the WIFI network.

[EDIT]

Detected some troubles to keep stable the connection, or even to connect (continuously asking for the Wireless password). Nevertheless, I have had some good results that I am going to deeply check:
1) Edition of the file /etc/networks:

sudo gedit /etc/network

This is the current content of that file (wrong content, I know):

#auto lo
#iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wireless_mode Managed
wireless_essid vodafoneE503 key XXXXXXXXXX
wireless_channel auto
wireless_rate 54G
#wpa-conf /etc/wpa_supplicant.conf

After saving the file, you must restart the networking:

sudo /etc/init.d/networking restart

And then, it will be able to connect to the wireless network with a stable speed.

[/EDIT]

After step four, you should get a message “Connection established with Network YourNetwork“. In my case, the speed is quite optimum, as you can see below:

Image

-Terminal output after step 1:

ubuntu@ubuntu:~$ sudo iwlist scan
lo        Interface doesn't support scanning.

wlan0     Scan completed :
Cell 01 - Address: 00:1A:2B:14:12:71
Channel:3
Frequency:2.422 GHz (Channel 3)
Quality=51/70  Signal level=-59 dBm
Encryption key:on
ESSID:"WLAN_D9"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=00000005dbc312a7
Extra: Last beacon: 868ms ago
IE: Unknown: 0007574C414E5F4439
IE: Unknown: 010482848B96
IE: Unknown: 030103
IE: Unknown: 2A0100
IE: Unknown: 2F0100
IE: Unknown: 32080C1218243048606C
IE: Unknown: DD06001018020104
Cell 02 - Address: 64:16:F0:08:E5:04
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=70/70  Signal level=-27 dBm
Encryption key:on
ESSID:"vodafoneE503"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=000000014beec83f
Extra: Last beacon: 600ms ago
IE: Unknown: 000C766F6461666F6E6545353033
IE: Unknown: 010882848B0C12961824
IE: Unknown: 030106
IE: Unknown: 200100
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 2A0104
IE: Unknown: 32043048606C
IE: Unknown: DD180050F2020101020003A4000027A4000042435E0062322F00
IE: Unknown: DD1E00904C334E101BFFFF000000000000000000000000000000000000000000
IE: Unknown: 2D1A4E101BFFFF000000000000000000000000000000000000000000
IE: Unknown: DD1A00904C3406051900000000000000000000000000000000000000
IE: Unknown: 3D1606051900000000000000000000000000000000000000
IE: Unknown: DD0900037F01010000FF7F
IE: Unknown: DD0A00037F04010020000000
IE: Unknown: 0706455320010D14
Cell 03 - Address: 64:16:F0:79:7C:BA
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=51/70  Signal level=-59 dBm
Encryption key:on
ESSID:"Orange-7cba"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=000000045d131b6a
Extra: Last beacon: 668ms ago
IE: Unknown: 000B4F72616E67652D37636261
IE: Unknown: 010882848B0C12961824
IE: Unknown: 030106
IE: Unknown: 0706455320010D14
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD140050F204104A000110104400010210080002018C
Cell 04 - Address: 02:30:B4:C4:58:C0
Channel:12
Frequency:2.467 GHz (Channel 12)
Quality=51/70  Signal level=-59 dBm
Encryption key:on
ESSID:"ONO9392"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=00000252801bb1ea
Extra: Last beacon: 280ms ago
IE: Unknown: 00074F4E4F39333932
IE: Unknown: 010482848B96
IE: Unknown: 03010C
IE: Unknown: 0706455320010D14
IE: Unknown: 2A0100
IE: Unknown: 32080C1218243048606C
IE: Unknown: DD180050F202010100000364000027A4000041435E0061322F00
IE: Unknown: DD050010910400
Cell 05 - Address: 72:A8:E4:4E:2E:A8
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=63/70  Signal level=-47 dBm
Encryption key:on
ESSID:"vodafone2EA9"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
18 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=000001adf40ca534
Extra: Last beacon: 356ms ago
IE: Unknown: 000C766F6461666F6E6532454139
IE: Unknown: 010882848B961224486C
IE: Unknown: 03010B
IE: Unknown: 2A0104
IE: Unknown: 32040C183060
IE: Unknown: 2D1A8E1117FFFF0000010000000000000000000000000C0000000000
IE: Unknown: 3D160B000600000000000000000000000000000000000000
IE: Unknown: 3E0100
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
IE: Unknown: 0B05020009127A
IE: Unknown: 4A0E14000A002C01C800140005001900
IE: Unknown: 7F0101
IE: Unknown: DD07000C4304000000
IE: Unknown: 0706455320010D10
IE: Unknown: DD1E00904C338E1117FFFF0000010000000000000000000000000C0000000000
IE: Unknown: DD1A00904C340B000600000000000000000000000000000000000000
Cell 06 - Address: 02:30:B4:C4:58:C1
Channel:12
Frequency:2.467 GHz (Channel 12)
Quality=53/70  Signal level=-57 dBm
Encryption key:on
ESSID:"ONO0607"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=00000252801b8eb1
Extra: Last beacon: 288ms ago
IE: Unknown: 00074F4E4F30363037
IE: Unknown: 010482848B96
IE: Unknown: 03010C
IE: Unknown: 0706455320010D14
IE: Unknown: 2A0100
IE: Unknown: 32080C1218243048606C
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F202010100000364000027A4000041435E0061322F00
IE: Unknown: DD050010910400

eth0      Interface doesn't support scanning.