1. You must configure kernel to use b43 or b43legacy. Download a 2.6.24 or newer kernel
2. When configuring the kernel, enable:
- Code: Select all
Networking -->
<M> Generic IEEE 802.11 Networking
Stack (mac80211)
[*] Enable LED triggers (if your
card has LEDs)
Device Drivers --> Network device support
--> Wireless LAN
[*] Wireless LAN (IEEE 802.11)
<M> Broadcom BCM43xx wireless support
(mac80211 stack)
[*] Broadcom 43xx PCMCIA device
support (EXPERIMENTAL)
[*] Broadcom 43xx debugging
<M> Broadcom 43xx-legacy wireless support
(mac80211 stack)
[*] Broadcom 43xx-legacy debugging
N.B.: Usually you must use only the normal driver, but if you have an old wi-fi card as 4306 you must use the legacy one.
3. Build the kernel as usual
- Code: Select all
# make all
# make modules_install
# cp vmlinux /boot/vmlinux
# cp System.map /boot/System.map
4. install b43-fwcutter with your port manager (as ilenia)
- Code: Select all
# ilenia -U b43-fwcutter
5. Get firmware from http://linuxwireless.org/en/users/Drivers/bcm43xx
6. Cut and install the firmware
- Code: Select all
# b43-fwcutter -w /lib/firmware wl_apsta.o
7. To use the driver, we'll insert the module first
- Code: Select all
# modprobe b43
8. Coding
8.1 Install wpa_supplicant via port:
- Code: Select all
# ilenia -U wpa_supplicant
8.2 Run wpa_passphrase
- Code: Select all
# wpa_passphrase SSID Password
you will get such as:
- Code: Select all
network={
ssid=""
#psk=""
psk=
}
8.3 Edit /etc/wpa_supplicant.conf
- Code: Select all
# vim /etc/wpa_supplicant.conf
add
- Code: Select all
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=2
network={
ssid="SSID"
proto=WPA
scan_ssid=1
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP CCMP
psk=
}
8.4 Run wpa_supplicant
- Code: Select all
# wpa_supplicant -w -i wlan0 -D wext -c /etc/wpa_supplicant.conf -B
Now you should be able to use wlan!
