Hallo,
habe auf meine Latitude D620 lenny aufgespielt und habe Probleme mit wpa_supplicant und WPA/WPA2.
Ich habe es mit wpa2 und wpa versucht aber es funktionierte nie. Momentan habe ich folgende Config:
AP ist ein Speedport W701V eingerichtet ist WPA/WPA2 TKIP/AES
modul:iwl3945
ssid:test
adapter: wlan0
Zuerst mache ich mal ein iwlist wlan0 scanning und als Ergebnis bekomme
ich :
*****************************************************************************
wlan0 Scan completed :
Cell 01 - Address: 00:1C:4A:41:FA:93
ESSID:"test"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=96/100 Signal level=-30 dBm Noise
level=-127 dBm Encryption key:on
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000000002dd4d234
*****************************************************************************
Ok mein WLAN tut und er findet den AP.
Dann meine wpa_supplicant.conf
*****************************************************************************
ctrl_interface=/var/run/wpa_supplicant
update_config=1
eapol_version=1
ap_scan=2
fast_reauth=1
network={
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
ssid="test"
scan_ssid=1
#key_mgmt=WPA-PSK
#psk="meinkey"
psk=hier stehtderPSKin HEX
}
*****************************************************************************
Wenn ich jetzt mit
wpa_supplicant -Dwext -c/etc/wlan_supplicant.conf -iwlan0 -dd
den wpa_supplicant im Debug Modus starte dann kommt:
*****************************************************************************
nbdeb:/home/user1# wpa_supplicant -Dwext -c/etc/wpa_supplicant.conf -iwlan0 -dd
Initializing interface 'wlan0'
conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A'
bridge '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'
update_config=1 eapol_version=1
ap_scan=2
fast_reauth=1
Line: 7 - start of a new network block
proto: 0x1
key_mgmt: 0x2
pairwise: 0x8
group: 0x8
ssid - hexdump_ascii(len=10):
6c 61 6e 2e 62 61 6e 64 69 74 lan.bandit
scan_ssid=1 (0x1)
PSK - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='test'
Initializing interface (2) 'wlan0'
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf flags 0x0
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:18d9:35:c2
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
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
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=12
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'test'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: No WPA/RSN IE available from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: not using MGMT group cipher
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_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
wpa_driver_wext_set_psk
Setting authentication timeout: 60 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=26
EAPOL: disable timer tick
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=16
Received 342 bytes of scan results (1 BSSes)
CTRL-EVENT-SCAN-RESULTS
*****************************************************************************
Wenn ich nun die Ausgabe von iwconfig anschaue:
*****************************************************************************
wlan0 IEEE 802.11 ESSID:"test"
Mode:Managed Frequency:2.462 GHz Access Point:
Not-Associated Tx-Power=15 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
*****************************************************************************
Da stimmt doch was nicht, denn ich bekomme dann auch keine ip oder wenn
ich eine statische angebe kann ich nicht pingen.
Per WEP Verschlüsselung funktioniert es,dann steht auch bei iwconfig unter
Encryption key auch ein Schlüssel.
Also ich weiss nicht mehr weiter. Hoffe hier kann mir noch jemand helfen.
lenny 64 Bit + iwl3945 wpa_supplicant wpa Problem
-
- Beiträge: 441
- Registriert: 12.10.2005 23:09:28
- Lizenz eigener Beiträge: MIT Lizenz
-
Kontaktdaten:
Re: lenny 64 Bit + iwl3945 wpa_supplicant wpa Problem
Hast du den psk der bei "hier stehtderPSKin HEX" steht mit wpa_passphrase erzeugt?
"Linux supports the notion of a command line or a shell for the same reason that only children read books with only pictures in them." - Bill Garrett
Re: lenny 64 Bit + iwl3945 wpa_supplicant wpa Problem
Ja ich hab den mit wpa_passphrase erstellt habs auch schon mit psk="Klartextpasswort" probiert.
Leider kein Erfolg.
Leider kein Erfolg.
Re: lenny 64 Bit + iwl3945 wpa_supplicant wpa Problem : gelöst
Also das Problem ist der Paramter ap_scan=2 wozu ist der da? Hab ihn in ap_scan=1 abgeändert.
Und scan_ssid=1 verlangsamt den Verbinsungsaufbau dramatisch. Was tut der?
Und scan_ssid=1 verlangsamt den Verbinsungsaufbau dramatisch. Was tut der?
-
- Beiträge: 441
- Registriert: 12.10.2005 23:09:28
- Lizenz eigener Beiträge: MIT Lizenz
-
Kontaktdaten:
Re: lenny 64 Bit + iwl3945 wpa_supplicant wpa Problem
Also scan_ssid=1 ist zum suchen und verbinden mit versteckten wlans nötig. Was ap_scan macht weiß ich auch nicht genau und in der manpage steht auch nichts daszu (Sollte man vielleicht mal einen bugreport zu schreiben...). Ich verwende auch ap_scan=1.
"Linux supports the notion of a command line or a shell for the same reason that only children read books with only pictures in them." - Bill Garrett