Please see above link for working file
Guys, here's a step-by-step process on how to resolve this issue on Ubuntu 9.04:
The drivers that work with WUSB54GC v3 ARE NOT THE 2.1.1.0 on the RALINK site.
They are the http://www.ralink.com.tw/data/driver....4.0.0.tar.bz2
BEFORE EXECUTING ANY OF THESE STEPS, PLEASE DO A Step 1.
Code:
wget http://www.ralink.com.tw/data/drivers/2008_0925_RT2870_Linux_STA_v1.4.0.0.tar.bz2
Step 2.
Code:
tar xjf 2008_0925_RT2870_Linux_STA_v1.4.0.0.tar.bz2
Step 3.
Code:
cd 2008_0925_RT2870_Linux_STA_v1.4.0.0
Step 4.
replace the file located in include/rt2870.h with rt2870.h from the attached rt2870.h.tar.gz
Step 5.
Execute
Code:
perl -p -i.old -e 's/(HAS*WPA*SUPPLICANT*=)n/{$1}y/g' os/linux/config.mk
Step 6.
Code:
make && make install
Step 7.
Make sure that /lib/modules/`uname -r`/updates/ exists! If this directory does not exist, then create it.
After you've ensured that it does exist, then run:
Code:
cp -p /lib/modules/`uname -r`/kernel/drivers/net/wireless/rt2870sta.ko /lib/modules/`uname -r`/updates/
Step 8.
Step 9.
Code:
gedit /etc/Wireless/RT2870STA/RT2870STA.dat
Change the following (obviously depends on your connection):
- SSID=<YOUR-SSID>
Channel=<YOUR-CHANNEL>
AuthMode=WPA
EncrypType=TKIP
WPAPSK=<YOUR-PASS-KEY-HERE>
AuthMode, EncrypType can be any of the values you see below.
For WEP, you would have AuthMode=WEPAUTO and EncrypType=WEP
For WPA, you would have AuthMode=WPA and EncrypType=TKIP (** your values here may differ **)
Code:
@> AuthMode=value
value
OPEN For open system
SHARED For shared key system
WEPAUTO Auto switch between OPEN and SHARED
WPAPSK For WPA pre-shared key (Infra)
WPA2PSK For WPA2 pre-shared key (Infra)
WPANONE For WPA pre-shared key (Adhoc)
WPA Use WPA-Supplicant
WPA2 Use WPA-Supplicant
@> EncrypType=value
value
NONE For AuthMode=OPEN
WEP For AuthMode=OPEN or AuthMode=SHARED
TKIP For AuthMode=WPAPSK or WPA2PSK
AES For AuthMode=WPAPSK or WPA2PSK
Step 10.
Code:
echo "alias ra0 rt2870sta" >> /etc/modules
Step 11.
Code:
echo "ifconfig ra0 inet up" >> /etc/init.d/rc.local
Step 12.
Reboot
Step 13.
If you're not connected to the internet by now, there is ONE more step to take but you have TWO CHOICES:
Step 13a.
Something that I learned that activated my network-manager was this:
Code:
sudo vi /etc/NetworkManager/nm-system-settings.conf
Change "managed=false" to "managed=true"
Code:
sudo killall nm-system-settings
This should pop up and you should see all your wireless networks!
If this works, SKIP STEP 13B.
If you want to use the command-line, use the below step.
Step 13b.
Using wpa_supplicant to connect!
Read this great tutorial/walk-through here:
http://ubuntuforums.org/showthread.php?t=263136
-------------------------------------------------------------
PLEASE NOTE THAT THE WIRELESS ADAPTER DOES NOT BLINK OR LIGHT UP GREEN BUT IT STILL WORKS. TO TEST THIS YOU CAN TYPE and it will show all the wireless networks nearby.
Please leave some feedback or your comments.
Thanks,
radixor.
P.S. I will write a small python script to automate this ordeal...
Bookmarks