• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Trotz How-To: Anpingen offen ja, mit WPA nein

Liebe Gemeinde.

Nachdem Ihr mir schon bei der Erkennung meiner WLAN-Karte (Linksys) bzw. deren Einbindung geholfen habt, bin ich schon wieder mit meinem eh nicht vorhandenen Linux-Latein am Ende.

Habe meine Karte mittels ndiswrapper unter Suse 9.2 installiert, sie wird erkannt, sie funkt, ich kann auf meinen AccessPoint (AVM Fritz!Box Fon Wlan) zugreifen. Allerdings nur unverschlüsselt.
Ist doof, habe ich gedacht, und voller Freude das How-To von Diskus gelesen und Schritt für Schritt nachvollzogen.

Hier mal ein log der Ausgaben in der Konsole:


linux:~ # wpa_supplicant -Dndiswrapper -iwlan0 -
c/etc/wpa_supplicant.conf -dd

Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'ndiswrapp
er'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=:
4d 65 69 6e 4e 65 74 7a MeinNetz
PSK (ASCII passphrase) - hexdump_ascii(len=63): [REMOVED]
key_mgmt: 0x2
proto: 0x1
pairwise: 0x18
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='MeinNetz'
Initializing interface (2) 'wlan0'
Own MAC address: 00:0f:66:1b:74:65
Setting scan request: 0 sec 100000 usec
Wireless event: cmd=0x8b06 len=8
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 316 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:04:0e:2f:d2:c9 ssid='MeinNetz' wpa_ie_len=24 rsn_ie_len=0
selected
Trying to associate with 00:04:0e:2f:d2:c9 (SSID='MeinNetz' freq=2462 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Own WPA IE - 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
Setting authentication timeout: 5 sec 0 usec
Wireless event: cmd=0x8c02 len=159
Custom wireless event: 'ASSOCINFO(ReqIEs=00084d65696e4e65747a010882848b962430486
c32040c121860dd050010180100dd160050f20101000050f2 RespIEs=010882848b962430486c32
040c121860)'
Association info event
req_ies - hexdump(len=44): 00 08 4d 65 69 6e 4e 65 74 7a 01 08 82 84 8b 96 24 30
48 6c 32 04 0c 12 18 60 dd 05 00 10 18 01 00 dd 16 00 50 f2 01 01 00 00 50 f2
resp_ies - hexdump(len=16): 01 08 82 84 8b 96 24 30 48 6c 32 04 0c 12 18 60
Truncated IE in assoc_info - hexdump(len=11): dd 16 00 50 f2 01 01 00 00 50 f2
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:04:0e:2f:d2:c9
Association event - clear replay counter
Associated to a new BSS: BSSID=00:04:0e:2f:d2:c9
No keys have been configured - skip key clearing
Associated with 00:04:0e:2f:d2:c9
Setting authentication timeout: 10 sec 0 usec
RX EAPOL from 00:04:0e:2f:d2:c9
RX EAPOL - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 01 1
8 6e 21 f2 4d 98 ba de cf 87 d2 1f c5 e4 b1 17 94 5a d0 c6 de 42 75 c7 0e 5c 7a
6c cc 78 77 52 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 0
0 00
Setting authentication timeout: 10 sec 0 usec
IEEE 802.1X RX: version=1 type=3 length=95
EAPOL-Key type=254
WPA: RX EAPOL-Key - hexdump(len=99): 01 03 00 5f fe 00 89 00 20 00 00 00 00 00 0
0 00 01 18 6e 21 f2 4d 98 ba de cf 87 d2 1f c5 e4 b1 17 94 5a d0 c6 de 42 75 c7
0e 5c 7a 6c cc 78 77 52 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 0
0 00 00 00 00
WPA: RX message 1 of 4-Way Handshake from 00:04:0e:2f:d2:c9 (ver=1)
WPA: WPA IE for msg 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 0
1 00 00 50 f2 02 01 00 00 50 f2 02
WPA: Renewed SNonce - hexdump(len=32): 05 cc 2b b9 9c 2f ae a1 81 df 83 38 e8 48
28 03 a7 f3 59 16 93 a9 6d a9 52 8e a5 10 a5 09 1f b4
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: EAPOL-Key MIC - hexdump(len=16): d1 9c fc 35 20 f1 7f f3 8b ba 85 6c 6e b6
67 21
WPA: Sending EAPOL-Key 2/4
WPA: TX EAPOL-Key 2/4 - hexdump(len=137): 00 04 0e 2f d2 c9 00 0f 66 1b 74 65 88
8e 01 03 00 77 fe 01 09 00 20 00 00 00 00 00 00 00 01 05 cc 2b b9 9c 2f ae a1 8
1 df 83 38 e8 48 28 03 a7 f3 59 16 93 a9 6d a9 52 8e a5 10 a5 09 1f b4 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 d1 9c fc 35 20 f1 7f f3 8b ba 85 6c 6e b6 67 21 00 18 dd 16 00 50 f2 01 0
1 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
RX EAPOL from 00:04:0e:2f:d2:c9
RX EAPOL - hexdump(len=123): 01 03 00 77 fe 01 c9 00 20 00 00 00 00 00 00 00 02
18 6e 21 f2 4d 98 ba de cf 87 d2 1f c5 e4 b1 17 94 5a d0 c6 de 42 75 c7 0e 5c 7a
6c cc 78 77 52 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0
0 00 00 00 00 00 00 00 00 00 00 b2 8f b3 bb 73 d0 a9 9a 7d b2 eb 29 dd 6d 0b dd
00 18 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
IEEE 802.1X RX: version=1 type=3 length=119
EAPOL-Key type=254
WPA: RX EAPOL-Key - hexdump(len=123): 01 03 00 77 fe 01 c9 00 20 00 00 00 00 00
00 00 02 18 6e 21 f2 4d 98 ba de cf 87 d2 1f c5 e4 b1 17 94 5a d0 c6 de 42 75 c7
0e 5c 7a 6c cc 78 77 52 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0
0 00 00 00 00 00 00 00 00 00 00 00 00 00 b2 8f b3 bb 73 d0 a9 9a 7d b2 eb 29 dd
6d 0b dd 00 18 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50
f2 02
WPA: RX message 3 of 4-Way Handshake from 00:04:0e:2f:d2:c9 (ver=1)
WPA: IE KeyData - 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
WPA: No WPA/RSN IE for this AP known. Trying to get from scan results
WPA: Found the current AP from updated scan results
WPA: Sending EAPOL-Key 4/4
WPA: TX EAPOL-Key 4/4 - hexdump(len=113): 00 04 0e 2f d2 c9 00 0f 66 1b 74 65 88
8e 01 03 00 5f fe 01 09 00 20 00 00 00 00 00 00 00 02 05 cc 2b b9 9c 2f ae a1 8
1 df 83 38 e8 48 28 03 a7 f3 59 16 93 a9 6d a9 52 8e a5 10 a5 09 1f b4 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 f3 aa 65 28 25 48 b7 8f b2 29 fe 80 e1 13 91 4e 00 00
WPA: Installing PTK to the driver.
WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
RX EAPOL from 00:04:0e:2f:d2:c9
RX EAPOL - hexdump(len=131): 01 03 00 7f fe 03 91 00 20 00 00 00 00 00 00 00 03
18 6e 21 f2 4d 98 ba de cf 87 d2 1f c5 e4 b1 17 94 5a d0 c6 de 42 75 c7 0e 5c 7a
6c cc 78 77 51 94 5a d0 c6 de 42 75 c7 0e 5c 7a 6c cc 78 77 53 00 00 00 00 00 0
0 00 00 00 00 00 00 00 00 00 00 48 56 a5 0a 07 e7 a4 a3 51 2c bf 60 16 c5 0f f700 20 c7 da f3 fb 01 52 4a 09 22 1a d0 00 93 33 08 fb b8 ed 0c 82 20 13 de b9 3d d8 76 72 40 e4 e0 52
IEEE 802.1X RX: version=1 type=3 length=127
EAPOL-Key type=254
WPA: RX EAPOL-Key - hexdump(len=131): 01 03 00 7f fe 03 91 00 20 00 00 00 00 0000 00 03 18 6e 21 f2 4d 98 ba de cf 87 d2 1f c5 e4 b1 17 94 5a d0 c6 de 42 75 c7 0e 5c 7a 6c cc 78 77 51 94 5a d0 c6 de 42 75 c7 0e 5c 7a 6c cc 78 77 53 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 56 a5 0a 07 e7 a4 a3 51 2c bf 60 16c5 0f f7 00 20 c7 da f3 fb 01 52 4a 09 22 1a d0 00 93 33 08 fb b8 ed 0c 82 20 13 de b9 3d d8 76 72 40 e4 e0 52
WPA: RX message 1 of Group Key Handshake from 00:04:0e:2f:d2:c9 (ver=1)
WPA: Group Key - hexdump(len=32): [REMOVED]
WPA: Installing GTK to the driver (keyidx=1 tx=0).
WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
WPA: Sending EAPOL-Key 2/2
WPA: TX EAPOL-Key 2/2 - hexdump(len=113): 00 04 0e 2f d2 c9 00 0f 66 1b 74 65 88 8e 01 03 00 5f fe 03 11 00 20 00 00 00 00 00 00 00 03 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 0000 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 55 1d 99 05 24 6d a1 52 05 d5 c3 57 cf a0 5a ba 00 00
WPA: Key negotiation completed with 00:04:0e:2f:d2:c9 [PTK=TKIP GTK=TKIP]
Cancelling authentication timeout


Und dann:


linux:~ # wpa_supplicant -B -Dndiswrapper -c/etc/wpa_supplicant.conf -dd
Initializing interface '(null)' conf '/etc/wpa_supplicant.conf' driver 'ndiswrapper'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=:
4d 65 69 6e 4e 65 74 7a MeinNetz
PSK (ASCII passphrase) - hexdump_ascii(len=63): [REMOVED]
key_mgmt: 0x2
proto: 0x1
pairwise: 0x18
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='MeinNetz'
wpa_supplicant v0.3.8
Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi> and contributors

This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.

Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.

usage:
wpa_supplicant [-BddehLqqvw] -i<ifname> -c<config file> [-D<driver>] \
[-N -i<ifname> -c<conf> [-D<driver>] ...]

drivers:
ndiswrapper = Linux ndiswrapper
options:
-B = run daemon in the background
-d = increase debugging verbosity (-dd even more)
-K = include keys (passwords, etc.) in debug output
-t = include timestamp in debug messages
-h = show this help text
-L = show license (GPL and BSD)
-q = decrease debugging verbosity (-qq even less)
-v = show version
-w = wait for interface to be added, if needed
-N = start describing new interface

Interface name is required.
linux:~ #


Was hat mir die Zeile "Interface name is required" zu sagen? Bitte nicht einfach übersetzen

Meine wpa_supplicant.config:


network={
ssid="MeinNetz"
#psk="Passwort"
psk="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
key_mgmt=WPA-PSK
proto=WPA
pairwise=CCMP TKIP
}


Hab' den Schlüssel mal gxxxt, ist in der Orginaldatei mit dem im Accesspoint identisch. Sind 63 Stellen.

Der KWifimanager zeigt mir folgendes an:


Connected to network: Mein Netz
AccessPoint: 00:04:0E:2F:C9:D2
Local IP: 192.168.178.10
Frequency [channel] 2.462 [11]
Encryption: off


Manchmal steht bei Encryption auch active, allerdings immer nur kurz nachdem ich den ersten Befehl (wpa_supplicant -Dndiswrapper -iwlan0 -c/etc/wpa_supplicant.conf -dd) eingegeben habe. Das ändert jedoch auch nichts daran, dass ich mein AccessPoint, obwohl eine Verbindung besteht, nicht anpingen kann. Über den Konqueror erhalte ich immer die Meldung "Beim Laden von http://192.168.178.1/ ist folgender Fehler aufgetreten: Keine Verbindung zu Rechner 192.168.178.1."

So. Ich hoffe, mit meinem ganzem Sermon kann irgendjemand was anfangen. Bekomme am Freitag (endlich) mein DSL, und bis dahin soll mein Internet auch über Linux funzen :cry:

Danke schon mal!
 
OP
U

Uerigetrinker

Newbie
...bin ich blöd.

Im How-To von Diskus fehlt in einer Zeile das Interface "-iwlan0". Das habe ich in der Zeile

wpa_supplicant -B -Dndiswrapper -c/etc/wpa_supplicant.conf -dd eingefügt, und schon tat sich was:

linux:~ # wpa_supplicant -B Dndiswrapper -iwlan0 -c/etc/wpa_supplicant.conf -dd
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=8):
4d 65 69 6e 4e 65 74 7a MeinNetz
PSK (ASCII passphrase) - hexdump_ascii(len=63): [REMOVED]
key_mgmt: 0x2
proto: 0x1
pairwise: 0x18
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='MeinNetz'
Initializing interface (2) 'wlan0'
Own MAC address: 00:0f:66:1b:74:65
Setting scan request: 0 sec 100000 usec
Daemonize..

So weit, so gut.
Anpingen lässt sich mein AP aber immer noch nicht...
 
Oben