User guide

WML Linux Thin Client User Guide
## /etc/persistent/wpa_supplicant.conf with your ssid and
## WPA-PSK passphrase. We find the pause here is necessary with the
## Atheros wireless device.
#wpa_supplicant -B -Dwext -iath0 -c/etc/persistent/wpa_supplicant.conf
#echo "Wireless: Associating with wireless access point..."
#sleep 15
#
## Bring up the interface (i.e. switch on the radio)
ifconfig ath0 up
## Apply a timeout to allow Atheros chip to find correct wireless frequency
## and especially if you use dhcp to obtain an IP address.
echo "Wireless: Waiting for IP address..."
sleep 15
## Network settings can now be made for ath0 by manually editing
## /etc/interfaces (use the nano editor)
This example was created by taking the default prestartup.sh, and un-commenting the lines for a WEP
based wireless network. You can always get the original example prestartup.sh file by extracting it
from the default settings archive:
cd /tmp && tar xvf /usr/persist.tar prestartup.sh
will extract prestartup.sh into the /tmp directory
If you want to use WPA-PSK, rather than WEP, then comment the line "iwconfig ath0 key
1a1a1a1a1a" and un-comment the wpa_supplicant line. You will then need to edit
/etc/persistent/wpa_supplicant.conf so that it looks something like this:
# This is a configuration file for the program wpa_supplicant.
# You can find further configuration options in the wpa_supplicant
# documentation, which can be found online.
network={
ssid="YOUR_SSID"
proto=WPA
key_mgmt=WPA-PSK
# Either use the passphrase un-hashed:
psk="Your_passphrase"
# or use the hash generated with:
# wpa_passphrase "YOUR_SSID" "Your_passphrase":
#psk=c2cc546a4b526622eae137106dff9a24e46591d01fabf7429e9623a54fc0f
9cf
}
You may need to experiment with the number value for the "sleep 15" call (which means pause for 15
seconds).
Once the prestartup.sh file has been configured correctly, you will need to manually amend the
/etc/persistent/interfaces file. An example of a dhcp configured system with an Atheros network
interface is:
auto lo ath0
iface lo inet loopback
iface ath0 inet dhcp
page 49/62
Copyright © 2008 William Matthew Limited. All rights reserved