WPA - will nicht laufen
Hallo, ich möchte meine Zugang zum Router durch WPA Verschlüssen. Die Verbindung mit WEP* funktioniert, aber bei der Initialisierung von WPA stecke ich in der Sackgasse .... * WEP-Startscript ------------------------------------- #!/bin/bash ifconfig eth0 down iwconfig eth0 mode Managed iwconfig eth0 essid Galaxy iwconfig eth0 channel 11 iwconfig eth0 nickname "My Linux Node" iwconfig eth0 key fdaf5432fad77cbe326952d404 ifconfig eth0 up echo "Suche IP ueber DHCP" pump -i eth0 Meine Hardware: WLAN-Router Belkin 54g, MAC: 00:11:50:58:a8:49 und ein Notebook mit Prism54-Chipsatz. Zuvor: AES-Modul im PC geladen, ESSID im Router auf Broadcasting gestellt, Schlüssel mit 'wpa_passphrase ESSID PASSPHRASE' erstellt. /etc/wpa_supplicant.conf -------------------------------------------------- ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 eapol_version=1 ap_scan=1 fast_reauth=1 opensc_engine_path=/usr/lib/opensc/engine_opensc.so pkcs11_engine_path=/usr/lib/opensc/engine_pkcs11.so pkcs11_module_path=/usr/lib/pkcs11/opensc-pkcs11.so network={ ssid="Galaxy" priority=5 proto=WPA key_mgmt=WPA-PSK pairwise=CCMP group=CCMP #ssid="Galaxy" #psk="AllE_mEInE_EntchEn" psk=78983fe83cd589286df14e5f2cdcc62066c2b312bded2d8a38f8cfbdc15a15bf } Start-Script ----------------------------- #!/bin/bash ifconfig eth0 down iwconfig eth0 mode Managed iwconfig eth0 essid Galaxy iwconfig eth0 channel 11 iwconfig eth0 nickname "My Linux Node" ifconfig eth0 up wpa_supplicant -d -i eth0 -D prism54 -c /etc/wpa_supplicant.conf Konsolenausschrift ------------------------------ State: DISCONNECTED -> SCANNING Starting AP scan (broadcast SSID) Scan timeout - try to get results Received 145 bytes of scan results (1 BSSes) Scan results: 1 Selecting BSS from priority group 5 0: 00:11:50:58:a8:49 ssid='Galaxy' wpa_ie_len=24 rsn_ie_len=0 caps=0x11 selected Trying to associate with 00:11:50:58:a8:49 (SSID='Galaxy' 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 16 pairwise 16 key_mgmt 2 WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 04 01 00 00 50 f2 04 01 00 00 50 f2 02 WPA: clearing AP RSN IE WPA: using GTK CCMP WPA: using PTK CCMP 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 f2 04 01 00 00 50 f2 04 01 00 00 50 f2 02 No keys have been configured - skip key clearing State: SCANNING -> ASSOCIATING 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=0x8b04 len=12 Wireless event: cmd=0x8b1a len=19 Wireless event: cmd=0x8c02 len=67 Custom wireless event: 'Received a probe from client to 00:11:50:58:A8:49 (00)' Wireless event: cmd=0x8c02 len=67 Custom wireless event: 'Received a probe from client to 00:11:50:58:A8:49 (00)' Wireless event: cmd=0x8c02 len=76 Custom wireless event: 'Authenticate request (ex) to 00:11:50:58:A8:49 : ACCEPTED (00)' State: ASSOCIATING -> DISCONNECTED No keys have been configured - skip key clearing EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 wpa_driver_prism54_set_countermeasures - not yet implemented No keys have been configured - skip key clearing Removed BSSID 00:00:00:00:00:00 from blacklist (clear) [root@Merkur bin]# Wird die psk im Router im Klartext ode verschlüsselt eingetragen ? Habe jedenfalls beide Varianten probiert (Routereinstellung WPA (non Radius)) und verstehe auch die Meldung 'No keys have been configured' nicht ... Viele Grüße Jörn Eisenkrätzer
Teilnehmer (2)
-
Joern Eisenkraetzer
-
Markus Wigge