can't configure wpa

igor155 at free.fr igor155 at free.fr
Thu Jun 22 05:21:56 EDT 2006


hello,

I have an opensuse 10.1 with Madwifi-ng compiled by myself. wpa_supplicant
installed by rpm. So far, the wpn311 Netgear pci card (atheros based) is
working without encryption but I don't know how to use wpa_supplicant.
I use WPA2 PSK (AES) so I generated a conf file with wpa_passphrase with my
router passphrase, added proto=WPA2

could someone give me a hint?

Here is the debug mode:
# wpa_supplicant -dd -Dmadwifi -iath0 -c/etc/wpa_supplicant.conf

Initializing interface 'ath0' conf '/etc/wpa_supplicant.conf' driver 'madwifi' c
trl_interface 'N/A'
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=13):
     4e 45 54 47 45 41 52 57 50 4e 38 32 34            NETGEAR
PSK - hexdump(len=32): [REMOVED]
key_mgmt: 0x2
proto: 0x1
Priority group 0
   id=0 ssid='NETGEAR'
Initializing interface (2) 'ath0'
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)=19 WE(source)=13 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
Own MAC address: 00:0f:b5:f6:5c:21
wpa_driver_madwifi_del_key: keyidx=0
wpa_driver_madwifi_del_key: keyidx=1
wpa_driver_madwifi_del_key: keyidx=2
wpa_driver_madwifi_del_key: keyidx=3
wpa_driver_madwifi_set_countermeasures: enabled=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Added interface ath0
Wireless event: cmd=0x8b06 len=8
Ignore event for foreign ifindex 3
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Wireless event: cmd=0x8b1a len=8
Scan timeout - try to get results
Received 660 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:0f:b5:ab:e9:22 ssid='NETGEAR' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
   skip - no WPA/RSN proto match
1: 00:0f:b5:ab:e9:22 ssid='' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
   skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Wireless event: cmd=0x8b1a len=8
Scan timeout - try to get results
Received 660 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:0f:b5:ab:e9:22 ssid='' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
   skip - SSID mismatch
1: 00:0f:b5:ab:e9:22 ssid='NETGEAR' wpa_ie_len=0 rsn_ie_len=22 caps=0x11
   skip - no WPA/RSN proto match
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Wireless event: cmd=0x8b1a len=8
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface ath0
State: SCANNING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=0
wpa_driver_madwifi_set_countermeasures: enabled=0
No keys have been configured - skip key clearing
Cancelling scan request




More information about the HostAP mailing list