内核更新后 Wifi 停止工作(MacBook Air 2014 上的 Ubuntu 14.04)

内核更新后 Wifi 停止工作(MacBook Air 2014 上的 Ubuntu 14.04)

我必须在 MacBook Air 2014 上运行 Ubuntu 14.04。几年前安装操作系统后,我记得必须使用以太网连接手动安装 wifi 驱动程序。从那时起,Wifi 一直运行良好,直到今天。

在系统更新程序提示进行常规内核更新并随后重新启动后,我的 WiFi 突然停止工作。

当我在命令行中输入“wifi on”时,我现在得到:

wifi      = none (no device)

现在命令“sudo modprobe wl”给我:

modprobe: FATAL: Module wl not found.

阅读其他帖子后,我尝试重新安装 bcmwl-kernel-source 包,但无济于事。

作为参考,sudo lspci -v 输出的相关部分是:

03:00.0 Network controller: Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter (rev 03)
    Subsystem: Apple Inc. Device 0117
    Flags: bus master, fast devsel, latency 0
    Memory at b0600000 (64-bit, non-prefetchable) [size=32K]
    Memory at b0400000 (64-bit, non-prefetchable) [size=2M]
    Capabilities: [48] Power Management version 3
    Capabilities: [58] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [68] Vendor Specific Information: Len=44 <?>
    Capabilities: [ac] Express Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [13c] Device Serial Number 8c-29-00-ff-ff-00-00-01
    Capabilities: [150] Power Budgeting <?>
    Capabilities: [160] Virtual Channel
    Capabilities: [1b0] Latency Tolerance Reporting
    Capabilities: [220] #15

感谢您的帮助

编辑:

“sudo dpkg -s bcmwl-kernel-source”给出:

Package: bcmwl-kernel-source
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 7902
Maintainer: Ubuntu Developers <[email protected]>
Architecture: amd64
Source: bcmwl
Version: 6.30.223.271+bdcom-0ubuntu1~0.1
Replaces: bcmwl-modaliases
Depends: dkms, linux-libc-dev, libc6-dev
Conflicts: bcmwl-modaliases
Description: Broadcom 802.11 Linux STA wireless driver source
 This package contains Broadcom 802.11 Linux STA wireless driver
 for use with Broadcom's BCM4311-, BCM4312-, BCM4313-, BCM4321-,
 BCM4322-, BCM43224-, and BCM43225-, BCM43227- and BCM43228-based
 hardware.
Modaliases: wl(pci:v000014E4d00004311sv*sd*bc02sc80i*, pci:v000014E4d00004312sv*sd*bc02sc80i*, pci:v000014E4d00004313sv*sd*bc02sc80i*, pci:v000014E4d00004315sv*sd*bc02sc80i*, pci:v000014E4d00004727sv*sd*bc02sc80i*, pci:v000014E4d00004328sv*sd*bc02sc80i*, pci:v000014E4d00004328sv*sd*bc02sc80i*, pci:v000014E4d00004329sv*sd*bc02sc80i*, pci:v000014E4d0000432asv*sd*bc02sc80i*, pci:v000014E4d0000432bsv*sd*bc02sc80i*, pci:v000014E4d0000432csv*sd*bc02sc80i*, pci:v000014E4d0000432dsv*sd*bc02sc80i*, pci:v000014E4d00004365sv*sd*bc02sc80i*, pci:v000014E4d00004353sv*sd*bc02sc80i*, pci:v000014E4d00004357sv*sd*bc02sc80i*, pci:v000014E4d00004358sv*sd*bc02sc80i*, pci:v000014E4d00004359sv*sd*bc02sc80i*, pci:v000014E4d00004331sv*sd*bc02sc80i*, pci:v000014E4d000043a0sv*sd*bc02sc80i*, pci:v000014E4d000043B1sv*sd*bc02sc80i*)
Original-Maintainer: Alberto Milone <[email protected]>

“sudo updatedb && located wl.ko” 没有输出。

第二次编辑:

sebastien:~$ sudo apt-get install --reinstall bcmwl-kernel-source
[sudo] password for sebastien: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 4 not upgraded.
Need to get 1,545 kB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  bcmwl-kernel-source
Install these packages without verification? [y/N] y
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-proposed/restricted bcmwl-kernel-source amd64 6.30.223.271+bdcom-0ubuntu1~0.1 [1,545 kB]
Fetched 1,545 kB in 1s (1,010 kB/s)              
(Reading database ... 297568 files and directories currently installed.)
Preparing to unpack .../bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu1~0.1_amd64.deb ...
Removing all DKMS Modules
Done.
Unpacking bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu1~0.1) over (6.30.223.271+bdcom-0ubuntu1~0.1) ...
Setting up bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu1~0.1) ...
Loading new bcmwl-6.30.223.271+bdcom DKMS files...
Building only for 3.13.0-164-generic
Building for architecture x86_64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
modprobe: FATAL: Module wl not found.
update-initramfs: deferring update (trigger activated)
Processing triggers for shim-signed (1.33.1~14.04.3+13-0ubuntu2) ...
Secure Boot not enabled on this system.
Processing triggers for initramfs-tools (0.103ubuntu4.11) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-164-generic

答案1

经过调查,我们发现驱动程序无法正确编译,因为未安装所需的内核头文件:

由于似乎未安装当前正在运行的内核的内核源,因此跳过了当前正在运行的内核的模块构建。modprobe:FATAL:未找到模块 wl。

我建议你这样做:

sudo apt-get update
sudo apt-get install linux-headers-generic

如果没有错误,那么:

sudo apt-get install --reinstall bcmwl-kernel-source

我很高兴它现在可以工作了。

答案2

升级 ubuntu 14.04 机器后,wlan 不再工作。我在 Launchpad 上找到了一个解决方案(https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1818134)。首先,删除 shim-signed 软件包:

sudo apt remove shim-signed

然后再次安装包 bcmwl-kernel-source(--reinstall 也应该有效):

sudo apt remove bcmwl-kernel-source
sudo apt install bcmwl-kernel-source

相关内容