#linux #mac #broadcom #hardware
⚠️ Although this procedure has been tested on a MacBook Air 6,2, it may vary depending on your hardware. If you have a different device or if your process differs from the instructions below, please leave a comment so that I can update this guide accordingly.
Before following the instructions below, make sure your machine is connected to a network. If your machine doesn't have an Ethernet adapter, you can use your phone's hotspot via USB.
After installing the Broadcom wireless driver, you may observe that the initial ramdisk is updated automatically. However, for unknown reasons, this update does not correctly add the driver to the kernel. To fix this issue, we need to remove and re-add the driver using modprobe
. Additionally, we have to rebuild the initramfs once again and reboot for the driver to start working properly.
# install packages
sudo apt update
sudo apt-get install dkms bcmwl-kernel-source
# insert driver into kernel and update initial ramdisk
sudo modprobe -rf wl
sudo modprobe -vv wl
sudo update-initramfs -c -k all
# reboot to activate driver
sudo shutdown -r now
The bcmwl-kernel-source package is not available in Debian. As an alternative, we can use the broadcom-sta-dkms package instead.
# install packages
sudo apt update
sudo apt-get install dkms broadcom-sta-dkms
# insert driver into kernel and update initial ramdisk
sudo modprobe -rf wl
sudo modprobe -vv wl
sudo update-initramfs -c -k all
# reboot to activate driver
sudo shutdown -r now
This works on macbook pro 2012 + kubuntu 24.10.