激活额外的USB Wifi适配器

时间:2017-12-29 14:09:44

标签: android-things

我正在尝试为运行Android Things OS的Rasberry pi添加wifi热点/接入点。我想我会通过添加一个额外的USB Wifi适配器(Edimax EW-7811Un)并将其与pi的内部wifi适配器连接起来。

不幸的是,我不熟悉linux,习惯使用windows和osx进行即插即用,而不必手动调整任何配置!

在谷歌搜索并运行各种命令后,我可以看到已找到适配器。

通过dmesg搜索,我可以看到该设备......

[    4.131380] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
[    4.232604] usb 1-1.4: New USB device found, idVendor=7392, idProduct=7811
[    4.232616] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.232624] usb 1-1.4: Product: 802.11n WLAN Adapter
[    4.232630] usb 1-1.4: Manufacturer: Realtek
[    4.232637] usb 1-1.4: SerialNumber: 00e04c000001

正在运行lusb会显示设备(004)...

rpi3:/ # lsusb
Bus 001 Device 002: ID 0424:9514
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 003: ID 0424:ec00
Bus 001 Device 004: ID 7392:7811

但是,ifconfig /a只显示默认硬件......

wlan0     Link encap:Ethernet  HWaddr b8:27:eb:87:50:67  Driver brcmfmac_sdio
          inet addr:192.168.1.102  Bcast:192.168.1.255  Mask:255.255.255.0 
          inet6 addr: 2a00:23c4:7400:5c00:d848:e0c3:e997:182/64 Scope: Global
          inet6 addr: fdaa:bbcc:ddee:0:d848:e0c3:e997:182/64 Scope: Global
          inet6 addr: fdaa:bbcc:ddee:0:691d:ecb5:3fd2:94e0/64 Scope: Global
          inet6 addr: 2a00:23c4:7400:5c00:7b46:c90f:599a:4551/64 Scope: Global
          inet6 addr: fe80::29c9:aa36:a6bb:ddc5/64 Scope: Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2121 errors:0 dropped:42 overruns:0 frame:0 
          TX packets:1775 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:1000 
          RX bytes:474636 TX bytes:889088 

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:1 
          RX bytes:0 TX bytes:0 

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:33 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:33 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:1 
          RX bytes:4154 TX bytes:4154 

eth0      Link encap:Ethernet  HWaddr b8:27:eb:d2:05:32  Driver smsc95xx
          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 TX bytes:0 

有人可以建议Android Things OS是否可以支持额外的USB Wifi适配器,如果有的话,我需要做些什么才能使设备处于活动状态?

0 个答案:

没有答案