PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Archlinux, wpa_supplicant kein WPA nur offene Netze



spychodelics
18.10.06, 10:53
Hi,

habe mein Arch neuinstallieren muessen weil die HDD defekt war.
Es handelt sich hierbei um ein IBM T21 Notebook, mit einer ALLNET0282
PCMCIA Wlan Karte. (altes modell nicht madwifi!)


WPA PSK TKIP Funktioniert nicht, aber in alle Offenen Netze komme ich rein,
von daher nehme ich an mein Problem liegt einzig in wpa_supplicant.
Vllt lest Ihr aus der Fehlermeldung etwas raus, ich verstehe nichtmal 1% dieser Fehlermeldung.


Also ich hab mir per

$ pacman -Sy ndiswrapper ndiswrapper_utils wpa_supplicant

die noetige Software geholt.


Ndiswrapper laeuft ist als Modul geladen und der Windowstreiber ist der aktuellste (mit dem es vorher schon gelaufen ist!)



$ ndiswrapper -l
Installed drivers:
alnetg driver installed, hardware present





$ iwconfig wlan0
wlan0 IEEE 802.11g ESSID:"Netgear"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:108 Mb/s
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




$ iwlist wlan0 scanning
wlan0 Scan completed :
Cell 01 - Address: 00:12:17:D4:89:B4
ESSID:"Netgear"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:0/100 Signal level:-37 dBm Noise level:-256 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : WEP-40
Pairwise Ciphers (1) : WEP-40
Authentication Suites (1) : PSK






$ dmesg
ndiswrapper: driver alnetg (,04/07/2004,3.0.0.432) loaded
ndiswrapper: using irq 11
wlan0: vendor: ''
wlan0: ethernet device 00:0f:a3:07:19:58 using serialized NDIS driver alnetg, 168C:0013.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA; AES/CCMP with WPA




/etc/linksys.conf

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
network={
ssid="Netgear"
#psk="spychodelics" psk=4e797f7e3deabf3d6f86c68e6d26238378732825f9ec88 4b52c7d5b509ebedc1
}




$ wpa_supplicant -d -Dndiswrapper -iwlan0 -c/etc/linksys.conf


Initializing interface 'wlan0' conf '/etc/linksys.conf' driver 'ndiswrapper' cl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/linksys.conf' -> '/etc/linksys.conf'
Reading configuration file '/etc/linksys.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
Priority group 0
id=0 ssid='Netgear'
Initializing interface (2) 'wlan0'
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
SIOCGIWRANGE: WE(compiled)=20 WE(source)=18 enc_capa=0xd
capabilities: key_mgmt 0x5 enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:0f:a3:07:19:58
Driver does not support 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
Setting scan request: 0 sec 100000 usec
Added interface wlan0
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to speeup initial association
Received 738 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
0: 00:12:17:d4:89:b4 ssid='Netgear' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
selected based on WPA IE
Trying to associate with 00:12:17:d4:89:b4 (SSID='Netgear' freq=2462 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=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 000 50 f2 02 01 00 00 50 f2 02
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 f02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
WEXT: Operstate: linkmode=-1, operstate=5
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:12:17:d4:89:b4 into blacklist
State: ASSOCIATING -> DISCONNECTED
WEXT: Operstate: linkmode=-1, operstate=5
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
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 738 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
0: 00:12:17:d4:89:b4 ssid='Netgear' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
selected based on WPA IE
Trying to associate with 00:12:17:d4:89:b4 (SSID='Netgear' freq=2462 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=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 000 50 f2 02 01 00 00 50 f2 02
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 f02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
WEXT: Operstate: linkmode=-1, operstate=5
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Authentication with 00:00:00:00:00:00 timed out.
BSSID 00:12:17:d4:89:b4 blacklist count incremented to 2
State: ASSOCIATING -> DISCONNECTED
WEXT: Operstate: linkmode=-1, operstate=5
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
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface wlan0
State: SCANNING -> DISCONNECTED
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Failed to disable WPA in the driver.
No keys have been configured - skip key clearing
WEXT: Operstate: linkmode=0, operstate=6
Removed BSSID 00:12:17:d4:89:b4 from blacklist (clear)
Cancelling scan request


Bin dankbar fuer Hilfe

gadget
18.10.06, 14:22
Hi,

experimentiere mit Deiner linksys.conf:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=0 #oder 1 oder 2
ap_scan=0 #statt 1
#fast_reauth=1
network={
scan_ssid=0
ssid="Netgear"
#psk="spychodelics" psk=4e797f7e3deabf3d6f86c68e6d26238378732825f9ec88 4b52c7d5b509ebedc1
} In /usr/share/doc/wpasupplicant/example findest Du Beispiele und weitere Einstellungsmöglichkeiten.

Gruß,
gadget

spychodelics
19.10.06, 09:11
Danke aber das wars nicht, komischerweise hat es ganz einfach geholfen die pcmcia karte vom einen in den anderen slot zu stecken!

Frag mich nicht warum aber es läuft.

Im oberen Slot läuft sie nur in offenen Netzten, im unteren mit wpa / offen!


:eek: so augen hab ich gemacht!

Trotzdem danke vielmals

gadget
19.10.06, 10:36
Ja, es gibt so Sachen. Unter SuSE konnte ich nicht Drucken, wenn ich den Drucker vor dem Booten an den linken hinteren USB-Steckplatz meines Laptops einsteckte, an allen anderen funktionierte es tadellos... :eek:


Demnach: Glückwunsch ;)