hostapd Wlan deauthenticated due to local deauth request

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
doublex
Beiträge: 2
Registriert: 02.02.2010 09:46:10

hostapd Wlan deauthenticated due to local deauth request

Beitrag von doublex » 04.02.2010 23:57:21

Hallo,

ich brauche dringend hilfe bevor ich völlig verzweifel. Ich habe schon alle möglich foren durchgeschaut. Dort finde ich auch immermal wieder das Problem aber keine Lösung für mich.
Ich habe auf meinem Alix einen AP aufgesetzt.
Dazu nutze ich voyage 2.6.26-486-voyage
madwifi-modules-2.6.26-486-voyage
madwifi-tools
hostap-utils
hostapd

Die Konfiguration muss eigentlich auch Stimmen, denn mein Windows Xp verbindet sich ohne Probleme.
Meine Canon Kamera macht jedoch Probleme. In der Syslog stehet: deauthenticated due to local deauth request

Hier meine hostapd.conf

Code: Alles auswählen

interface=ath0
driver=madwifi
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=4
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=double
macaddr_acl=0
auth_algs=2
eap_authenticator=0
eap_message=hello
eapol_key_index_workaround=0
own_ip_addr=127.0.0.1
wpa=1
wpa_passphrase=passphrase
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
country_code=DE
ieee80211d=1
ieee80211h=1
wenn ich den hostapd nicht als Deamon laufen lasse: hostapd -dddd /etc/hostapd/hostapd.conf
spuckt der an der Stelle an der sich die Cam verbinden will folgende details aus:

Code: Alles auswählen

WPA: 00:00:85:43:65:78 WPA_PTK entering state PTKSTART
ath0: STA 00:00:85:43:65:78 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
TX EAPOL - hexdump(len=113): 00 00 85 43 65 78 06 0e 8e 1e 10 e2 88 8e 02 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 03 a0 85 7e 03 57 e6 53 2e 4e b3 1e 8d 75 be 6e 20 38 69 bc b5 24 c7 a8 4d 08 dd 7d 33 7b 71 a1 e1 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ath0: STA 00:00:85:43:65:78 WPA: EAPOL-Key timeout
WPA: 00:00:85:43:65:78 WPA_PTK entering state PTKSTART
ath0: STA 00:00:85:43:65:78 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
TX EAPOL - hexdump(len=113): 00 00 85 43 65 78 06 0e 8e 1e 10 e2 88 8e 02 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 04 a0 85 7e 03 57 e6 53 2e 4e b3 1e 8d 75 be 6e 20 38 69 bc b5 24 c7 a8 4d 08 dd 7d 33 7b 71 a1 e1 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
WPA: 00:00:85:43:65:78 WPA_PTK entering state DISCONNECT
hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA 00:00:85:43:65:78 reason 2
madwifi_sta_deauth: addr=00:00:85:43:65:78 reason_code=2
WPA: 00:00:85:43:65:78 WPA_PTK entering state DISCONNECTED
WPA: 00:00:85:43:65:78 WPA_PTK entering state INITIALIZE
madwifi_del_key: addr=00:00:85:43:65:78 key_idx=0
ioctl[IEEE80211_IOCTL_DELKEY]: No such file or directory
madwifi_del_key: Failed to delete key (addr 00:00:85:43:65:78 key_idx 0)
madwifi_set_sta_authorized: addr=00:00:85:43:65:78 authorized=0
ioctl[IEEE80211_IOCTL_SETMLME]: No such file or directory
madwifi_set_sta_authorized: Failed to unauthorize STA 00:00:85:43:65:78
ath0: STA 00:00:85:43:65:78 IEEE 802.1X: unauthorizing port
Could not set station 00:00:85:43:65:78 flags for kernel driver (errno=29).
ath0: STA 00:00:85:43:65:78 IEEE 802.11: deauthenticated due to local deauth request
Wireless event: cmd=0x8c02 len=98
Custom wireless event: 'STA-TRAFFIC-STAT
mac=00:00:85:43:65:78
rx_packets=1
rx_bytes=18
tx_packets=4
tx_bytes=428
'
Wireless event: cmd=0x8c04 len=20
ath0: STA 00:00:85:43:65:78 IEEE 802.11: disassociated
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:00:85:43:65:78 IEEE 802.11: associated
  New STA
ath0: STA 00:00:85:43:65:78 WPA: event 1 notification
madwifi_del_key: addr=00:00:85:43:65:78 key_idx=0
ath0: STA 00:00:85:43:65:78 WPA: start authentication
WPA: 00:00:85:43:65:78 WPA_PTK entering state INITIALIZE
madwifi_del_key: addr=00:00:85:43:65:78 key_idx=0
madwifi_set_sta_authorized: addr=00:00:85:43:65:78 authorized=0
ath0: STA 00:00:85:43:65:78 IEEE 802.1X: unauthorizing port
WPA: 00:00:85:43:65:78 WPA_PTK_GROUP entering state IDLE
WPA: 00:00:85:43:65:78 WPA_PTK entering state AUTHENTICATION
WPA: 00:00:85:43:65:78 WPA_PTK entering state AUTHENTICATION2
WPA: 00:00:85:43:65:78 WPA_PTK entering state INITPSK
WPA: 00:00:85:43:65:78 WPA_PTK entering state PTKSTART

ich komme einfach nicht weiter. bitte bitte helft mir.

Danke

double-x

marxx73
Beiträge: 1
Registriert: 02.05.2012 10:07:54

Re: hostapd Wlan deauthenticated due to local deauth request

Beitrag von marxx73 » 02.05.2012 10:22:09

hatte ein vergleichbares problem unter ubuntu mit einer wlan-kamera:

Code: Alles auswählen

WPA: event 1 notification
WPA: sending 1/4 msg of 4-Way Handshake
WPA: EAPOL-Key timeout
WPA: sending 1/4 msg of 4-Way Handshake
WPA: EAPOL-Key timeout
WPA: sending 1/4 msg of 4-Way Handshake
WPA: EAPOL-Key timeout
WPA: sending 1/4 msg of 4-Way Handshake
WPA: EAPOL-Key timeout
IEEE 802.1X: unauthorizing port
IEEE 802.11: deauthenticated due to local deauth request
folgende einstellung in hostapd.conf hat es gelöst:

Code: Alles auswählen

# IEEE 802.1X/EAPOL version
# hostapd is implemented based on IEEE Std 802.1X-2004 which defines EAPOL
# version 2. However, there are many client implementations that do not handle
# the new version number correctly (they seem to drop the frames completely).
# In order to make hostapd interoperate with these clients, the version number
# can be set to the older version (1) with this configuration value.
eapol_version=1
ergebnis:

Code: Alles auswählen

WPA: event 1 notification
WPA: sending 1/4 msg of 4-Way Handshake
WPA: received EAPOL-Key frame (2/4 Pairwise)
WPA: sending 3/4 msg of 4-Way Handshake
WPA: received EAPOL-Key frame (4/4 Pairwise)
IEEE 802.1X: authorizing port
RADIUS: starting accounting session 4F8B0EF7-00000001
WPA: pairwise key handshake completed (WPA)
WPA: sending 1/2 msg of Group Key Handshake
IEEE 802.1X: did not Ack EAPOL-Key frame (unicast index=125)
WPA: received EAPOL-Key frame (2/2 Group)
WPA: group key handshake completed (WPA)

Antworten