author: Acrux


AirPort How-TO

This How-To describes how to get AirPort (802.11b) working on CRUX PPC .

1. You must configure kernel to use hermes chipset. 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>   Hermes chipset 802.11b support (Orinoco/Prism2/Symbol)
           [*]     Cache Hermes firmware on driver initialisation
           <M>     Apple Airport support (built-in)

3. Build the kernel as usual

# make all
# make modules_install
# cp vmlinux /boot/vmlinux
# cp System.map /boot/System.map

4. Get firmware from http://linuxwireless.org/en/users/Drivers/orinoco#device_firmware

5. Install the firmware

#  mv agere_sta_fw.bin /lib/firmware/

6. To use the driver, we'll insert the module first

# modprobe airport

7. Coding

7.1 Install wpa_supplicant via port:

  
# ilenia -U wpa_supplicant

7.2 Run wpa_passphrase

# wpa_passphrase SSID Password

you will get such as:

network={ 
    ssid=""
    #psk=""
    psk=
}

7.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=
}

7.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!

802.11g: AirPort Extreme howto