This article details how to install and setup a Broadcom wireless network device.
- 1 History
- 2 Driver selection
- 3 Installation
- 4 Troubleshooting
- 4.1 Setting broadcom-wl in monitor mode
- 4.2 Device inaccessible after kernel upgrade
- 4.3 Device with broadcom-wl driver not working/showing
- 4.4 Interfaces swapped with broadcom-wl
- 4.5 Interface is showing but not allowing connections
- 4.6 Suppressing console messages
- 4.7 Device BCM43241 non-detected
- 4.8 Connection is unstable with some routers
Broadcom has a noted history with its support for Wi-Fi devices regarding GNU/Linux. For a good portion of its initial history, Broadcom devices were either entirely unsupported or required the user to tinker with the firmware. The limited set of wireless devices that were supported were done so by a reverse-engineered driver. The reverse-engineered
b43 driver was introduced in the 2.6.24 kernel.
In August 2008, Broadcom released the 802.11 Linux STA driver officially supporting Broadcom wireless devices on GNU/Linux. This is a restrictively licensed driver and it does not work with hidden ESSIDs, but Broadcom promised to work towards a more open approach in the future.
In September 2010, Broadcom released a fully open source driver. The brcm80211 driver was introduced in the 2.6.37 kernel and in the 2.6.39 kernel it was sub-divided into the
The types of available drivers are:
|brcm80211||Kernel driver open-source version|
|b43||Kernel driver reverse-engineered version|
|broadcom-wl||Broadcom driver restricted-license|
To know what driver(s) are operable on the computer's Broadcom wireless network device, the device ID and chipset name will need to be detected. Cross-reference them with the driver list of supported brcm80211 and b43 devices.
$ lspci -vnn -d 14e4:
The kernel contains two built-in open-source drivers: brcmsmac for PCI backends and brcmfmac for SDIO/USB backends. They should be automatically loaded when booting.
Two reverse-engineered open-source drivers are built-in to the kernel: b43 and b43legacy. b43 supports most newer Broadcom chipsets, while the b43legacy driver only supports the early BCM4301 and BCM4306 rev.2 chipsets. To avoid erroneous detection of your WiFi card's chipset, blacklist the unused driver.
Both of these drivers require non-free firmware to function. Install AUR.AUR, AUR or AUR from the
There are two version in AUR of the restrictively licensed driver:
- the standard AUR
- and the DKMS variant AUR
An Internet connection is the ideal way to install the broadcom-wl driver; many newer laptops with Broadcom cards forgo Ethernet ports, so a USB Ethernet adapter or Android tethering may be helpful. If you have neither, you'll need to first install the group during installation. Then, use another Internet-connected computer to download and the driver tarball from the AUR, and install them in that order.
Install the appropriate driver for your system architecture from Broadcom's website. After this, to avoid driver/module collisions with similar modules and make the driver available, do:
# rmmod b43 # rmmod ssb # modprobe wl
The wl module should automatically load lib80211 or lib80211_crypt_tkip otherwise they will have to be manually loaded.
If the driver does not work at this point, you may need to update dependencies:
# depmod -a
Setting broadcom-wl in monitor mode
To set broadcom-wl in monitor mode you have to set 1 to
# echo 1 > /proc/brcm_monitor0
It will create a new network interface called
To work in monitor mode, use this newly created network interface.
Device inaccessible after kernel upgrade
Since the 3.3.1 kernel the bcma module was introduced. If using a brcm80211 driver be sure it has not been blacklisted. It should be blackisted if using a b43 driver.
If you are usingAUR, uninstall and reinstall it after upgrading your kernel.
Device with broadcom-wl driver not working/showing
Be sure the correct modules are blacklisted and occasionally it may be necessary to blacklist the brcm80211 drivers if accidentally detected before the wl driver is loaded. Furthermore, update the modules dependencies
depmod -a, verify the wireless interface with
ip addr, kernel upgrades will require an upgrade of the non-DKMS package.
Interfaces swapped with broadcom-wl
Users of the broadcom-wl driver may find their Ethernet and Wi-Fi interfaces have been swapped. See device naming for an answer.
Interface is showing but not allowing connections
Append the following kernel parameter:
Suppressing console messages
You may continuously get some verbose and annoying messages during the boot, similar to
phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 0 (implement) phy0: brcms_ops_bss_info_changed: qos enabled: false (implement) phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 1 (implement) enabled, active
To disable those messages, increase the loglevel of printk messages that get through to the console - see Silent boot#sysctl.
Device BCM43241 non-detected
This device will not display with either
lsusb; there is no known solution yet. Please remove this section when resolved.
Connection is unstable with some routers
If no other approaches help, install previous driver version., or use a