it seems that the /etc/network/interfaces file needs to contain:
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
and when this is the case you can specify wifi settings in the file /etc/wpa_supplicant/wpa_supplicant.conf
using this example:
network={
ssid=”TNETRezound”
psk=”PASSWORD”
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
priority=9
}
Tags: wifi, wpa, wpa_supplicant