go to
点击打开链接
and download RT3572USB firmware RT28XX/RT30XX USB series (RT2870/RT2770/RT3572/RT3070)
By default, downloads go to a directory called Downloads. Open it and right-click the file and select 'Extract here.' Open the 2010_0915_RT3572_Linux_STA_v2.4.0.2 folder and then navigate to os/linux/config.mk and change 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'. Change them from =n to =y. Proofread, save and close the text editor.
Next, edit /include/os/linux_rt.h to change the two functions usb_buffer_alloc and usb_buffer_free to be renamed to usb_alloc_coherent and usb_free_coherent, respectively.DO NOTreplace the instances of rausb_buffer_alloc and rausb_free_coherent. Proofread, save and close the text editor.
Now edit common/rtusb_dev_id.c. Add your device as follows:
It doesn't matter whether you add your device first, second, twelfth, etc. Proofread, save and close the text editor.
Open a terminal and do:
Note any errors and post them here. If there are warnings only and no errors, proceed.
点击打开链接
and download RT3572USB firmware RT28XX/RT30XX USB series (RT2870/RT2770/RT3572/RT3070)
sudo apt-get install build-essential linux-headers-generic
By default, downloads go to a directory called Downloads. Open it and right-click the file and select 'Extract here.' Open the 2010_0915_RT3572_Linux_STA_v2.4.0.2 folder and then navigate to os/linux/config.mk and change 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'. Change them from =n to =y. Proofread, save and close the text editor.
Next, edit /include/os/linux_rt.h to change the two functions usb_buffer_alloc and usb_buffer_free to be renamed to usb_alloc_coherent and usb_free_coherent, respectively.DO NOTreplace the instances of rausb_buffer_alloc and rausb_free_coherent. Proofread, save and close the text editor.
Now edit common/rtusb_dev_id.c. Add your device as follows:
/* module table */
USB_DEVICE_ID rtusb_dev_id[] = {
#ifdef RT2870
{USB_DEVICE(0x148F,0x2770)}, /* Ralink */
{USB_DEVICE(0x148F,0x2870)}, /* Ralink */
{USB_DEVICE(0x07B8,0x2870)}, /* AboCom */
{USB_DEVICE(0x07B8,0x2770)}, /* AboCom */
{USB_DEVICE(0x13B1,0x002F)}, /* Linksys */
--- snip ---
It doesn't matter whether you add your device first, second, twelfth, etc. Proofread, save and close the text editor.
Open a terminal and do:
make
Note any errors and post them here. If there are warnings only and no errors, proceed.
sudo make install
sudo modprobe rt3572sta
iwconfig