BWI(4)
π bwi π
okay bestie, sit down, because we're talking about bwi(4) β the Broadcom BCM43xx IEEE 802.11b/g wireless network driver, and it's literally the vintage-thrift-store-find of network drivers. it's in the Kernel Interfaces Manual, and honestly? iconic. π
β¨ NAME β¨
bwi β the Broadcom BCM43xx IEEE 802.11b/g wireless network driver, no cap. π¦
πΈ SYNOPSIS πΈ
so if you wanna compile this driver into the kernel (main character energy, no modules), you drop these lines into your kernel configuration file:
device bwi
device wlan
device wlan_amrr
device firmware
or, if you'd rather load it as a module at boot time β lowkey easier ngl β put this line in loader.conf(5):
if_bwi_load="YES"
π DESCRIPTION π
the bwi driver provides support for Broadcom BCM43xx based PCI/CardBus network adapters. periodt. π
it supports station and monitor mode operation. only one virtual interface may be configured at any time β so no, you can't have two, that's not the vibe. for more info on configuring this device, see ifconfig(8). π«Ά
β οΈ this driver requires firmware to be loaded before it will work. theports/net/bwi-firmware-kmodport needs to be installed beforeifconfig(8)will work. like, it literally will not function without it, so don't come crying to me. π
π₯ HARDWARE π₯
the bwi driver supports Broadcom BCM43xx based wireless devices, including all of these beauties:
Apple Airport Extremeβ chipBCM4306, busPCI, standardb/gApple Airport Extremeβ chipBCM4318, busPCI, standardb/gASUS WL-100gβ chipBCM4306, busCardBus, standardb/gASUS WL-138gβ chipBCM4318, busPCI, standardb/gBuffalo WLI-CB-G54Sβ chipBCM4318, busCardBus, standardb/gBuffalo WLI-PCI-G54Sβ chipBCM4306, busPCI, standardb/gCompaq R4035 onboardβ chipBCM4306, busPCI, standardb/gDell Wireless 1390β chipBCM4311, busMini PCI, standardb/gDell Wireless 1470β chipBCM4318, busMini PCI, standardb/gDell Truemobile 1300 r2β chipBCM4306, busMini PCI, standardb/gDell Truemobile 1400β chipBCM4309, busMini PCI, standardb/gHP nx6125β chipBCM4319, busPCI, standardb/gLinksys WPC54G Ver 3β chipBCM4318, busCardBus, standardb/gLinksys WPC54GS Ver 2β chipBCM4318, busCardBus, standardb/gTRENDnet TEW-401PCplusβ chipBCM4306, busCardBus, standardb/gUS Robotics 5411β chipBCM4318, busCardBus, standardb/g
the bwi driver uses the older v3 version of Broadcom's firmware. and yeah, while this older firmware does support most BCM43xx parts, the bwn(4) driver works better for the newer chips it supports β so if you've got a newer chip, go flirt with bwn(4) instead. but you must use the bwi driver if you are using older Broadcom chipsets (BCM4301, BCM4303 and BCM4306 rev 2). the v4 version of the firmware that bwn(4) uses does not support these chips. soz. π
π EXAMPLES π
join an existing BSS network (i.e., connect to an access point) β the classic:
ifconfig wlan create wlandev bwi0 inet 192.168.0.20 \
netmask 0xffffff00
join a specific BSS network with network name my_net:
ifconfig wlan create wlandev bwi0 ssid my_net up
join a specific BSS network with 64-bit WEP encryption (vintage security, be nice to her):
ifconfig wlan create wlandev bwi0 ssid my_net \
wepmode on wepkey 0x1234567890 weptxkey 1 up
π SEE ALSO π
arp(4), cardbus(4), intro(4), pci(4), wlan(4), wlan_amrr(4), ifconfig(8), wpa_supplicant(8) β go read them, they're all baddies. ππ
β HISTORY β
the bwi driver first appeared in FreeBSD 8.0. a legend from the jump. π
π§ AUTHORS π§
the bwi driver was written for DragonFly by Sepherosa Ziehau and subsequently ported to FreeBSD. thank you king, we appreciate you. πβ¨
π BUGS π
okay so this is the part where we keep it real: some card based on the BCM4306 and BCM4309 chips do not work properly on channel 1, 2 and 3. not ideal, but now you know β avoid those channels like you avoid your ex. π
and that's the whole page bestie!! this lil beauty came from Debian, dated August 7, 2015, and you were reading BWI(4) β go forth and connect responsibly π ππ¦
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2009 Christian Brueffer
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms