本帖最后由 imccie 于 2015-3-10 22:23 编辑
注意:所提供的驱动仅适用于2015-02-16-raspbian-wheezy.img,其它镜像由于内核版本问题无法使用.
小度wifi应也适用,但手中没有,无法测试,有条件测试的兄弟回复一下.
安装前提:
确认内核版本为3.18.7-v7
- uname -a
- Linux raspberrypi 3.18.7-v7+ #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 2015 armv7l GNU/Linux
复制代码
安装方法:
1.上传附件到树莓派/tmp目录
- cd /tmp
- sudo tar xf mt7601_3.18.7-v7.tar.gz -C /
- sudo depmod 3.18.7-v7+
- sudo reboot
复制代码
重启后就能看到ra0了
若不喜欢ra0标识,在/etc/udev/rules.d/下新增一个文件98-ralink.rules
- # cat /etc/udev/rules.d/98-ralink.rules
- ACTION=="add", SUBSYSTEM=="net", ATTR{type}=="1", KERNEL=="ra*", NAME="wlan1"
复制代码
重启后用ifconfig查看
- <p>ifconfig
- wlan0 Link encap:Ethernet HWaddr 00:00:00:00:01
- inet addr:1.1.1.1Bcast:1.1.1.255 Mask:255.255.255.0
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:72 errors:0 dropped:21 overruns:0 frame:0
- TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:14519 (14.1 KiB) TX bytes:4718 (4.6 KiB)</p><p>
- </p><p>wlan1 Link encap:Ethernet HWaddr 24:05:0f:10:58:00
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:4448 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:984306 (961.2 KiB) TX bytes:0 (0.0 B</p>
复制代码
|
|