Es geht, ist aber schon komplizierter.
Du brauchst eine Konfiguration für wpa_supplicant. Die Felder identity und password sind entsprechend auszufüllen.
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
network={
ssid="TUD"
proto=WPA2
key_mgmt=WPA-EAP
eap=TTLS
anonymous_identity="anonymous@tu-darmstadt.de"
identity=".ichbins.hrz.tu"
password="das ist mein Password"
ca_cert="/usr/share/ca-certificates/telesec.de/deutsche-telekom-root-ca-2.crt"
phase2="auth=PAP"
}
Das speicherst du z.B. unter /etc/network.d/TUD_wpa.conf und setzt die Rechte auf 600. Dein netcfg-Profil sollte dann so aussehen:
CONNECTION="wireless"
DESCRIPTION="A wpa_supplicant configuration based wireless connection"
INTERFACE="wlan0"
SECURITY="wpa-config"
ESSID="TUD"
SCAN="yes"
WPA_CONF="/etc/network.d/TUD_wpa.conf"
IP="dhcp"
EDIT: Ich hab mal noch SCAN="yes" gesetzt, sollte schneller erkennen, wenn das Netzwerk nicht verfügbar ist.