内核升级到 4.15 或 4.16 后没有 wifi

Sim*_*sen 3 wireless networking broadcom modprobe

我在 Ubuntu 16.04 上,我有这个网卡:https : //www.tp-link.com/uk/products/details/cat-11_Archer-T6E.html

使用内核 4.14.x 一切正常。但是当升级到 4.15.x 或 4.16 时,我看不到任何 wifi 连接。但是我可以通过手机的 USB 获得临时连接。

lspci -knn | grep Net -A2 返回

04:00.0 Network controller [0280]: Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)
Subsystem: Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter [14e4:0619]
Kernel modules: bcma
Run Code Online (Sandbox Code Playgroud)

当我尝试做 modprobe wl

modprobe: FATAL: Module wl not found in directory /lib/modules/4.16.0-041600-generic
Run Code Online (Sandbox Code Playgroud)

我试过重新安装 bcmwl-kernel-source

sudo apt purge bcmwl-kernel-source
sudo apt-get install --reinstall linux-headers-generic
sudo apt-get install bcmwl-kernel-source
Run Code Online (Sandbox Code Playgroud)

但这导致

The following NEW packages will be installed:


bcmwl-kernel-source
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,544 kB of archives.
After this operation, 8,064 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 bcmwl-kernel-source amd64 6.30.223.271+bdcom-0ubuntu1~1.2 [1,544 kB]
Fetched 1,544 kB in 0s (2,774 kB/s)           
Selecting previously unselected package bcmwl-kernel-source.
(Reading database ... 499695 files and directories currently installed.)
Preparing to unpack .../bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu1~1.2_amd64.deb ...
Unpacking bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu1~1.2) ...
Setting up bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu1~1.2) ...
Loading new bcmwl-6.30.223.271+bdcom DKMS files...
First Installation: checking all kernels...
Building only for 4.16.0-041600-generic
Building for architecture x86_64
Building initial module for 4.16.0-041600-generic
ERROR (dkms apport): kernel package linux-headers-4.16.0-041600-generic is not supported
Error! Bad return status for module build on kernel: 4.16.0-041600-generic (x86_64)
Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more information.
modprobe: FATAL: Module wl not found in directory /lib/modules/4.16.0-041600-generic
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.122ubuntu8.11) ...
update-initramfs: Generating /boot/initrd.img-4.16.0-041600-generic
Run Code Online (Sandbox Code Playgroud)

这是输出 /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log

https://pastebin.com/UP4Gm1Td

Pil*_*ot6 7

答案很明显。Broadcom 专有驱动程序不是为最新内核构建的。

此外,Ubuntu 不正式支持 4.15 和 4.16 内核。

您可以尝试 18.04 Ubuntu 版本的驱动程序 http://mirrors.kernel.org/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu4_amd64.deb

它可以为 4.15 内核构建。