![无法在 Ostro (Yocto) 上使用 WiFi](https://linux22.com/image/125753/%E6%97%A0%E6%B3%95%E5%9C%A8%20Ostro%20(Yocto)%20%E4%B8%8A%E4%BD%BF%E7%94%A8%20WiFi.png)
我刚刚构建了一个 Ostro os 映像并将其烘焙到我拥有的硬件上。但是我无法让 WiFi 工作。
以下是用于调试的命令的输出:
root@intel-corei7-64:~# uname -a
Linux intel-corei7-64 4.4.32-yocto-standard #1 SMP PREEMPT Tue Jan 16 19:01:12 IST 2018 x86_64 GNU/Linux
root@intel-corei7-64:~# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1%119/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1760 errors:0 dropped:0 overruns:0 frame:0
TX packets:1760 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:127360 (124.3 KiB) TX bytes:127360 (124.3 KiB)
root@intel-corei7-64:~# lspci
00:00.0 Host bridge: Intel Corporation Braswell SoC Transaction Router (rev 35)
00:02.0 VGA compatible controller: Intel Corporation Braswell Integrated Graphics Controller (rev 35)
00:03.0 Multimedia controller: Intel Corporation Braswell ISP Camera (rev 35)
00:0b.0 Signal processing controller: Intel Corporation Braswell P-Unit Power Management (rev 35)
00:14.0 USB controller: Intel Corporation Braswell USB xHCI Host Controller (rev 35)
00:1a.0 Encryption controller: Intel Corporation Braswell Trusted Execution Engine Interface (rev 35)
00:1c.0 PCI bridge: Intel Corporation Braswell PCIe Port 1 (rev 35)
00:1c.1 PCI bridge: Intel Corporation Braswell PCIe Port 2 (rev 35)
00:1f.0 ISA bridge: Intel Corporation Braswell Platform Controller Unit LPC (rev 35)
00:1f.3 SMBus: Intel Corporation Braswell Platform Controller Unit SMBus (rev 35)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88W8897 [AVASTAR] 802.11ac Wireless
当我跑步时:
connmanctl enable wifi
Error wifi: Method "SetProperty" with signature "sv" on interface "net.connman.Technology" doesn't exist
这里缺少什么?
答案1
根据https://cateee.net/lkddb/web-lkddb/MWIFIEX.html,您必须有 CONFIG_MWIFIEX 才能支持 Marvell Technology Group Ltd. 88W8897 [AVASTAR] 802.11ac 无线。
最有可能的是,您必须重新配置内核才能包含此内容。
编辑:通常默认内核提供选项来检查其配置,如下所示(在目标计算机上)
zcat /proc/config.gz | grep "CONFIG_MWIFIEX"