青春无悔
分类: LINUX
2014-11-10 17:04:49
1. 使用lsusb命令可以获取USB设备ID。小度wifi为2955:0001或2955:1001
360WIFI2为148F:760B
2. 二者均使用Mediatek Ralink MT7601芯片,都是在Mediatek官网下载MT7601U
USB驱动源码包.
3. 修改common/rtusb_dev_id.c文件,在
1. {USB_DEVICE(0x148f,0×7601)}, /* MT 6370 */下面加上
{USB_DEVICE(0×2955,0×0001)}, /* XiaoDu Wifi */
{USB_DEVICE(0×2955,0×1001)}, /* XiaoDu Wifi */
{USB_DEVICE(0x148f,0x760b)}, /* 360 Wifi */
4. 使用make 命令编译后,执行make install 。
5. 根据iwpriv_usage.txt,执行初始化或重启系统,网卡就可以使用了
=================
加了文件那一行
sudo make
sudo make install
sudo modprobe mt7601Usta
$ iwlist scanning
wlan0 Failed to read scan data : Network is down
ra0 Failed to read scan data : Network is down
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.