<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16850" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; I faced 
following&nbsp;issue:</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; WPA2-PSK-TKIP+CCMP is working with 
DLink (DWL-2100AP), Linksys(WAP4400N). But was not working with Cisco 
(Linksys)&nbsp;- WRT610N.</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; Reason is that I compiled 
wpa_supplicant with -Os option. Later when I compiled with -O2 or with out 
optimization flag it is working with Cisco router also. Please see below 
log.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># ./wpa_supplicant -i tiwlan0 -c 
./wpa_supplicant.conf.tmp.linksys -Dwext -ddd<BR>Initializing interface 
'tiwlan0' conf './wpa_supplicant.conf.tmp.linksys' driver 'wext' ctrl_interface 
'N/A' bridge 'N/A'<BR>Configuration file './wpa_supplicant.conf.tmp.linksys' 
-&gt; '/mnt/nfs/./wpa_supplicant.conf.tmp.linksys'<BR>Reading configuration file 
'/mnt/nfs/./wpa_supplicant.conf.tmp.linksys'<BR>ctrl_interface='/var/run/wpa_supplicant'<BR>ap_scan=2<BR>Line: 
5 - start of a new network block<BR>ssid - 
hexdump_ascii(len=7):<BR>&nbsp;&nbsp;&nbsp;&nbsp; 6c 69 6e 6b 73 79 
73&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
linksys&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>proto: 
0x3<BR>key_mgmt: 0x2<BR>pairwise: 0x18<BR>group: 0x18<BR>PSK (ASCII passphrase) 
- hexdump_ascii(len=8): [REMOVED]<BR>PSK (from passphrase) - hexdump(len=32): 
[REMOVED]<BR>Priority group 0<BR>&nbsp;&nbsp; id=0 
ssid='linksys'<BR>Initializing interface (2) 'tiwlan0'<BR>EAPOL: SUPP_PAE 
entering state DISCONNECTED<BR>EAPOL: KEY_RX entering state 
NO_KEY_RECEIVE<BR>EAPOL: SUPP_BE entering state INITIALIZE<BR>EAP: EAP entering 
state DISABLED<BR>EAPOL: External notification - portEnabled=0<BR>EAPOL: 
External notification - portValid=0<BR>SIOCGIWRANGE: WE(compiled)=22 
WE(source)=19 enc_capa=0xf<BR>&nbsp; capabilities: key_mgmt 0xf enc 0xf<BR>WEXT: 
Operstate: linkmode=1, operstate=5<BR>Own MAC address: 
00:00:f0:00:01:a1<BR>wpa_driver_wext_set_wpa<BR>wpa_driver_wext_set_key: alg=0 
key_idx=0 set_tx=0 seq_len=0 key_len=0<BR>wpa_driver_wext_set_key: alg=0 
key_idx=1 set_tx=0 seq_len=0 key_len=0<BR>wpa_driver_wext_set_key: alg=0 
key_idx=2 set_tx=0 seq_len=0 key_len=0<BR>wpa_driver_wext_set_key: alg=0 
key_idx=3 set_tx=0 seq_len=0 
key_len=0<BR>wpa_driver_wext_set_countermeasures<BR>wpa_driver_wext_set_drop_unencrypted<BR>Setting 
scan request: 0 sec 100000 usec<BR>Added interface tiwlan0<BR>RTM_NEWLINK: 
operstate=0 ifi_flags=0x1003 ([UP])<BR>Wireless event: cmd=0x8b06 
len=8<BR>State: DISCONNECTED -&gt; SCANNING<BR>Trying to associate with SSID 
'linksys'<BR>Cancelling scan request<BR>WPA: clearing own WPA/RSN 
IE<BR>Automatic auth_alg selection: 0x1<BR>WPA: No WPA/RSN IE available from 
association info<BR>WPA: Set cipher suites based on configuration<BR>WPA: 
Selected cipher suites: group 24 pairwise 24 key_mgmt 2 proto 2<BR>WPA: clearing 
AP WPA IE<BR>WPA: clearing AP RSN IE<BR>WPA: using GTK CCMP<BR>WPA: using PTK 
CCMP<BR>WPA: using KEY_MGMT WPA-PSK<BR>WPA: Set own WPA IE default - 
hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 
00<BR>No keys have been configured - skip key 
clearing<BR>wpa_driver_wext_set_drop_unencrypted<BR>State: SCANNING -&gt; 
ASSOCIATING<BR>wpa_driver_wext_set_operstate: operstate 0-&gt;0 
(DORMANT)<BR>WEXT: Operstate: linkmode=0, 
operstate=291013<BR>wpa_driver_wext_associate<BR>ioctl[SIOCSIWGENIE]: Operation 
not supported<BR>Association request to the driver failed<BR>Setting 
authentication timeout: 5 sec 0 usec<BR>EAPOL: External notification - EAP 
success=0<BR>EAPOL: External notification - EAP fail=0<BR>EAPOL: External 
notification - portControl=Auto<BR>RTM_NEWLINK: operstate=0 ifi_flags=0x1003 
([UP])<BR>Wireless event: cmd=0x8b06 len=8<BR>RTM_NEWLINK: operstate=0 
ifi_flags=0x1003 ([UP])<BR>Wireless event: cmd=0x8b1a len=15<BR>RTM_NEWLINK: 
operstate=0 ifi_flags=0x1003 ([UP])<BR>Wireless event: cmd=0x8c02 
len=164<BR>WEXT: Custom wireless event: ''<BR>RTM_NEWLINK: operstate=0 
ifi_flags=0x1003 ([UP])<BR>Wireless event: cmd=0x8c02 len=164<BR>WEXT: Custom 
wireless event: ''<BR>RTM_NEWLINK: operstate=0 ifi_flags=0x11003 
([UP][LOWER_UP])<BR>Wireless event: cmd=0x8c07 len=95<BR>AssocReq IE wireless 
event - hexdump(len=87): 00 07 6c 69 6e 6b 73 79 73 01 04 82 84 8b 96 32 08 0c 
12 18 24 30 48 60 6c 2e 01 21 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 
0f ac 02 3c 00 2d 1a 30 11 18 ff 00 00 00 00 00 00 00 00 00 48 00 01 00 00 00 00 
00 05 00 00 00 00 dd 07 00 50 f2 02 00 01 21<BR>RTM_NEWLINK: operstate=0 
ifi_flags=0x11003 ([UP][LOWER_UP])<BR>Wireless event: cmd=0x8c08 
len=173<BR>AssocResp IE wireless event - hexdump(len=165): 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00<BR>RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])<BR>Wireless 
event: cmd=0x8b15 len=20<BR>Wireless event: new AP: 
00:23:69:24:e9:48<BR>Association info event<BR>req_ies - hexdump(len=87): 00 07 
6c 69 6e 6b 73 79 73 01 04 82 84 8b 96 32 08 0c 12 18 24 30 48 60 6c 2e 01 21 30 
14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 3c 00 2d 1a 30 11 18 ff 
00 00 00 00 00 00 00 00 00 48 00 01 00 00 00 00 00 05 00 00 00 00 dd 07 00 50 f2 
02 00 01 21<BR>resp_ies - hexdump(len=165): 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<BR>WPA: set own WPA/RSN IE 
- hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 
3c 00<BR>State: ASSOCIATING -&gt; ASSOCIATED<BR>wpa_driver_wext_set_operstate: 
operstate 0-&gt;0 (DORMANT)<BR>WEXT: Operstate: linkmode=0, 
operstate=291013<BR>Associated to a new BSS: BSSID=00:23:69:24:e9:48<BR>No keys 
have been configured - skip key clearing<BR>Network configuration found for the 
current AP<BR>WPA: Using WPA IE from AssocReq to set cipher suites<BR>WPA: 
Selected cipher suites: group 8 pairwise 16 key_mgmt 2 proto 2<BR>WPA: clearing 
AP WPA IE<BR>WPA: clearing AP RSN IE<BR>WPA: using GTK TKIP<BR>WPA: using PTK 
CCMP<BR>WPA: using KEY_MGMT WPA-PSK<BR>WPA: Set own WPA IE default - 
hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 
00<BR>EAPOL: External notification - EAP success=0<BR>EAPOL: External 
notification - EAP fail=0<BR>EAPOL: External notification - 
portControl=Auto<BR>Associated with 00:23:69:24:e9:48<BR>WPA: Association event 
- clear replay counter<BR>EAPOL: External notification - portEnabled=0<BR>EAPOL: 
External notification - portValid=0<BR>EAPOL: External notification - EAP 
success=0<BR>EAPOL: External notification - portEnabled=1<BR>EAPOL: SUPP_PAE 
entering state CONNECTING<BR>EAPOL: SUPP_BE entering state IDLE<BR>Setting 
authentication timeout: 10 sec 0 usec<BR>Cancelling scan request<BR>RTM_NEWLINK: 
operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])<BR>RTM_NEWLINK, 
IFLA_IFNAME: Interface 'tiwlan0' added<BR>RTM_NEWLINK: operstate=0 
ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])<BR>Wireless event: cmd=0x8c02 
len=164<BR>WEXT: Custom wireless event: '&nbsp; '<BR>RX EAPOL from 
00:23:69:24:e9:48<BR>RX EAPOL - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 
00 00 00 00 00 00 00 4b e9 dd 83 9b 8a 81 37 3f b7 0a 1d 8b dc 2f aa 99 83 3f 16 
ea c0 d3 e8 43 d9 4e 7f 08 f2 2a 92 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00<BR>Setting authentication timeout: 10 sec 0 usec<BR>WPA: 
EAPOL frame too short to be a WPA EAPOL-Key (len 72, expecting at least 
99)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>RTM_NEWLINK: operstate=0 ifi_flags=0x11043 
([UP][RUNNING][LOWER_UP])<BR>Wireless event: cmd=0x8c02 len=164<BR>WEXT: Custom 
wireless event: '&nbsp; '<BR>RX EAPOL from 00:23:69:24:e9:48<BR>RX EAPOL - 
hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00 00 00 01 4b e9 dd 83 
9b 8a 81 37 3f b7 0a 1d 8b dc 2f aa 99 83 3f 16 ea c0 d3 e8 43 d9 4e 7f 08 f2 2a 
92 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00<BR><STRONG>WPA: EAPOL frame too short to be a WPA EAPOL-Key (len 72, 
expecting at least 99)</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>This message continues&nbsp;forever.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Just thought this will be helpfull for others so 
sharing. Let me know if there are any other reasons for this 
failure.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>-Raghu</FONT></DIV></BODY></HTML>