PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : WLAN mit WPA-PSK einrichten klappt nicht



Akleson
27.01.06, 11:06
Hallo

Ich habe mich meiner Meinung nach an diese Anleitung gehalten: http://faq.pathfinderteam.org/index.php/WPA
Aber es klappt nicht wie gewünscht.

Ich habe die nöige Software installiert:

wireless-tools (wireless-tools/stable uptodate 27-2)
wpasupplicant (wpasupplicant/stable uptodate 0.3.8-1)

Meine WLAN Karte im Laptop funktioniert auch in anderen WLANs ohne Probleme (dort wird aber keine Verschlüsselung eingesetzt). Mein Kernel (2.6.16.1) sollte die nötigen Dinge unterstützen

CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_AES_586=y
CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_MICHAEL_MIC=m
CONFIG_CRYPTO_CRC32C=y

Ich hab eine config Datei angelegt /etc/wpa_supplicant.conf mit dem Inhalt
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
#ap_scan=2

network={
ssid="fellowship"
priority=5
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
#psk="Passwort"
psk=XxXxXxXxX
}

Mein Router ist eingestellt auf WPA-PSK, AES und auch das Passwort stimmt überein.

Wenn ich jetzt wpa_supplicant -dd -i eth1 -D ipw ausführe kommt folgende Ausgabe.
Initializing interface 'eth1' conf '(null)' driver 'ipw'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
eapol_version=1
ap_scan=2
Line: 6 - start of a new network block
ssid - hexdump_ascii(len=10):
66 65 6c 6c 6f 77 73 68 69 70 fellowship
priority=5 (0x5)
proto: 0x1
key_mgmt: 0x2
pairwise: 0x10
group: 0x10
PSK - hexdump(len=32): [REMOVED]
Priority group 5
id=0 ssid='fellowship'
Initializing interface (2) 'eth1'
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
wpa_driver_ipw_init is called
Own MAC address: 00:0c:f1:03:e7:4d
wpa_driver_ipw_set_wpa: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_countermeasures: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_drop_unencrypted: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Setting scan request: 0 sec 100000 usec
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Trying to associate with SSID 'fellowship'
Cancelling scan request
Automatic auth_alg selection: 0x1
wpa_driver_ipw_set_auth_alg: auth_alg=0x1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2
WPA: using GTK CCMP
WPA: using PTK CCMP
WPA: using KEY_MGMT WPA-PSK
WPA: Own WPA IE - hexdump(len=24): XxXxXxXxXxX
No keys have been configured - skip key clearing
wpa_driver_ipw_set_drop_unencrypted: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=19
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:00:00:00:00:00 into blacklist
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
Trying to associate with SSID 'fellowship'
Cancelling scan request
Automatic auth_alg selection: 0x1
wpa_driver_ipw_set_auth_alg: auth_alg=0x1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2
WPA: using GTK CCMP
WPA: using PTK CCMP
WPA: using KEY_MGMT WPA-PSK

Mir gefallen die Zeilen mit "Operation not supported" nicht besonders gut.
Wäre nett wenn mir jemand weiterhelfen könnte, da ich schon ein bisschen dran bin und langsam die Motivation verliere... :(

Gruss aus dem verschneiten Süddeutschland
Akleson

Akleson
27.01.06, 11:21
Ich sollte nicht so schnell posten :)

Ich hab nach meinem Post noch etwas gegoogelt und bin auf diesen Beitrag in einem anderen Forum gestoßen: http://www.debianforum.de/forum/viewtopic.php?p=308760
Hier wird genau mein Problem beschrieben und auch eine Lösung genannt.

Wenn ich wpa_supplicant statt mit -D ipw mit der Option -D wext starte funktioniert alles auf einmal.

Ich glaube das ist eigentlich nicht im Sinne des Erfinders, dass der Treiber ipw2100 unter wext läuft. Naja vielleicht wird das ja eines Tages wieder gehen, solange werde ich das so nutzen.

Gruss von einem glücklichen
Akleson :D