I had an old WEP router which I was using fine with iwconfig until recently where I replaced it with a WPA2-PSK version. I switched to wpa_supplicant and it seems to connect OK but I simply can't retrieve an IP address from the router. Manually assigning a valid IP doesn't put me on the network either so I guess it's something I'm doing wrong with the connection.
My wpa_supplicant.conf looks like this:
It associates fine if I run:
wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant/wpa_supplicant.conf
Trying to associate with 00:FF:FF:FF:FF (SSID='edddwire' freq=0 MHz)
Associated with 00:FF:FF:FF:FF
WPA: Key negotiation completed with 00:FF:FF:FF:FF [PTK=CCMP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:FF:FF:FF:FF completed (auth)
But this error appears every now and then:
ioctl[SIOCGIFADDR]: Cannot assign requested address
The wireless card is a ipw2200. Anyone have any ideas? Thanks in advance..