我有 Lemaker Guitar 板,上面有基于 Debian 8 的操作系统。该板有两个网络接口 - 以太网和板载 WiFi 芯片。我需要使用第三个接口——USB WiFi 卡。lsusb
返回:
Bus 001 Device 002: ID 148f:7601 Ralink Technology, Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
第一行是我的 USB WiFi 卡,因此驱动程序已正确安装,因为系统正确识别了它?但我没有看到它ifconfig -a
:
eth0 Link encap:Ethernet HWaddr f4:4e:fd:3a:bf:62
inet addr:10.42.0.223 Bcast:10.42.0.255 Mask:255.255.255.0
inet6 addr: fe80::f64e:fdff:fe3a:bf62/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:40365 errors:0 dropped:0 overruns:0 frame:0
TX packets:35574 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6032008 (5.7 MiB) TX bytes:6236134 (5.9 MiB)
Interrupt:32
ip6tnl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:1452 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1216 (1.1 KiB) TX bytes:1216 (1.1 KiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 7c:c7:09:36:d0:9a
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 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:0 (0.0 B) TX bytes:0 (0.0 B)
eth0
和wlan0
是 Lemaker 吉他板内置的两个接口。不太确定什么是ip6tn10
接口sit0
,但由于它们没有硬件地址,我认为它们不是我的 USB WiFi 卡(而且当我拔掉它时它们仍然存在)。所以我想我的问题是,我该如何让它发挥作用?如何告诉我的系统这Bus 001 Device 002: ID 148f:7601 Ralink Technology, Corp.
是一个网络接口?
答案1
好的,我成功了。从 Lemaker 论坛复制粘贴:
copy the provided .ko file to /lib/modules/3.4.xxx/kernel/drivers/net/wireless/
then run "sudo depmod -a" from a terminal
then run "sudo modprobe -f mt7601Usta"
我下载了 .ko 文件http://mirror.lemaker.org/MT7601.tgz