内核为 5.9.16_1 的 Void Linux。我在 KDE Plasma 5 上使用 NetworkManager。
每当我尝试使用此适配器连接到网络时,Plasma 会提示“正在配置接口”一段时间,然后提示“找不到 WiFi 网络”。
broadcom-wl-dkms
我从 Void 存储库安装,并且该设备正在使用该wl
驱动程序。这允许 NetworkManager 检测该接口。 NetworkManager 可以使用它来查看网络,但仅此而已。
我可以看出的内容sudo dmesg
是相关的:
[ 4.469892] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 4.471136] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 4.471862] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 4.471863] cfg80211: failed to load regulatory.db
[ 4.505347] wl: loading out-of-tree module taints kernel.
[ 4.505349] wl: module license 'MIXED/Proprietary' taints kernel.
[ 4.505349] Disabling lock debugging due to kernel taint
[ 4.509529] wl 0000:05:00.0: enabling device (0000 -> 0002)
[ 4.527434] wlan0: Broadcom BCM43a0 802.11 Hybrid Wireless Controller 6.30.223.271 (r587334)
[ 4.584803] wl 0000:05:00.0 wlp5s0: renamed from wlan0
这个错误是因为没有/lib/firmware/regulatory.db
文件。我安装了dcma
,有一个/lib/firmware/dcma/regulatory.bin
文件。我已经看过了,但找不到任何包含regulatory.db
.我不确定我还应该在哪里寻找它,或者我是否可以以某种方式从regulatory.bin
.
编辑:我下载regulatory.db
并regulatory.db.p7s
来自这存储库并将它们复制到/lib/firmware
现在这是我得到的sudo dmesg
:
[ 4.440473] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 4.441633] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 4.476573] wl: loading out-of-tree module taints kernel.
[ 4.476576] wl: module license 'MIXED/Proprietary' taints kernel.
[ 4.476577] Disabling lock debugging due to kernel taint
[ 4.480880] wl 0000:05:00.0: enabling device (0000 -> 0002)
[ 4.498936] wlan0: Broadcom BCM43a0 802.11 Hybrid Wireless Controller 6.30.223.271 (r587334)
[ 4.567005] wl 0000:05:00.0 wlp5s0: renamed from wlan0
所以看起来一切cfg80211
正常,要么缺少必要的固件,要么没有被任何东西加载。我如何让它加载固件?
我尝试过wpa_supplicant
,但它一直在打印,wlp5s0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
直到我停止为止。