CRUX PPC
A lightweight GNU/Linux distribution for PowerPC!
author: Teldec
updated by: Krono
Airport Extreme How-TO
This How-To describes how to get Airport Extreme working on CRUX PPC .
1. You must configure kernel to use b43 or b43legacy. Download a 2.6.24 or newer kernel
2. When configuring the kernel, enable:
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
# 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)
# ilenia -U b43-fwcutter
5. Get firmware from http://wireless.kernel.org/en/users/Drivers/b43#device_firmware_installation
6. Cut and install the firmware
# b43-fwcutter -w /lib/firmware wl_apsta.o
7. To use the driver, we'll insert the module first
# modprobe b43
8. Coding
8.1 Install wpa_supplicant via port:
# ilenia -U wpa_supplicant
8.2 Run wpa_passphrase
# wpa_passphrase SSID Password
you will get such as:
network={ ssid="" #psk="" psk= }
8.3 Edit /etc/wpa_supplicant.conf
# vim /etc/wpa_supplicant.conf
add
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
# wpa_supplicant -w -i wlan0 -D wext -c /etc/wpa_supplicant.conf -B
Now you should be able to use wlan!