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):

Code:
sudo aptitude install linux-headers-`uname -r` build-essential
Now, in your home folder untar the Ralink package:

Code:
tar -xvjf 2008_0918_RT2860_Linux_STA_v1.8.0.0.tar.bz2
Edit the 2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/config.mk file to allow network-manager to manage the card:

Code:
gedit 2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/config.mk
Where it says:

# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=y

# Support Native WpaSupplicant for Network Manager
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
Make sure that both lines have a "y" after them (by default they have an "n"), then save the file.

Now enter the 2008_0918_RT2860_Linux_STA_v1.8.0.0 directory, compile and install the driver as root:

Code:
cd 2008_0918_RT2860_Linux_STA_v1.8.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 in among others /etc. This is what caused me some trouble before I figured it out.

Now, while still root modprobe the driver module:

Code:
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 and make sure that the module was probed correctly by checking the output of lsmod looking for the rt2860sta module.

Code:
exit
lsmod | grep rt2860sta
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:

Code:
iwconfig 
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
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.

To make sure the module is loaded when you reboot, add it to the /etc/modules file:

Code:
sudo echo rt2860sta >> /etc/modules
Hopefully this will be of service to someone. :)