重启时丢失 wifi

重启时丢失 wifi

我有一台 MacBook Air(2015 年,型号 A1465)。芯片组是 BCM4360:

 *-network
       description: Wireless interface
       product: BCM4360 802.11ac Wireless Network Adapter
       vendor: Broadcom Inc. and subsidiaries
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlp3s0
       version: 03
       serial: 98:e0:d9:7e:d9:ab
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=wl0 driverversion=6.30.223.271 (r587334) ip=192.168.0.6 latency=0 multicast=yes wireless=IEEE 802.11
   resources: irq:18 memory:c1200000-c1207fff memory:c1000000-c11fffff

我使用 rEFInd 启动 Ubuntu 18.04,安装过程中没有问题,除了没有 wifi。我设置了热点并安装了 broadcom-sta-dkms 驱动程序。一切顺利,当我重新启动时 wifi 就可以使用了。

当我重新启动机器时,wifi 就丢失了。

我下载了 broadcom 软件包:broadcom-sta-dkms_6.30.223.271-8_all.deb并运行:

sudo apt install --reinstall broadcom-sta-dkms

得到以下输出:

sudo apt install --reinstall broadcom-sta-dkms                                                                                                        
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 68 not upgraded.
Need to get 0 B/2,204 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 211030 files and directories currently installed.)
Preparing to unpack .../broadcom-sta-dkms_6.30.223.271-8_all.deb ...

-------- Uninstall Beginning --------
Module:  broadcom-sta
Version: 6.30.223.271
Kernel:  4.15.1-041501-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

wl.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.15.1-041501-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod...

Backing up initrd.img-4.15.1-041501-generic to /boot/initrd.img-4.15.1-041501-generic.old-dkms
Making new initrd.img-4.15.1-041501-generic
(If next boot fails, revert to initrd.img-4.15.1-041501-generic.old-dkms image)
update-initramfs........

DKMS: uninstall completed.

------------------------------
Deleting module version: 6.30.223.271
completely from the DKMS tree.
------------------------------
Done.
Unpacking broadcom-sta-dkms (6.30.223.271-8) over (6.30.223.271-8) ...
Setting up broadcom-sta-dkms (6.30.223.271-8) ...
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 4.15.1-041501-generic
Building initial module for 4.15.1-041501-generic
This system does't support Secure Boot
Secure Boot not enabled on this system.
Done.

wl:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.15.1-041501-generic/updates/dkms/

depmod...

Backing up initrd.img-4.15.1-041501-generic to /boot/initrd.img-4.15.1-041501-generic.old-dkms
Making new initrd.img-4.15.1-041501-generic
(If next boot fails, revert to initrd.img-4.15.1-041501-generic.old-dkms image)
update-initramfs.......

DKMS: install completed.

rEFInd 默认尝试启动到.old-dkms映像。因此我进入单用户模式并从新启动initrd.img-4.15.1-041501-generic

wifi 又能用了,直到我重启。然后这个循环就重复了!!

我尝试了很多方法,包括将可能造成干扰的所有其他驱动程序/软件包列入黑名单,但都不起作用。这是我目前拥有的列表/etc/modprobe.d/blacklist.conf

blacklist b43
blacklist b43legacy
blacklist b44
blacklist bcma
blacklist brcm80211
blacklist brcmsmac
blacklist ssb
blacklist b43-fwcutter
blacklist bcm43
blacklist bcm43xx
blacklist ndiswrapper

正在执行:

sudo modprobe wl 

没什么区别

之前也曾有人问过类似的问题,但并没有真正解决我的具体问题

TL;DR:每次重启后我都会失去 wifi。我该怎么办?

答案1

这对我有用。

wget http://mirrors.kernel.org/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu4_amd64.deb
sudo dpkg -i bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu4_amd64.deb

这是来源:BCM4360 802.11ac 无法与 4.15.0-29-lowlatency 最新更新配合使用

相关内容