
Open a text editor and write: #!/bin/bashĪnd save it (example: wifi-fix.sh). We can fix that by making a bash script and scheduling it to run on startup. This will not work on if you’re on a persistent livesystem since you cannot update initramfs due it being a read-only system. Open the file as root with the command: sudo gedit /etc/modprobe.d/nfĪt the end of the file.
#Broadcom 802.11ac network adapter driver ubuntu drivers
You can also prevent the bcma and bcma-pci-bridge drivers from loading altogether by blacklisting them in the /etc/modprobe.d/nf file. Or sudo insmod /lib/modules/5.0.0-23-generic/updates/dkms/wl.ko To remove the bcma and wl modules from the kernel. So, we use the command: sudo modprobe -rv bcma wl But, we need the kernel to use the wl module instead as that’s the one we built while installing the bcmwl-kernel-source package. Subsystem: Hewlett-Packard Company BCM43142 802.11b/g/nĪs we can see, the bcma-pci-bridge driver is in use. You might see something like this: lspci -kĠ4:00.0 Network controller: Broadcom Inc.

To check the kernel drivers handling each of our PCI devices. So I looked into the issue again and came up with a better solution. But building the whole module over and over again seemed unnecessary. My initial solution to this was installing the bcmwl-kernel-source package on startup. I figured I’d do the same thing I did on Ubuntu 19.10, as mentioned in one of my previous posts. After installing Ubuntu 18.04.3 LTS on a persistent live system, I noticed that the Wi-Fi would stop working on every reboot.
