Originally Posted by igorc
Assuming that your wifi network interface is eth1 you can try the following commands:
# iwconfig eth1 mode Managed
# iwconfig eth1 essid your_essid_name
# iwconfig eth1 key restricted your_wpa_key
# iwconfig - just to check up if the card is up and running
# ifconfig eth1 up
# dhclient eth1
This should setup your card and get an ip address from the router via DHCP. If that doesn't work you can always setup your ip address, netmask and gateway (ip of the router) with ifconfig command.
I encounter the same problem under Kubuntu 6.10.
I have no problem connecting on any unprotected AP or protected by WEP AP, but I can't get associated with any WPA, WPA2, WPA(PSK), ... -protected AP.
I tried the commands given in the quote, it gives the following error on iwconfig eth1 key restricted your_wpa_key :
Error : unrecognised wireless request my_wpa_key
I tried "my_wpa_key", it says the same...
any idea ?