Download the RT2860PCI/mPCI/CB/PCIe(RT2760/RT2790/RT2860/RT2890) drivers from here to your home folder:
2010_01_29_RT2860_Linux_STA_v2.3.0.0.tar.bz2
Start a terminal and install the build-essential and linux-headers packages (if you don't have them already):
- Code: Select all
sudo apt-get install build-essential linux-headers-generic
Now, in your home folder untar the Ralink package:
- Code: Select all
tar -xvjf 2010_01_29_RT2860_Linux_STA_v2.3.0.0.tar.bz2
you should now have a folder called
2010_01_29_RT2860_Linux_STA_v2.3.0.0 inside you home directory.
Edit the 2010_01_29_RT2860_Linux_STA_v2.3.0.0/os/linux/config.mk file to allow network-manager to manage the card:
- Code: Select all
gedit ~/2010_01_29_RT2860_Linux_STA_v2.3.0.0/os/linux/config.mk
find these lines:
# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=n
# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n
and change the 'n' in both lines to 'y' so they now read:
# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=y
# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
and save the file.
Now enter the 2010_01_29_RT2860_Linux_STA_v2.3.0.0 directory, compile and install the driver as root:
- Code: Select all
cd ~/2010_01_29_RT2860_Linux_STA_v2.3.0.0
sudo su
make && make install
It is important here not to use "sudo" alone, but "sudo su" because with sudo for some reason the installation script fails to create the necessary files and folders.
Now, while still root modprobe the driver module:
- Code: Select all
modprobe rt2860sta
Give it a minute to create the ra0 device node, and network manager should now be able to display all visible wireless networks in your area, meanwhile you can stop being root.
- Code: Select all
exit
Make sure that ra0 is up and running as it's supposed to:
- Code: Select all
iwconfig
and check for a section similar to
ra0 RT2860 Wireless ESSID:"" Nickname:"RT2860STA"
Mode:Managed Frequency=2.412 GHz Access Point:
Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Link Quality=100/100 Signal level:-29 dBm Noise level:-71 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Hopefully your wireless card is now working... Use network manager to set your WEP/WPA(2) key, and connect to your network.
To make sure the module is loaded after a reboot, add it to the /etc/modules file:
- Code: Select all
sudo echo rt2860sta >> /etc/modules