Herakles
Profifragensteller
Moin!
Ich versuche derzeit, eine Atheros-Karte mit WPA zu konfigurieren. Ich habe diese Einträge in der /etc/wpa_supplicant.conf:
Leider klappt das nicht so ganz. Hier ein output von debugging-Infos des WPA-Supplicant:
Kann mir jemand helfen, wo mein Fehler liegen könnte? Ich kann mich einfach nicht assoziieren...
Ohne debugging output sieht das Spiel so aus:
Herakles
Ich versuche derzeit, eine Atheros-Karte mit WPA zu konfigurieren. Ich habe diese Einträge in der /etc/wpa_supplicant.conf:
Code:
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
network={
ssid="stoersender"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
priority=2
psk="jajagenau,diewolltihrwohlwissen:-)"
}
Leider klappt das nicht so ganz. Hier ein output von debugging-Infos des WPA-Supplicant:
Code:
# wpa_supplicant -Dbsd -iath0 -c/etc/wpa_supplicant.conf -dd
Initializing interface 'ath0' conf '/etc/wpa_supplicant.conf' driver 'bsd' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ap_scan=1
Line: 13 - start of a new network block
ssid - hexdump_ascii(len=11):
73 74 6f 65 72 73 65 6e 64 65 72 stoersender
scan_ssid=1 (0x1)
proto: 0x1
key_mgmt: 0x2
pairwise: 0x18
priority=2 (0x2)
PSK (ASCII passphrase) - hexdump_ascii(len=39): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 2
id=0 ssid='stoersender'
Initializing interface (2) 'ath0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Own MAC address: 00:14:85:25:f1:99
wpa_driver_bsd_set_wpa: enabled=1
wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_set_countermeasures: enabled=0
wpa_driver_bsd_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Added interface ath0
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=11):
73 74 6f 65 72 73 65 6e 64 65 72 stoersender
Received 0 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 2
0: 00:16:b6:b7:45:4d ssid='stoersender' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
selected based on WPA IE
Trying to associate with 00:16:b6:b7:45:4d (SSID='stoersender' freq=2437 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: set AP WPA IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_bsd_set_drop_unencrypted: enabled=1
State: SCANNING -> ASSOCIATING
wpa_driver_bsd_associate: ssid 'stoersender' wpa ie len 24 pairwise 2 group 2 key mgmt 1
wpa_driver_bsd_associate: set PRIVACY 1
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
State: ASSOCIATING -> ASSOCIATED
Associated to a new BSS: BSSID=00:16:b6:b7:45:4d
No keys have been configured - skip key clearing
Associated with 00:16:b6:b7:45:4d
WPA: Association event - clear replay counter
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: SUPP_BE entering state IDLE
Setting authentication timeout: 10 sec 0 usec
EAPOL: startWhen --> 0
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: txStart
WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0)
Authentication with 00:16:b6:b7:45:4d timed out.
Added BSSID 00:16:b6:b7:45:4d into blacklist
State: ASSOCIATED -> DISCONNECTED
wpa_driver_bsd_disassociate
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
BSSID 00:16:b6:b7:45:4d blacklist count incremented to 2
State: SCANNING -> DISCONNECTED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_del_key: addr=00:00:00:00:00:00 keyidx=0
Received 0 bytes of scan results (4 BSSes)
Scan results: 4
Selecting BSS from priority group 2
0: 00:16:b6:b7:45:4d ssid='stoersender' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
skip - blacklisted
1: 00:15:0c:d5:38:06 ssid='ChuckNorris' wpa_ie_len=0 rsn_ie_len=0 caps=0x61
skip - no WPA/RSN IE
2: 00:15:e9:06:f0:52 ssid='default' wpa_ie_len=0 rsn_ie_len=0 caps=0x21
skip - no WPA/RSN IE
3: 00:15:e9:06:f0:70 ssid='stromerLAND' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
No APs found - clear blacklist and try again
Removed BSSID 00:16:b6:b7:45:4d from blacklist (clear)
Selecting BSS from priority group 2
0: 00:16:b6:b7:45:4d ssid='stoersender' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
selected based on WPA IE
Trying to associate with 00:16:b6:b7:45:4d (SSID='stoersender' freq=2437 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: set AP WPA IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_bsd_set_drop_unencrypted: enabled=1
State: DISCONNECTED -> ASSOCIATING
wpa_driver_bsd_associate: ssid 'stoersender' wpa ie len 24 pairwise 2 group 2 key mgmt 1
wpa_driver_bsd_associate: set PRIVACY 1
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
State: ASSOCIATING -> ASSOCIATED
Associated to a new BSS: BSSID=00:16:b6:b7:45:4d
No keys have been configured - skip key clearing
Associated with 00:16:b6:b7:45:4d
WPA: Association event - clear replay counter
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: SUPP_BE entering state IDLE
Setting authentication timeout: 10 sec 0 usec
EAPOL: startWhen --> 0
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: txStart
WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0)
Authentication with 00:16:b6:b7:45:4d timed out.
Added BSSID 00:16:b6:b7:45:4d into blacklist
State: ASSOCIATED -> DISCONNECTED
wpa_driver_bsd_disassociate
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=11):
73 74 6f 65 72 73 65 6e 64 65 72 stoersender
BSSID 00:16:b6:b7:45:4d blacklist count incremented to 2
Kann mir jemand helfen, wo mein Fehler liegen könnte? Ich kann mich einfach nicht assoziieren...
Ohne debugging output sieht das Spiel so aus:
Code:
# wpa_supplicant -Dbsd -iath0 -c/etc/wpa_supplicant.conf
Trying to associate with 00:16:b6:b7:45:4d (SSID='stoersender' freq=2437 MHz)
Associated with 00:16:b6:b7:45:4d
Authentication with 00:16:b6:b7:45:4d timed out.
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Herakles