Download the driver from here:
RT3070 STA drivers version 2.5.0.1
(you can enter ‘any’ name and email)
Before compiling - you are going to need to install build-essential, and linux-headers-generic.
sudo apt-get update && sudo apt-get install build-essential linux-headers-generic
If you use WPA/WPA2 encryption, you will have to change the lines
HAS_WPA_SUPPLICANT=n
and
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n
in:
/os/linux/config.mk
(inside the unpacked driver)
to
HAS_WPA_SUPPLICANT=y
and
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
Once you have changed these to =y and saved the config.mk file…
To compile and install, open a terminal and enter:
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.
when that has finished, you’ll need to blacklist the rt2870usb driver.
sudo gedit /etc/modprobe.d/blacklist.conf
and add the line:
blacklist rt2800usb
Now, while still root modprobe the driver module:
modprobe rt2870sta
Give it a minute to create the wlan0 device node, and network manager should now be able to display all visible wireless networks in your area, meanwhile you can stop being root.
exit
Make sure that wlan0 is up and running as it’s supposed to:
iwconfig
and check for a section similar to:
wlan0 RT3070 Wireless ESSID:"" Nickname:"RT3070STA"
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 after a reboot, add it to the /etc/modules file:
sudo echo rt2870sta >> /etc/modules
Your wireless card should now be working (it may require a reboot first)… Use network manager to set your WEP/WPA(2) key, and connect to your network.