This doc show how to connect to wpa2 essid using command line
DISABLE NETWORK_MANAGER dulu
wpa_passphrase SSID PASSWORD > CONFIG_FILE
eg:
# wpa_passphrase myWifi mypassword > wpa.conf
to list available driver
# wpa_supplicant
# sudo wpa_supplicant -iwlan0 -c wpa.conf -Dwext
// -i wireless card
// -c config file
// -D driver
ref: http://askubuntu.com/questions/16584/how-to-connect-and-disconnect-to-a-network-manually-in-terminal
DISABLE NETWORK_MANAGER dulu
wpa_passphrase SSID PASSWORD > CONFIG_FILE
eg:
# wpa_passphrase myWifi mypassword > wpa.conf
to list available driver
# wpa_supplicant
# sudo wpa_supplicant -iwlan0 -c wpa.conf -Dwext
// -i wireless card
// -c config file
// -D driver
ref: http://askubuntu.com/questions/16584/how-to-connect-and-disconnect-to-a-network-manually-in-terminal