WORK IN PROGRESS
sudo wpa_passphrase "MySSID" "MyPre-SharedKey" network''{ ssid''"MySSID" #psk''"MyPre-SharedKey" psk''DA39A3EE5E6B4B0D3255BFEF95601890AFD80709B4B0D3255BFEF956 }
ctrl_interface''/var/run/wpa_supplicant ctrl_interface_group''0 eapol_version''1 ap_scan''1 fast_reauth''1 network''{ ssid''"MySSID" key_mgmt''WPA-PSK proto''WPA pairwise''TKIP group''TKIP psk'' }
sudo wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
OR
sudo wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf
– Main.FredPettis - 14 May 2009