User guide

WML Linux Thin Client User Guide
Wireless networking
Currently, wireless networking must be configured by editing text configuration files. Wireless
networking can be achieved on the WML Linux Thin Client GX using a plugin usb wireless device
based on the prism2 chipset. The WML Linux Thin Client LX can be supplied with an optional Intel
Pro2200b/g or Atheros wireless card. In each case, the wireless device is configured in the file
/etc/persistent/prestartup.sh.
To edit prestartup.sh, you must get a root shell on the WML Linux Thin Client. You can either press
Ctrl-Alt-F1 to get a login prompt, then login as “root” with the usual admin password used to gain
access to the Setup Manager. Alternatively, if you have sshd running for remote admin, you can ssh to
your WML Linux Thin Client (to ssh to your own WML Linux Thin Client, type: ssh
root@localhost).
Now edit the prestartup.sh file:
nano -w /etc/persistent/prestartup.sh
And modify the commented out commands. The first commands load the kernel modules to drive the
wireless device. The next group of commands use either wlanctl-ng (prism2) or iwconfig (intel
pro2200 and atheros) to configure the SSID and WEP or WPA-PSK settings for the device.
#!/bin/sh
# This script is executed at startup before the network interfaces are
# configured. It's the right place to configure wireless devices.
#
# Example 1: setting up integrated minipci Atheros wireless network card
#
###############################################################################
#
## Load 3 modules for the integrated minipci Atheros wireless network card
## (madwifi 0.9.4):
modprobe wlan_scan_sta
modprobe ath_rate_sample
modprobe ath_pci
#
## If you need WEP, then add the wep module
modprobe wlan_wep
## If you need WPA then add these two modules:
#modprobe wlan_tkip
#modprobe wlan_ccmp
#
## This module uses wireless-tools (iwconfig etc) for controlling settings
#
## Set up wireless interface. Here the SSID is set to join a managed wlan
## called HYPERCUBE.
iwconfig ath0 essid HYPERCUBE >/dev/null 2>&1
## If your SSID has spaces in, then place the SSID in double quotes:
#iwconfig ath0 essid "HYPER CUBE" >/dev/null 2>&1
#
## If you want to use WEP, set the key like this for your ascii key.
## (Don't forget to modprobe wlan_wep, above)
#iwconfig ath0 key s:asciikey
## or for a hex key like this:
iwconfig ath0 key 1a1a1a1a1a
#
## If you want to use WPA-PSK, then uncomment this line, and edit
page 48/62
Copyright © 2008 William Matthew Limited. All rights reserved