This is a tutorial for getting Ralink's RT2760/RT2790/RT2860/RT2890-based (m)PCI(e) cards running on Intrepid with the latest Linux drivers provided on Ralink's website. You will need a wired connection to download the pertinent files.
First you are going to need the driver package, which can be downloaded from: http://www.ralinktech.com/ralink/Hom...ort/Linux.html
You are looking for the "RT2860PCI/mPCI/PCIe/CB(RT2760/RT2790/RT2860/RT2890)" package. Download it and save it to your home directory.
Start a terminal and install the build-essential and linux-headers packages (if you don't have them already):
Now, in your home folder untar the Ralink package:
sudo aptitude install linux-headers-`uname -r` build-essential
Edit the 2008_0918_RT2860_Linux_STA_v22.214.171.124/os/linux/config.mk file to allow network-manager to manage the card:
tar -xvjf 2008_0918_RT2860_Linux_STA_v126.96.36.199.tar.bz2
Where it says:
Make sure that both lines have a "y" after them (by default they have an "n"), then save the file.
# Support Wpa_Supplicant
# Support Native WpaSupplicant for Network Manager
Now enter the 2008_0918_RT2860_Linux_STA_v188.8.131.52 directory, compile and install the driver as root:
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 in among others /etc. This is what caused me some trouble before I figured it out.
make && make install
Now, while still root modprobe the driver module:
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 and make sure that the module was probed correctly by checking the output of lsmod looking for the rt2860sta module.
It should output something like "rt2860sta 525400 1". To make sure that ra0 is up and running as it's supposed to you can run "iwconfig" which should output something like this:
lsmod | grep rt2860sta
Hopefully all of this worked and your wireless card is now functional. Use network manager to set your WEP/WPA(2) or what have you and connect to your network.
lo no wireless extensions.
eth1 no wireless extensions.
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
To make sure the module is loaded when you reboot, add it to the /etc/modules file:
Hopefully this will be of service to someone. :)
sudo echo rt2860sta >> /etc/modules