联想笔记本电脑 Ubuntu 18.04 启动后 Wifi 停止工作

联想笔记本电脑 Ubuntu 18.04 启动后 Wifi 停止工作

在我的 Lenovo Edge-15 上运行18.04.5内核4.15.0-122-generic。安全启动一直被禁用。 有一天,我刚开机时发现 Wi-Fi 无法使用。当我进入 Wi-Fi 设置时,系统显示“未找到 Wi-Fi 适配器”。自动更新会不会关闭或损坏某些功能?

$ sudo lshw -class network
  *-network UNCLAIMED       
       description: Network controller
       product: BCM4360 802.11ac Wireless Network Adapter
       vendor: Broadcom Inc. and subsidiaries
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 03
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: memory:d1100000-d1107fff
$ lspci -vnn | grep Network
02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter [14e4:4360] (rev 03)
    Subsystem: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter [14e4:4360]

$ iwconfig
vmnet8    no wireless extensions.

docker0   no wireless extensions.

lo        no wireless extensions.

enp3s0    no wireless extensions.

vmnet1    no wireless extensions.

Wi-Fi 是否被屏蔽?

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

继续努力安装 Broadcom 无线驱动程序

$ sudo apt list bcmwl-kernel-source
Listing... Done
bcmwl-kernel-source/bionic-updates,now 6.30.223.271+bdcom-0ubuntu5~18.04.1 amd64 [installed]

按照说明清除。重启后仍然没有 Wi-Fi。

$ sudo update-pciids
Downloaded daily snapshot dated 2020-10-11 03:15:01

根据表格,14e4:4360我需要安装

$ sudo apt install firmware-b43-installer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  b43-fwcutter
The following NEW packages will be installed:
  b43-fwcutter firmware-b43-installer

重新启动后仍然没有 Wi-Fi。

sudo modprobe -r b43
sudo modprobe b43    
sudo rfkill unblock all  

在 chili555 发表评论之后

$ sudo modprobe wl
modprobe: FATAL: Module wl not found in directory /lib/modules/4.15.0-122-generic

对输出进行快速搜索可以得出这个答案https://askubuntu.com/a/811015/334823

$ sudo apt-get install --reinstall linux-headers-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 2 not upgraded.
Need to get 2,544 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-headers-generic amd64 4.15.0.122.109 [2,544 B]
Fetched 2,544 B in 0s (28.8 kB/s)                 
(Reading database ... 442641 files and directories currently installed.)
Preparing to unpack .../linux-headers-generic_4.15.0.122.109_amd64.deb ...
Unpacking linux-headers-generic (4.15.0.122.109) over (4.15.0.122.109) ...
Setting up linux-headers-generic (4.15.0.122.109) ...
$ sudo modprobe wl
modprobe: FATAL: Module wl not found in directory /lib/modules/4.15.0-122-generic

我运行$ sudo apt install --reinstall bcmwl-kernel-source后错误消失了sudo modprobe wl(现在什么都没有返回)。但仍然没有 Wi-Fi。

dmesg | grep wl
[   52.474364] wl: loading out-of-tree module taints kernel.
[   52.474369] wl: module license 'MIXED/Proprietary' taints kernel.
[   52.478450] wl: module verification failed: signature and/or required key missing - tainting kernel
[   52.481565] wl driver 6.30.223.271 (r587334) failed with code 1
[   52.481568] ERROR @wl_cfg80211_detach : 
[   52.481569] NULL ndev->ieee80211ptr, unable to deref wl1

在搜索第二行输出后,我发现https://askubuntu.com/a/261934/334823,我尝试过,但没有变化,所以恢复了。

相关内容