在 Ubuntu 16.04 上安装 iwlwifi 时出现问题

在 Ubuntu 16.04 上安装 iwlwifi 时出现问题

我是 Ubuntu 新手,使用安装了 Ubuntu 16.04 的 UP BOARD。

我按照这个安装iwlwifi:https://github.com/HappyZ/iw_intel8260_localization/wiki/Enable-802.11mc-FTM-on-Intel-8260

在安装过程中,在“ sudo make -j4 ”之后,出现许多“ symbolmap: 00000001: invalid section ”。

像这样 :

symbolmap: 00000001: invalid section
  CC [M]  /lib/firmware/backport-iwlwifi/net/mac80211/aes_gcm.o
symbolmap: 00000001: invalid section
  CC [M]  /lib/firmware/backport-iwlwifi/drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info.o
symbolmap: 00000001: invalid section
  CC [M]  /lib/firmware/backport-iwlwifi/drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.o
  CC [M]  /lib/firmware/backport-iwlwifi/drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.o
  CC [M]  /lib/firmware/backport-iwlwifi/net/mac80211/aes_cmac.o
symbolmap: 00000001: invalid section
  CC [M]  /lib/firmware/backport-iwlwifi/drivers/net/wireless/intel/iwlwifi/trans_slave/shared.o
symbolmap: 00000001: invalid section
  CC [M]  /lib/firmware/backport-iwlwifi/drivers/net/wireless/intel/iwlwifi/trans_slave/sdio_drv.o
  CC [M]  /lib/firmware/backport-iwlwifi/net/mac80211/aes_gmac.o
symbolmap: 00000001: invalid section

我不知道这是一个错误还是正常情况。

在“ sudo make install ”之后,我得到了

$ sudo make install
INSTALL /lib/firmware/backport-iwlwifi/compat/compat.ko
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory

但根据指南,这是可以的。

当我重新启动时,我得到了

$ cat /var/log/syslog | grep -a iwlwifi
Dec 12 09:36:33 vector-UP-APL01 kernel: [   10.400932] Loading modules backported from iwlwifi
Dec 12 09:36:33 vector-UP-APL01 kernel: [   10.400934] iwlwifi-stack-public:release/LinuxCore30:6410:b52d6444
Dec 12 09:36:33 vector-UP-APL01 kernel: [   10.447909] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002)
Dec 12 09:36:33 vector-UP-APL01 kernel: [   10.460412] iwlwifi 0000:04:00.0: Direct firmware load for iwl-dbg-cfg.ini failed with error -2
Dec 12 09:36:33 vector-UP-APL01 kernel: [   10.468110] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-33.ucode failed with error -2
Dec 12 09:36:33 vector-UP-APL01 kernel: [   10.468420] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-32.ucode failed with error -2
Dec 12 09:36:33 vector-UP-APL01 kernel: [   10.481075] iwlwifi 0000:04:00.0: loaded firmware version 31.560484.0 op_mode iwlmvm
Dec 12 09:36:33 vector-UP-APL01 kernel: [   10.512214] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
Dec 12 09:36:33 vector-UP-APL01 kernel: [   10.583687] iwlwifi 0000:04:00.0: base HW address: 38:de:ad:27:d0:e9
Dec 12 09:36:33 vector-UP-APL01 kernel: [   10.803541] iwlwifi 0000:04:00.0 wlp4s0: renamed from wlan0
Dec 12 09:36:33 vector-UP-APL01 NetworkManager[811]: <info>  [1576114593.5811] rfkill1: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:13.3/0000:04:00.0/ieee80211/phy0/rfkill1) (driver iwlwifi)

当我完成本教程的其余部分时,一切都显示正确,只是最终结果与预期不同。

表明

Target: 38:de:ad:27:d0:e9, status: 4, rtt: 0 psec, distance: 0 cm

但不是

status: 0

这意味着我失败了。按照作者的说法,我重做了这些步骤,但仍然失败。

请问我该怎么办?

我查找了相关主题并尝试了一些解决方案。

根据无法检测到无线驱动程序英特尔 ac wireless 9560 [包含日志],我做到了:

sudo apt update
sudo apt upgrade

重启后,我得到了这个:

$ dmesg | grep iwl
[   10.362192] Loading modules backported from iwlwifi
[   10.362193] iwlwifi-stack-public:release/LinuxCore30:6410:b52d6444
[   10.410275] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002)
[   10.435415] iwlwifi 0000:04:00.0: Direct firmware load for iwl-dbg-cfg.ini failed with error -2
[   10.437919] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-33.ucode failed with error -2
[   10.441308] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-32.ucode failed with error -2
[   10.470903] iwlwifi 0000:04:00.0: loaded firmware version 31.560484.0 op_mode iwlmvm
[   10.508139] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
[   10.582355] iwlwifi 0000:04:00.0: base HW address: 38:de:ad:27:d0:e9
[   10.669805] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[   10.743291] iwlwifi 0000:04:00.0 wlp4s0: renamed from wlan0

看来,它不起作用。

此外,升级后我的固件文件包括:

iwlwifi-8000C-34.ucode
iwlwifi-8000C-36.ucode

相关内容