To whom it may concern.
Situation
Using wpa_supplicant, unable to establish connection to access point.
iwlist can detect AP (TKIP, WPA), pass phrase is correct, id is correct, however, both ifconfig and iwconfig indicate that something is wrong with connection. Not much error message (/var/log, dmesg, console...)
Possible Solution
add one line to wpa_supplicant.conf as indicated bold below
Code:
network={
ssid="PenguinLand"
key_mgmt=WPA-PSK
psk="correct/key/to/penguin/land"
priority=2
}
Without this line, some AP's do not work, (Maybe WPA ones. I have not investigated, because I do not have any control over the AP.) In the past, all AP's around me worked without the line.
Closing Remark
Happy Penguins!