所以我们又来了。在干净的 Ubuntu 18.04 LTS 安装中又出现了 Wi-Fi 问题。
dmesg | grep iwl
给了我这个:
[ 1.644366] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[ 1.674861] iwlwifi 0000:00:14.3: loaded firmware version 43.95eb4e97.0 op_mode iwlmvm
[ 1.694573] iwlwifi 0000:00:14.3: Detected Intel(R) Dual Band Wireless AC 9462, REV=0x354
[ 6.709017] iwlwifi 0000:00:14.3: Failed to load firmware chunk!
[ 6.709020] iwlwifi 0000:00:14.3: iwlwifi transaction failed, dumping registers
[ 6.709021] iwlwifi 0000:00:14.3: iwlwifi device config registers:
[ 6.709093] iwlwifi 0000:00:14.3: 00000000: 02f08086 00100406 02800000 00800000 a1218004 00000000 00000000 00000000
[ 6.709094] iwlwifi 0000:00:14.3: 00000020: 00000000 00000000 00000000 42a48086 00000000 000000c8 00000000 000001ff
[ 6.709095] iwlwifi 0000:00:14.3: iwlwifi device memory mapped registers:
[ 6.709123] iwlwifi 0000:00:14.3: 00000000: 58489004 00000040 00000000 00000000 00000000 00000000 00000000 00000000
[ 6.709124] iwlwifi 0000:00:14.3: 00000020: 00000011 0c040005 00000351 d55555d5 d55555d5 d55555d5 80008040 001f0040
[ 6.709141] iwlwifi 0000:00:14.3: Could not load the [0] uCode section
[ 6.709161] iwlwifi 0000:00:14.3: Failed to start INIT ucode: -110
[ 6.709162] iwlwifi 0000:00:14.3: Collecting data: trigger 15 fired.
[ 6.916301] iwlwifi 0000:00:14.3: Failing on timeout while stopping DMA channel 8 [0x0bad1122]
[ 6.928661] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110
lspci
并且由于某种原因,网络控制器被列为而02f0
不是英特尔双频无线 9462:
00:14.3 Network controller: Intel Corporation Device 02f0
答案1
我解决了。以下是按顺序在终端中输入的命令。确保您有以太网或一些外部 WiFi 适配器来访问互联网。我使用了用于黑客攻击的 USB WiFi 适配器。-
sudo apt update
sudo apt install git build-essential
git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git
cd backport-iwlwifi/
make defconfig-iwlwifi-public
sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config
make -j4
sudo make install
sudo modprobe iwlwifi
答案2
现在还有其他选择,backports-iwlwifi-dkms
在 Ubuntu 存储库中,如果该版本不够新,还有这个:https://launchpad.net/~canonical-hwe-team/+archive/ubuntu/backport-iwlwifi
dkms 包的优点是您不必在每次内核更新后重新安装反向移植。