3CRXJK10075

Ruzsinszky Attila ruzsinszky.attila
Tue Nov 21 09:26:55 PST 2006


Hi,

wpa_supplicant 0.4.8 under SuSE 10.1.
AP is Linksys WRT54GL with OpenWRT.

My friend wants connect to AP with WPA-EAP-TLS. ESSID is hidden.

Here is the config:
ctrl_interface=/var/run/wpa_supplicant
network={
  scan_ssid=1
  ssid="SSID"
  key_mgmt=WPA-EAP
  pairwise=TKIP
  group=TKIP
  eap=TLS
  identity="username"
  ca_cert="CA-cacert.pem"
  client_cert="client-cert.pem"
  private_key="private-key.pem"
  private_key_passwd="<snip>"
  phase1="peaplabel=0"
}

The output:
ioctl[unknown???]: Invalid argument
Initializing interface 'ath1' conf 'wpa_supplicant-ath1.conf' driver
'madwifi' ctrl_interface 'N/A'
Configuration file 'wpa_supplicant-ath1.conf' ->
'/root/wpa_supplicant-ath1.conf'
Reading configuration file '/root/wpa_supplicant-ath1.conf'
ctrl_interface='/var/run/wpa_supplicant'
Line: 2 - start of a new network block
scan_ssid=1 (0x1)
ssid - hexdump_ascii(len=11):
                                     <correct ESSID>
key_mgmt: 0x1
pairwise: 0x8
group: 0x8
eap methods - hexdump(len=2): 0d 00
identity - hexdump_ascii(len=7):
...
ca_cert - hexdump_ascii(len=45):
...
client_cert - hexdump_ascii(len=57):
private_key - hexdump_ascii(len=56):
...
private_key_passwd - hexdump_ascii(len=19): [REMOVED]
phase1 - hexdump_ascii(len=11):
     70 65 61 70 6c 61 62 65 6c 3d 30                  peaplabel=0
Priority group 0
   id=0 ssid='<ESSID>'
Initializing interface (2) 'ath1'
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:cb:b2:b6:a9
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 ath1
Wireless event: cmd=0x8b06 len=8
Ignore event for foreign ifindex 3
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath1' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath1' added
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=11):
                                     <correct ESSID>
Wireless event: cmd=0x8b1a len=20
Wireless event: cmd=0x8b19 len=8
Received 456 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:14:bf:xx:yy:zz ssid='ESSID' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
   selected based on WPA IE
Trying to associate with 00:14:bf:xx:yy:zz (SSID='ESSID' freq=2442 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 1
WPA: set AP WPA IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2
02 01 00 00 50 f2 02 01 00 00 50 f2 01 00 00
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT 802.1X
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 01
No keys have been configured - skip key clearing
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
State: SCANNING -> ASSOCIATING
wpa_driver_madwifi_associate
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=20
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:00:00:00:00:00 into blacklist
State: ASSOCIATING -> DISCONNECTED
No keysioctl[unknown???]: Invalid argument
ioctl[unknown???]: Invalid argument
 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)
Wireless event: cmd=0x8b1a len=8
Wireless event: cmd=0x8b19 len=8
Received 456 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:14:bf:xx:yy:zz ssid='ESSID' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
   selected based on WPA IE
Trying to associate with 00:14:bf:xx:yy:zz (SSID='ESSID' freq=2442 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
... etc.

In wpa_gui I can see SCANNING, CONNECTING, SCANNING, CONNECTING, ...

Madwifi driver:
madwifi-kmp-default-0.9.1_2.6.16.21_0.8-1.1
madwifi-0.9.1-1.1

TIA,
Ruzsi




More information about the Hostap mailing list