Ralink driver
Ralink Driver must be compiled. Ralink only supports Infrastructure and Ad-Hoc mode.
1. Download the Linux driver from Ralink
RT3070/RT3072/RT3370/RT5370/RT5372 all-in-one driver package. The latest version is v2.5.0.3
http://www.ralinktech.com/en/04_support/support.php?sn=501
2. Extract the package to user home, and rename the directory name to sta, for example.
3. Change HAS_WPA_SUPPLICANT and AS_NATIVE_WPA_SUPPLICANT_SUPPORT from n to y in os/linux/config.mk
# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=y
# Support Native Wpa_Supplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
4. now just make, make install, and register your module with modprobe
sudo su
make
make install
modprobe rt5370sta
5. To enable the module at each boot add your module to /etc/modules
echo rt5370sta >> /etc/modules