Neo FreeRunner Wifi
From Openmoko
Line 1: | Line 1: | ||
− | To get wlan working | + | To get wlan working on your Freerunner, you can follow these steps: |
− | 1. create and edit a suitable /etc/wpa_supplicant/wpa_supplicant.conf (use your favourite search engine to | + | 1. create and edit a suitable /etc/wpa_supplicant/wpa_supplicant.conf (use your favourite search engine to find the syntax) |
2. execute `ifup eth0` | 2. execute `ifup eth0` | ||
Line 9: | Line 9: | ||
4. get a IP via dhcp: `udhcpc eth0` | 4. get a IP via dhcp: `udhcpc eth0` | ||
− | + | That's it, your wlan should now work! | |
Sample wpa_supplicant.conf: | Sample wpa_supplicant.conf: |
Revision as of 20:16, 3 July 2008
To get wlan working on your Freerunner, you can follow these steps:
1. create and edit a suitable /etc/wpa_supplicant/wpa_supplicant.conf (use your favourite search engine to find the syntax)
2. execute `ifup eth0`
3. execute `wpa_supplicant -ieth0 -c/etc/wpa_supplicant/wpa_supplicant.conf -B` (-B for running as daemon)
4. get a IP via dhcp: `udhcpc eth0`
That's it, your wlan should now work!
Sample wpa_supplicant.conf:
ctrl_interface=/var/run/wpa_supplicant eapol_version=1 ap_scan=1 # WPA2: network={ ssid="your ssid" scan_ssid=1 proto=RSN key_mgmt=WPA-PSK pairwise=CCMP TKIP group=TKIP CCMP psk="secret key" priority=50 } # WPA: network = { ssid="your_ssid" scan_ssid=1 psk="secret key" priority=10 } # WEP: network = { ssid="your_ssid" scan_ssid=1 key_mgmt=NONE wep_tx_keyidx=0 wep_key0="secret key" priority=8 } # Open: network={ ssid="your ssid" key_mgmt=NONE priority=5 }