Trädvy Permalänk
Medlem
Registrerad
Jul 2001

WPA i Debian

Hej,

försöker få mitt trådlösa nätverk att fungera i Debian. Kör med WPA-PSK och det vill sig inte alls. Har installerat WPA_supplicant och det är där det verkar strula. Nätverkskortet är ett inbyggt Intel PRO/Wireless 2200 och datorn en fujitsu-siemens amilo m laptop. Kortet verkar fungera för den hittar andra accesspunkter förutom den jag har specificerat i configen.

Tack på förhand.

Min config för wpa_supplicant är:

ctrl_interface=/var/run/wpa_supplicant ap_scan=2 network={ ssid="Pimpmagic" scan_ssid=1 proto=WPA key_mgmt=WPA-PSK pairwise=TKIP psk="mittlosenord" }

Loggen från wpa_supplicant

kirst:/home/jonas# wpa_supplicant -i eth2 -c /etc/wpa_supplicant.conf -D ipw -w -dd Initializing interface 'eth2' conf '/etc/wpa_supplicant.conf' driver 'ipw' 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' ap_scan=2 Line: 4 - start of a new network block ssid - hexdump_ascii(len=9): 50 69 6d 70 6d 61 67 69 63 Pimpmagic scan_ssid=1 (0x1) proto: 0x1 key_mgmt: 0x2 pairwise: 0x8 PSK (ASCII passphrase) - hexdump_ascii(len=13): [REMOVED] PSK (from passphrase) - hexdump(len=32): [REMOVED] Line 11: removed CCMP from group cipher list since it was not allowed for pairwise cipher Priority group 0 id=0 ssid='Pimpmagic' Initializing interface (2) 'eth2' 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 SIOCGIWRANGE: WE(compiled)=20 WE(source)=18 enc_capa=0xf capabilities: key_mgmt 0xf enc 0xf WEXT: Operstate: linkmode=1, operstate=5 Own MAC address: 00:0e:35:3b:a5:64 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 Added interface eth2 RTM_NEWLINK: operstate=0 ifi_flags=0x1002 () Wireless event: cmd=0x8b06 len=8 RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'eth2' added RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'eth2' added State: DISCONNECTED -> SCANNING Trying to associate with SSID 'Pimpmagic' Cancelling scan request WPA: clearing own WPA/RSN IE Automatic auth_alg selection: 0x1 wpa_driver_ipw_set_auth_alg: auth_alg=0x1 ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported WPA: No WPA/RSN IE available from association info WPA: Set cipher suites based on configuration WPA: Selected cipher suites: group 14 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: 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_ipw_set_drop_unencrypted: enabled=1 ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported State: SCANNING -> ASSOCIATING wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) WEXT: Operstate: linkmode=-1, operstate=5 ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported 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=0x8b1a len=18 Authentication with 00:00:00:00:00:00 timed out. Added BSSID 00:00:00:00:00:00 into blacklist State: ASSOCIATING -> DISCONNECTED wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) 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 Trying to associate with SSID 'Pimpmagic' Cancelling scan request WPA: clearing own WPA/RSN IE Automatic auth_alg selection: 0x1 wpa_driver_ipw_set_auth_alg: auth_alg=0x1 ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported WPA: No WPA/RSN IE available from association info WPA: Set cipher suites based on configuration WPA: Selected cipher suites: group 14 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: 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_ipw_set_drop_unencrypted: enabled=1 ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported State: SCANNING -> ASSOCIATING wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) WEXT: Operstate: linkmode=-1, operstate=5 ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported 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=0x8b1a len=18

Trädvy Permalänk
Medlem
Plats
A
Registrerad
Nov 2005

Re: WPA i Debian

Citat:

Ursprungligen inskrivet av cezium

kirst:/home/jonas# wpa_supplicant -i eth2 -c /etc/wpa_supplicant.conf -D ipw -w -dd

testa -D wext istället för ipw, vet inte hur det är i Debian och vad du har för kärna, men delar av outputen från wpa_supplicant tyder på att detta kan vara lösningen.

MacBook White, C2D 2.0GHz, 2048MB RAM, 80GB HDD

Trädvy Permalänk
Medlem
Registrerad
Jul 2001

Funkar perfekt! Tackar