我正在尝试诊断我在我的设备上看到的问题LibreELEC.tv 9.0 Alpha 006安装。
如果我运行实时系统,并转到控制台 (CTRL+ALT+F3),以下是 dmesg 显示的内容:
$ dmesg | grep 3945
[ 7.454039] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
[ 7.454043] iwl3945: Copyright(c) 2003-2011 Intel Corporation
[ 7.454045] iwl3945: hw_scan is disabled
[ 7.454178] iwl3945 0000:0c:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 7.508456] iwl3945 0000:0c:00.0: Tunable channels: 13 802.11bg, 23 802.11a channels
[ 7.508461] iwl3945 0000:0c:00.0: Detected Intel Wireless WiFi Link 3945ABG
[ 7.509635] ieee80211 phy0: Selected rate control algorithm 'iwl-3945-rs'
[ 7.532150] iwl3945 0000:0c:00.0: loaded firmware version 15.32.2.9
现在,如果我在此系统上安装 debian(测试)(在此期间我没有更改 BIOS 中的任何内容)。这是我所看到的:
$ dmesg | grep 3945
[ 8.717721] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
[ 8.717724] iwl3945: Copyright(c) 2003-2011 Intel Corporation
[ 8.717810] iwl3945 0000:0c:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 8.771950] iwl3945 0000:0c:00.0: Tunable channels: 13 802.11bg, 23 802.11a channels
[ 8.771954] iwl3945 0000:0c:00.0: Detected Intel Wireless WiFi Link 3945ABG
[ 8.958232] ieee80211 phy0: Selected rate control algorithm 'iwl-3945-rs'
[ 9.756622] iwl3945 0000:0c:00.0 wlp12s0: renamed from wlan0
因此,上面的内容表明我的卡可以工作,它仅作为参考,因为我的目标是使其在 LibreELEC.tv 安装上工作。
我已经关注 dmesg 输出有一段时间了,但我无法理解 LibreELEC.tv 启动期间丢失的黑魔法。与默认 Debian(测试)安装相比,iwl3945 驱动程序的行为与 LibreELEC.tv 安装不同,可能缺少什么?
最后,我希望看到 wlan0 接口列在 ifconfig 的输出中。目前我只看到:
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:18:8B:B8:08:CD
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)
Interrupt:17
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: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)