wpa_supplicant problems

Estoy trabajando en un dispositivo sin NetworkManager u otras sutilezas y estoy tratando de conectarme a una networking WPA2.

Por algún motivo, wpa_supplicant no se asocia correctamente a todas las networkinges que he probado. (Ejemplo de logging a continuación)

¿Alguien puede identificar el problema desde la salida? Si no, ¿cómo hago para diagnosticar el problema?


EDIT 1:

Me di count de que puedo provocar este comportamiento en otra máquina cuando wpa_supplicant se conecta correctamente a un AP y ejecuto el scan en wpa_cli . Incluso después de que se complete el escaneo, la session wpa_supplicant ejecución permanece bloqueada en el ciclo que se muestra a continuación.

 [root@device root]# wpa_passphrase "FRITZ!Box Fon WLAN 7270" >> /tmp/wpa_supplicant.conf [root@device root]# cat /tmp/wpa_supplicantWorking.conf ctrl_interface=/var/run/wpa_supplicant ap_scan=1 update_config=1 # reading passphrase from stdin network={ ssid="FRITZ!Box Fon WLAN 7270" #psk="mypassword" psk=5a6... snip ...a9 } [root@device root]# wpa_supplicant -D ar6000 -i wlan0 -c /tmp/wpa_supplicant.conf -P /var/run/wpa_supplicant.wlan0.pid drivers - ar6000 ?= ar6000 Starting AP scan (SSID: broadcast) Wireless event: SCAN_RESULTS: Success Trying to associate with xx:xx:xx:xx:c3:ae (SSID='FRITZ!Box Fon WLAN 7270' freq=2412 MHz signal=-43) reassociate=0 oldSSID='' Associated to current bssid. Treating as disconnect CTRL-EVENT-DISCONNECTED - netId=0 reason=DISC_REQUESTED BSSID=bc:05:43:8f:c3:ae CTRL-EVENT-DISCONNECTED - netId=-1 reason=DISC_REQUESTED BSSID=00:00:00:00:00:00 Starting AP scan (SSID: broadcast) Wireless event: SCAN_RESULTS: Success Trying to associate with xx:xx:xx:xx:c3:ae (SSID='FRITZ!Box Fon WLAN 7270' freq=2412 MHz signal=-47) reassociate=0 oldSSID='' Associated with xx:xx:xx:xx:c3:ae CTRL-EVENT-DISCONNECTED - netId=0 reason=DISC_REQUESTED BSSID=bc:05:43:8f:c3:ae Starting AP scan (SSID: broadcast) Wireless event: SCAN_RESULTS: Success Trying to associate with xx:xx:xx:xx:c3:ae (SSID='FRITZ!Box Fon WLAN 7270' freq=2412 MHz signal=-47) reassociate=0 oldSSID='' Associated with xx:xx:xx:xx:c3:ae CTRL-EVENT-DISCONNECTED - netId=0 reason=DISC_REQUESTED BSSID=bc:05:43:8f:c3:ae Starting AP scan (SSID: broadcast) Wireless event: SCAN_RESULTS: Success Trying to associate with xx:xx:xx:xx:c3:ae (SSID='FRITZ!Box Fon WLAN 7270' freq=2412 MHz signal=-46) reassociate=0 oldSSID='' Associated with xx:xx:xx:xx:c3:ae CTRL-EVENT-DISCONNECTED - netId=0 reason=DISC_REQUESTED BSSID=bc:05:43:8f:c3:ae Starting AP scan (SSID: broadcast) Wireless event: SCAN_RESULTS: Success Trying to associate with xx:xx:xx:xx:c3:ae (SSID='FRITZ!Box Fon WLAN 7270' freq=2412 MHz signal=-46) reassociate=0 oldSSID='' Associated to current bssid. Treating as disconnect CTRL-EVENT-DISCONNECTED - netId=0 reason=DISC_REQUESTED BSSID=bc:05:43:8f:c3:ae CTRL-EVENT-DISCONNECTED - netId=-1 reason=DISC_REQUESTED BSSID=00:00:00:00:00:00 Starting AP scan (SSID: broadcast) Wireless event: SCAN_RESULTS: Success Trying to associate with xx:xx:xx:xx:c3:ae (SSID='FRITZ!Box Fon WLAN 7270' freq=2412 MHz signal=-47) reassociate=0 oldSSID='' Associated with xx:xx:xx:xx:c3:ae CTRL-EVENT-DISCONNECTED - netId=0 reason=DISC_REQUESTED BSSID=bc:05:43:8f:c3:ae Starting AP scan (SSID: broadcast) Wireless event: SCAN_RESULTS: Success Trying to associate with xx:xx:xx:xx:c3:ae (SSID='FRITZ!Box Fon WLAN 7270' freq=2412 MHz signal=-48) reassociate=0 oldSSID='' Associated to current bssid. Treating as disconnect CTRL-EVENT-DISCONNECTED - netId=0 reason=DISC_REQUESTED BSSID=bc:05:43:8f:c3:ae CTRL-EVENT-DISCONNECTED - netId=-1 reason=DISC_REQUESTED BSSID=00:00:00:00:00:00 Starting AP scan (SSID: broadcast) Wireless event: SCAN_RESULTS: Success 

APARECE que el controller ar6k tiene defectos. Estoy sorprendido de que sea un producto de Atheros. Consulte las notas / foros de hardware para su sistema particular con respecto a este controller.

El command de shell y el file .conf no parecían tener ningún error. ¿Puedes conectarte a una networking no encriptada?