Some more words about the error: The wlan0 interface can see all the APs around here (iwlist wlan0 scanning), but I cannot connect (WPA-PSK or unencrypted doesn't matter).