Eu tenho um cartão iwlwifi embutido na minha placa -mãe . Eu posso ver o cartão, embora ele seja exibido como um cartão ethernet?
hutber@hutber:~$ lspci -nnk | grep 0280 -A3
00:14.3 Network controller [0280]: Intel Corporation Device [8086:7af0] (rev 11)
DeviceName: Onboard - Ethernet
Subsystem: Intel Corporation Device [8086:0094]
Kernel modules: iwlwifi
No entanto, ao verificar se está funcionando corretamente, certamente reclama do firmware:
hutber@hutber:~$ dmesg | grep iwl
[ 9.236975] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[ 9.238500] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-63.ucode failed with error -2
[ 9.238598] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-62.ucode failed with error -2
[ 9.238694] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-61.ucode failed with error -2
[ 9.238710] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-60.ucode failed with error -2
[ 9.238725] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-59.ucode failed with error -2
[ 9.238738] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-58.ucode failed with error -2
[ 9.238750] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-57.ucode failed with error -2
[ 9.238902] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-56.ucode failed with error -2
[ 9.238991] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-55.ucode failed with error -2
[ 9.239005] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-54.ucode failed with error -2
[ 9.239017] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-53.ucode failed with error -2
[ 9.239031] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-52.ucode failed with error -2
[ 9.239044] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-51.ucode failed with error -2
[ 9.239148] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-50.ucode failed with error -2
[ 9.239161] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-49.ucode failed with error -2
[ 9.239173] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-48.ucode failed with error -2
[ 9.239186] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-47.ucode failed with error -2
[ 9.239197] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-46.ucode failed with error -2
[ 9.239212] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-45.ucode failed with error -2
[ 9.239225] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-44.ucode failed with error -2
[ 9.239234] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-43.ucode failed with error -2
[ 9.239246] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-42.ucode failed with error -2
[ 9.239258] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-41.ucode failed with error -2
[ 9.239269] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-40.ucode failed with error -2
[ 9.239281] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-gf-a0-39.ucode failed with error -2
[ 9.239282] iwlwifi 0000:00:14.3: no suitable firmware found!
[ 9.239300] iwlwifi 0000:00:14.3: minimum version required: iwlwifi-so-a0-gf-a0-39
[ 9.239319] iwlwifi 0000:00:14.3: maximum version supported: iwlwifi-so-a0-gf-a0-63
[ 9.239338] iwlwifi 0000:00:14.3: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
Então, tentei instalar sudo apt install backport-iwlwifi-dkms
, mas fui esbofeteado pelos cães do computador por fotografar no escuro:
hutber@hutber:~$ sudo apt install backport-iwlwifi-dkms
[sudo] password for hutber:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-5.4.0-105 linux-headers-5.4.0-105-generic linux-image-5.4.0-105-generic linux-modules-5.4.0-105-generic
linux-modules-extra-5.4.0-105-generic
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed
backport-iwlwifi-dkms
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 1,568 kB of archives.
After this operation, 10.0 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 backport-iwlwifi-dkms all 8324-0ubuntu3~20.04.4 [1,568 kB]
Fetched 1,568 kB in 1s (2,130 kB/s)
Selecting previously unselected package backport-iwlwifi-dkms.
(Reading database ... 509974 files and directories currently installed.)
Preparing to unpack .../backport-iwlwifi-dkms_8324-0ubuntu3~20.04.4_all.deb ...
Unpacking backport-iwlwifi-dkms (8324-0ubuntu3~20.04.4) ...
Setting up backport-iwlwifi-dkms (8324-0ubuntu3~20.04.4) ...
Loading new backport-iwlwifi-8324 DKMS files...
Building for 5.13.0-39-generic
Building initial module for 5.13.0-39-generic
Error! The /var/lib/dkms/backport-iwlwifi/8324/5.13.0-39-generic/x86_64/dkms.conf for module backport-iwlwifi includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch. This indicates that it should not be built.
Skipped.
Estou executando o Ubuntu 20.04 com kernel 5.13.0-39
Seu problema imediato é que você está executando com o kernel 20.04 mais recente 5.13.0-39-generic, e você não possui os
iwlwifi-so*.ucode
arquivos de firmware adequados para sua placa wifi, e obackport-iwlwifi-dkms
que você tentou instalar não funcionará com seu núcleo atual.O
iwlwifi-so-a0-gf-a0-63.ucode
firmware necessário parece não existir em nenhum doslinux-firmware
blobs.backport-iwlwifi-dkms_8324-0ubuntu3~20.04.4_all.deb
não será instalado no kernel 20.04 mais recente 5.13.0-39-generic sem modificações. Veja aqui . Mas isso não vai funcionar de qualquer maneira.Remova o
backport-iwlwifi
módulo mais antigo que você tentou instalar...sudo dkms remove backport-iwlwifi/8324 -k 5.13.0-39-generic
Você precisará obter a versão travessa
backport-iwlwifi-dkms
daqui e a mais recentelinux-firmware
daqui .Instale os dois arquivos desta forma...
sudo dpkg -i backport-iwlwifi-dkms_9340-0ubuntu4_all.deb
Expanda
linux-firmware-20220310.tar.gz
esudo cp
os arquivos iwlwifi-so* para /lib/firmware.reboot
Teste novamente o wifi.