如何让我电脑上的 Wi-Fi 正常工作?

如何让我电脑上的 Wi-Fi 正常工作?

在 Ubuntu Base 更新后,我的 MSI PS42 笔记本电脑上的 wifi 停止工作。目前只有以太网可用。从 21.04 更新到 21.10 后问题仍未解决。

调查过额外的司机软件和更新检查驱动程序,没有可用的。

网卡型号为Intel Corporation Cannon Point-LP CNVi

sudo modprobe iwlwifi && sudo dmesg |查找

[    2.691703] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    2.709264] iwlwifi 0000:00:14.3: WRT: Overriding region id 0
[    2.709270] iwlwifi 0000:00:14.3: WRT: Overriding region id 1
[    2.709272] iwlwifi 0000:00:14.3: WRT: Overriding region id 2
[    2.709274] iwlwifi 0000:00:14.3: WRT: Overriding region id 3
[    2.709276] iwlwifi 0000:00:14.3: WRT: Overriding region id 4
[    2.709277] iwlwifi 0000:00:14.3: WRT: Overriding region id 6
[    2.709279] iwlwifi 0000:00:14.3: WRT: Overriding region id 8
[    2.709281] iwlwifi 0000:00:14.3: WRT: Overriding region id 9
[    2.709282] iwlwifi 0000:00:14.3: WRT: Overriding region id 10
[    2.709284] iwlwifi 0000:00:14.3: WRT: Overriding region id 11
[    2.709286] iwlwifi 0000:00:14.3: WRT: Overriding region id 15
[    2.709287] iwlwifi 0000:00:14.3: WRT: Overriding region id 16
[    2.709289] iwlwifi 0000:00:14.3: WRT: Overriding region id 18
[    2.709291] iwlwifi 0000:00:14.3: WRT: Overriding region id 19
[    2.709292] iwlwifi 0000:00:14.3: WRT: Overriding region id 20
[    2.709294] iwlwifi 0000:00:14.3: WRT: Overriding region id 21
[    2.709295] iwlwifi 0000:00:14.3: WRT: Overriding region id 28
[    2.709915] iwlwifi 0000:00:14.3: loaded firmware version 46.6b541b68.0 9000-pu-b0-jf-b0-46.ucode op_mode iwlmvm
[    2.776598] iwlwifi 0000:00:14.3: Detected Intel(R) Wireless-AC 9560 160MHz, REV=0x318
[    3.796049] iwlwifi 0000:00:14.3: SecBoot CPU1 Status: 0x3, CPU2 Status: 0x2318
[    3.796058] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[    4.044829] iwlwifi 0000:00:14.3: Not valid error log pointer 0x00000000 for Init uCode
[    4.044866] iwlwifi 0000:00:14.3: IML/ROM dump:
[    4.044867] iwlwifi 0000:00:14.3: 0x00000000 | IML/ROM error/state
[    4.044885] iwlwifi 0000:00:14.3: 0x00000003 | IML/ROM data1
[    4.044896] iwlwifi 0000:00:14.3: Fseq Registers:
[    4.044904] iwlwifi 0000:00:14.3: 0x8D824954 | FSEQ_ERROR_CODE
[    4.044912] iwlwifi 0000:00:14.3: 0x00000000 | FSEQ_TOP_INIT_VERSION
[    4.044921] iwlwifi 0000:00:14.3: 0x667B8C02 | FSEQ_CNVIO_INIT_VERSION
[    4.044929] iwlwifi 0000:00:14.3: 0x0000A384 | FSEQ_OTP_VERSION
[    4.044937] iwlwifi 0000:00:14.3: 0x8D079AAF | FSEQ_TOP_CONTENT_VERSION
[    4.044946] iwlwifi 0000:00:14.3: 0xCFE8A255 | FSEQ_ALIVE_TOKEN
[    4.044954] iwlwifi 0000:00:14.3: 0x77347C69 | FSEQ_CNVI_ID
[    4.044962] iwlwifi 0000:00:14.3: 0x6417ECA2 | FSEQ_CNVR_ID
[    4.044971] iwlwifi 0000:00:14.3: 0x01000100 | CNVI_AUX_MISC_CHIP
[    4.044981] iwlwifi 0000:00:14.3: 0x01300202 | CNVR_AUX_MISC_CHIP
[    4.044992] iwlwifi 0000:00:14.3: 0x0000485B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[    4.045033] iwlwifi 0000:00:14.3: 0xA5A5A5A2 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[    4.045042] iwlwifi 0000:00:14.3: Failed to start INIT ucode: -110
[    4.045053] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
[    4.778185] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110

rfkill 列出全部 rfkill 列出全部

0: hci0: Bluetooth
    Soft blocked: yes
    Hard blocked: no

~# sudo dmesg |初始化

[    2.037143] systemd[1]: systemd 248.3-1ubuntu8 running in system mode. (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS -OPENSSL +ACL +BLKID +CURL +ELFUTILS -FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP -LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    4.172091] iwlwifi 0000:00:14.3: 0x00000000 | FSEQ_TOP_INIT_VERSION
[    4.172100] iwlwifi 0000:00:14.3: 0x767B8C02 | FSEQ_CNVIO_INIT_VERSION
[    4.172227] iwlwifi 0000:00:14.3: Failed to start INIT ucode: -110
[    4.935720] iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110 

答案1

随着进一步调查的继续,这将是一个临时的答案。

首先,如果这是与 Windows 的双启动,请禁用快速启动:https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi#about_dual-boot_with_windows_and_fast-boot_enabled

接下来我们尝试一个驱动程序参数:

sudo -i
echo "options iwlwifi uapsd_disable=1"  >> /etc/modprobe.d/iwlwifi.conf
exit

重启并检查:

sudo dmesg | grep INIT

参考:https://bbs.archlinux.org/viewtopic.php?pid=1918191#p1918191(注意:虽然这里讨论了几个可能的驱动参数,但我还是希望一次只尝试最有可能的一个。)

最后,soft blocked:yes通常表示网络管理器中未启用无线网络。请使用“设置”启用它。

答案2

很抱歉重新发布旧帖子,我只是想分享一个可能的解决方案。我在让 Intel WiFi 6E AX211 与 Ubuntu 20.04 配合使用时遇到了类似的问题。为我解决这个问题的方法是为 iwlwifi 安装一个额外的内核模块。我在搜索适用于 focal (20.04) 的内核包时偶然发现了它。 https://packages.ubuntu.com/focal/kernel/

如果您使用的是不同版本的 Ubuntu,只需将上面 URL 中的 focal 替换为您的版本。例如,jammy 代表 22.04,lunar 代表 23.04,等等。

具体来说,就我的情况而言,我安装了 linux-modules-iwlwifi-5.15.0-91-generic ,重新启动,现在我的 wifi 可以正常工作了。

相关内容