BWN(4)
π BWN(4) β the Broadcom BCM43xx SoftMAC IEEE 802.11 wireless network driver, bestie edition π
okay so. you found bwn(4). this is the Kernel Interfaces Manual page for it, and i'm gonna walk you through it like we're texting at 2am. grab a snack π
β¨ NAME β¨
bwn β the Broadcom BCM43xx SoftMAC IEEE 802.11 wireless network driver. that's it. that's the name. she's a wifi driver and she's serving π
π¦ SYNOPSIS π¦
so like, there's two ways to get her in your life. option one: bake her straight into the kernel. add these lines to your kernel configuration file:
device bwn
device bhnd
device bhndb
device bhndb_pci
device bcma
device siba
device gpio
device wlan
device wlan_amrr
device firmware
option two, the low-effort slay: load her as a module at boot. add this to loader.conf(5):
if_bwn_load="YES"
that's it. no cap, that's the whole thing. π
πΈ DESCRIPTION πΈ
so bwn is the driver that provides support for Broadcom BCM43xx based PCI/CardBus network adapters. it's giving "i support a very specific era of hardware and i do it well." π
she supports station and monitor mode operation. but listen β only one virtual interface may be configured at any time. one. not two. don't try it. for more info on configuring this device, go see ifconfig(8).
π¨ IMPORTANT ONE, bestie: this driver requires firmware to be loaded before it will work. you gotta install theports/net/bwn-firmware-kmodport beforeifconfig(8)will even function. in most cases you want thebwn_v4_ucodekernel module from the port. BUT β if an LP (low power) PHY is being used, you should use thebwn_v4_lp_ucodemodule instead. okay? okay. π
π HARDWARE π
here's the roster of Broadcom BCM43xx based wireless devices she supports. iconic lineup honestly:
- Apple Airport Extreme β
BCM4318, PCI,b/g - ASUS WL-138g β
BCM4318, PCI,b/g - Buffalo WLI-CB-G54S β
BCM4318, CardBus,b/g - Dell Wireless 1390 β
BCM4311, Mini PCI,b/g - Dell Wireless 1470 β
BCM4318, Mini PCI,b/g - Dell Truemobile 1400 β
BCM4309, Mini PCI,b/g - HP Compaq 6715b β
BCM4312, PCI,b/g - HP nx6125 β
BCM4319, PCI,b/g - Linksys WPC54G Ver 3 β
BCM4318, CardBus,b/g - Linksys WPC54GS Ver 2 β
BCM4318, CardBus,b/g - US Robotics 5411 β
BCM4318, CardBus,b/g
π now listen, if you're on an older Broadcom chipset (BCM4301,BCM4303andBCM4306rev 2) you must usebwi(4)instead, because the v4 version of the firmware does not support these chips. the newer firmware is too big to fit into these old chips. she literally cannot fit. it's not personal. π«Ά
π EXAMPLES π
these are the vibes. copy them exactly, don't freestyle.
join an existing BSS network (i.e., connect to an access point):
ifconfig wlan create wlandev bwn0 inet 192.168.0.20 \
netmask 0xffffff00
join a specific BSS network with network name βmy_netβ:
ifconfig wlan create wlandev bwn0 ssid my_net up
join a specific BSS network with 64-bit WEP encryption:
ifconfig wlan create wlandev bwn0 ssid my_net \
wepmode on wepkey 0x1234567890 weptxkey 1 up
look at that backslash line continuation. main character formatting. π
β LOADER TUNABLES β
tunables can be set at the loader(8) prompt before booting the kernel, or stored in loader.conf(5). your choice, bestie.
hw.bwn.usedmaβ this tunable enables DMA operations on the hardware. if the value is0, PIO mode would be used. the default value is1.
that's the whole list. one tunable. she's minimal and she knows it. β¨
π SEE ALSO π
go read these next, they're the friend group:
arp(4), bcma(4), bhnd(4), bhndb(4), bwi(4), cardbus(4), intro(4), pci(4), siba(4), wlan(4), wlan_amrr(4), ifconfig(8), wpa_supplicant(8)
π§ HISTORY π§
the bwn driver first appeared in FreeBSD 8.1. then the driver was updated to support the common Broadcom bhnd(4) bus interface in FreeBSD 12.0. glow up era. π₯
π AUTHORS π
the bwn driver was written by Weongyo Jeong <weongyo@FreeBSD.org>. support for bhnd(4) was added by Landon Fuller <landonf@FreeBSD.org>. thank you for your service, legends π«‘π
π¨ CAVEATS π¨
some LP PHY devices have DMA operation problems β in that case, try to use PIO mode. (that's what hw.bwn.usedma=0 is for, iykyk π)
and that's the page!! this one shipped from Debian, dated December 16, 2017 β so if you were wondering when this queen was last touched up, that's your answer, bestie. now go install that firmware port, okay?? literally no cap. πβ¨ππ¦πΈ
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2009 Christian Brueffer
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms