So with aurora the version for the staging rt2860sta drivers FUCKING SUCK MYFAT BALLS!
So after checking which version i had, they included fucking 2.2, when 2.4 is out.. that was smart. So if you want some good WPA and WPA2-AES/TKIP. Working action follow on!
Step 1
Download latest RT2860 driver source code from Ralink
here. When your about to download, just hit next, you dont need the shitty email and name
Step 2
Open and extract the downloaded file to a temporary directory in your Home directory.
Quote:
tar xvzf 2010_07_16_RT2860_Linux_STA_v2.4.0.0.tar.bz2
Step 3
Using an editor such as the default Gedit, open the driver source code file ./os/linux/config.mk.
Quote:
gedit ./os/linux/config.mk
Use the find command to locate HAS_WPA_SUPPLICANT and make sure it is set to yes. It should look like this when finished:
HAS_WPA_SUPPLICANT=y
and do the same for:
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
Close and save this file.
Step 4
Using an editor such as the default Gedit, open the file ./common/cmm_wpa.c.
Quote:
gedit ./common/cmm_wpa.c
Use the find command to locate MIX_CIPHER_NOTUSE. Replace this entire line (keep on one line)with this code:
WPA_MIX_PAIR_CIPHER FlexibleCipher = WPA_TKIPAES_WPA2_TKIPAES;
Step 5
Perform these commands in a Terminal session one at a time. You can cut and paste. Using sudo puts you into Admin mode so you will be prompted for you Admin (probably) your default password.
sudo make
sudo make install
sudo ifconfig wlan0 down
sudo rmmod rt2860sta
Step 6
Rename the old rt2860sta.ko driver file to rt2860sta.ko.dist using a command such as:
sudo mv /lib/modules/2.6.*/kernel/drivers/staging/rt2860/rt2860sta.ko rt2860sta.ko.dist
Note: You need to replace the asterisk with the actual directory name of your kernel. Consult your file system directory structure for this.
This is to prevent the old driver from being used. You could just delete the file as well I suppose.
Step 7
sudo depmod -a
sudo modprobe rt2860sta
After you issue the previous command you should see the Desktop top panel Wireless icon come to life as it tries to connect. You will be prompted for a WPA password. Give it a little while and it should connect.
Not sure this command is necessary but you can use if the Wireless isn’t started automatically.
sudo ifconfig ra0 up (Should already be up)
Step 8
Okay at this point you have made a lot of progress and should be happily surfing at up to 802.11n speeds. Take a break and marvel at your skills and the wonder of the Internet!
But, and this is a biggie, what happens if you ever reboot? Unfortunately, you are back at square one without the RT2860 driver being loaded after a reboot. To remedy this situation, read on.
Step 9
Copy the newly compiled driver from your temporary build directory in ./os/linux using a command like:
sudo cp rt2860sta.ko /lib/modules/2.6.*/kernel/drivers/staging/rt2860/
Again replace the asterisk with the correct directory name.
Step 10
Update your modules boot file with the following command:
gksudo gedit /etc/modules
Add the following on a line at the end of the file.
rt2860sta
Close and save the file.
Step 11
Reboot and check to see that you are now automatically connecting to your wireless network
---------------
Enjoy some motherfucking N connectivity 135mbs+ bitch!