|
root@aml_openwrt:~# lshw
最近一直在努力做N1 用docker方式跑OP,来回折腾了2周多,昨晚熬到凌晨,终于取得突破式进展,N1做主路由方式,飞机GFW模式搞定,接无线访问国内也一切正常了。
今天看到有兄弟发图说OP也搞定了WIFI,心中一热,自己也开始琢磨怎么能搞定OP的WIFI。
要搞定WIFI,首先要知道原来armbian用的什么驱动,遂搜到一个lswh命令
在armbian提示符号下输入lshw,出现下面一些信息
其中查到WLAN0中有driver=brcmfmac的字样,而openwrt的WIFI选项编译里,也有brcmfmac这个,那么自己尝试编译一下,看能否驱动起来。
但下面的信息有个非常意外的发现,就是usbhost:1赫然显示的是usb-3.00,真的假的,呵呵?
*-usbhost:1
product: xHCI Host Controller
vendor: Linux 4.18.7-aml-s9xxx xhci-hcd
physical id: 2
bus info: usb@2
logical name: usb2
version: 4.18
capabilities: usb-3.00
configuration: speed=5000Mbit/s
***************************************************************************
aml_openwrt
description: Computer
product: Phicomm N1
width: 64 bits
capabilities: smp
*-core
description: Motherboard
physical id: 0
*-cpu:0
description: CPU
product: cpu
physical id: 0
bus info: cpu@0
size: 1512MHz
capacity: 1512MHz
capabilities: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid cpufreq
*-cpu:1
description: CPU
product: cpu
physical id: 1
bus info: cpu@1
size: 1512MHz
capacity: 1512MHz
capabilities: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid cpufreq
*-cpu:2
description: CPU
product: cpu
physical id: 2
bus info: cpu@2
size: 1512MHz
capacity: 1512MHz
capabilities: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid cpufreq
*-cpu:3
description: CPU
product: cpu
physical id: 3
bus info: cpu@3
size: 1512MHz
capacity: 1512MHz
capabilities: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid cpufreq
*-cpu:4 DISABLED
description: CPU
product: l2-cache0
physical id: 4
bus info: cpu@4
*-memory
description: System memory
physical id: 5
size: 1846MiB
*-usbhost:0
product: xHCI Host Controller
vendor: Linux 4.18.7-aml-s9xxx xhci-hcd
physical id: 1
bus info: usb@1
logical name: usb1
version: 4.18
capabilities: usb-2.00
configuration: driver=hub slots=2 speed=480Mbit/s
*-usbhost:1
product: xHCI Host Controller
vendor: Linux 4.18.7-aml-s9xxx xhci-hcd
physical id: 2
bus info: usb@2
logical name: usb2
version: 4.18
capabilities: usb-3.00
configuration: speed=5000Mbit/s
*-network:0
description: Ethernet interface
physical id: 3
logical name: mac0
serial: b2:2e:55:c3:ae:c1
size: 1Gbit/s
capacity: 1Gbit/s
capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=macvlan driverversion=0.1 duplex=full ip=192.168.2.222 link=yes multicast=yes port=MII speed=1Gbit/s
*-network:1
description: Ethernet interface
physical id: 4
logical name: docker0
serial: 02:42:69:62:5e:f1
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=172.17.0.1 link=no multicast=yes
*-network:2 DISABLED
description: Ethernet interface
physical id: 5
logical name: wlan0
serial: 00:90:4c:c5:12:38
capabilities: ethernet physical
configuration: broadcast=yes driver=brcmfmac driverversion=7.45.69 firmware=01-24037f6e multicast=yes
*-network:3
description: Ethernet interface
physical id: 6
logical name: eth0
serial: fc:7c:02:4b:d0:cf
size: 1Gbit/s
capacity: 1Gbit/s
capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=st_gmac driverversion=Jan_2016 duplex=full link=yes multicast=yes port=MII promiscuous=yes speed=1Gbit/s
|
|