重新安装 linux-modules 软件包后重新启用 wifi 模块

重新安装 linux-modules 软件包后重新启用 wifi 模块

当我卸载未使用的旧内核时,我意外卸载了那些软件包:

linux-modules-4.15.0-23-generic linux-modules-extra-4.15.0-23-generic     

这使得我的 wifi 适配器失效。

现在重新安装后,系统设置中仍然没有找到 Wifi 适配器

我的笔记本电脑没有 WiFi 按钮,我不知道如何找到正确的模块来重新启用。

我检查了这个QA

$ lspci -nnk | grep 0280 -A2
02:00.0 Network controller [0280]: Intel Corporation Wireless 8265 / 8275 [8086:24fd] (rev 78)
        Subsystem: Intel Corporation Wireless 8265 / 8275 [8086:1010]
        Kernel modules: iwlwifi

$ rfkill list all
0: ideapad_bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
1: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

$ dmesg | grep iwl
[    4.670669] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-8265-34.ucode failed with error -2
...
[    4.674111] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-8265-22.ucode failed with error -2
[    4.674113] iwlwifi 0000:02:00.0: no suitable firmware found!
[    4.675206] iwlwifi 0000:02:00.0: minimum version required: iwlwifi-8265-22
[    4.676197] iwlwifi 0000:02:00.0: maximum version supported: iwlwifi-8265-34
[    4.677331] iwlwifi 0000:02:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

$ lsmod|grep iw
iwlwifi               282624  0
cfg80211              622592  1 iwlwifi

如何重新启用联想 Yoga 720-15IKb 上的模块?

答案1

似乎缺少 linux-firmware 包:

$ apt-file find iwlwifi-8265-34.ucode
linux-firmware: /lib/firmware/iwlwifi-8265-34.ucode

$ LANG=c dpkg -s linux-firmware
dpkg-query: package 'linux-firmware' is not installed

尝试

apt install linux-firmware

然后重新启动。

这对我有用!

相关内容