使用lsusb命令查看,得到无线网卡型号为Ralink Technology, Corp. RT3072 Wireless Adapter。
lsusb Bus 001 Device 005: ID 148f:3072 Ralink Technology, Corp. RT3072 Wireless Adapter Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub驱动下载:?s=2
下载这个型号的:RT8070/RT3070/RT3370/RT5370/RT5372 USB 2.5.0.2
tar -jxvf 2011_0407_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.2_DPO.bz2 cd 2011_0407_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.2_DPO/ vi os/linux/usb_main_dev.c 在MODULE_DESCRIPTION("RT2870下加一行MODULE_LICENSE("GPL"); sudo make sudo make install sudo modprobe rt5370sta好了,右上角就会出现无线网了,截图如下。
如果使用光盘里的旧驱动DPO_RT3070_LinuxSTA_V2.3.0.2_20100412.tar.bz2,或者不按照此步骤,就会出现错误:
sudo modprobe rt5370sta FATAL: Error inserting rt5370sta (/lib/modules/2.6.38-8-generic/kernel/drivers/net/wireless/rt5370sta.ko): Unknown symbol in module, or unknown parameter (see dmesg) make[2]: *** [DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/http://www.cnblogs.com/common/cmm_mac_usb.o] Error 1 /sbin/insmod rt2870sta.ko insmod: error inserting 'rt2870sta.ko': -1 File exists在Intel主板上成功联网,在AMD主板上,出现错误:
$ sudo modprobe rt5370sta FATAL: Error inserting rt5370sta: Device or resource busy $ dmesg | grep rt Error: Driver 'rt2870' is already registered, aborting...经过3个小时的Google搜索,尝试,绝望,终于解决。办法:
$ sudo vi /etc/modprobe.d/blacklist.conf 在最后加上一行blacklist rt2870sta $ sudo vi /etc/modules 在最后加上一行rt2870sta