This is a test.

This is only a test.

A sample /etc/network/interfaces file:

wpa-driver wext
wpa-ssid NetworkSSID
wpa-key-mgmt WPA-PSK
wpa-pairwise TKIP
wpa-psk "PlainTextSecret"