原文地址:https://wiki.debian.org/wl#issues
- Add a “non-free” component to /etc/apt/sources.list for your Debian version, for example:
# Debian 9 “Stretch”
deb Index of /debian stretch-backports main contrib non-free
# Debian 10 “Buster”
deb Index of /debian buster-backports main contrib non-free
# Debian 11 “Bullseye”
deb Index of /debian bullseye main contrib non-free
# Debian 12 “Bookworm”
deb Index of /debian bookworm main contrib non-free-firmware non-free
- Update the list of available packages. Install the relevant/latest linux-image, linux-headers and broadcom-sta-dkms packages:
# apt-get update
# apt-get install linux-image-$(uname -r|sed ‘s,[^-]-[^-]-,’) linux-headers-$(uname -r|sed ‘s,[^-]-[^-]-,’) broadcom-sta-dkms
This will also install the recommended wireless-tools package. DKMS will build the wl module for your system.
- (Optional) Rescue if install/build fails in previous step
# apt-get install -f
# dpkg-reconfigure broadcom-sta-dkms
- (Optional) Check all the built DKMS kernel modules. There should be “wl.ko” in the list.
# find /lib/modules/$(uname -r)/updates
- Unload conflicting modules:
# modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
- Load the wl module:
# modprobe wl
- Configure your wireless interface as appropriate.