<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.1">
</HEAD>
<BODY>
<A HREF="mailto:jkmaline@cc.hut.fi">Hi</A> <A HREF="mailto:jkmaline@cc.hut.fi">Jouni</A><BR>
<BR>
I am trying to get Madwifi driver to work with WE-17 merged into Andrew's mm kernel-2.6 patches.&nbsp; The driver works fine with WEP but not with WPA.<BR>
This is what I get when I run wpa_supplicant in debug mode<BR>
<BR>
/usr/sbin/wpa_supplicant -iath0 -c/etc/wpa_supplicant.conf -dd<BR>
Configuration file '/etc/wpa_supplicant.conf' -&gt; '/etc/wpa_supplicant.conf'<BR>
Reading configuration file '/etc/wpa_supplicant.conf'<BR>
ap_scan=1<BR>
Line: 172 - start of a new network block<BR>
SSID - hexdump_ascii(len=16):<BR>
&nbsp;&nbsp;&nbsp;&nbsp; 4c 69 6c 6e 61 6e 61 5f 57 69 72 65 6c 65 73 73&nbsp;&nbsp; Wireless<BR>
BSSID - hexdump(len=6): 00 09 5b ea 06 b8<BR>
proto: 0x1<BR>
key_mgmt: 0x2<BR>
pairwise: 0x18<BR>
group: 0x1e<BR>
PSK - hexdump(len=32): 7e 7b 85 77 26 36 fa 85 2c 48 4d 5d 04 66 a0 ef 0a 2d f8 43 8a 9b 7e 4d a1 ec ae d3 04 7a 6b 98<BR>
priority=2<BR>
Priority group 2<BR>
&nbsp;&nbsp; id=0 ssid='Wireless'<BR>
Own MAC address: 00:09:5b:da:fc:87<BR>
wpa_driver_madwifi_set_wpa: enabled=1<BR>
wpa_driver_madwifi_del_key: keyidx=0<BR>
wpa_driver_madwifi_del_key: keyidx=1<BR>
wpa_driver_madwifi_del_key: keyidx=2<BR>
wpa_driver_madwifi_del_key: keyidx=3<BR>
wpa_driver_madwifi_set_countermeasures: enabled=0<BR>
wpa_driver_madwifi_set_drop_unencrypted: enabled=1<BR>
Setting scan request: 0 sec 100000 usec<BR>
Starting AP scan (broadcast SSID)<BR>
Wireless event: cmd=0x8b1a len=12<BR>
Wireless event: cmd=0x8b19 len=12<BR>
Received 413 bytes of scan results (2 BSSes)<BR>
Scan results: 2<BR>
Selecting BSS from priority group 2<BR>
0: 00:09:5b:eb:07:f9 ssid='Wireless' wpa_ie_len=24 rsn_ie_len=0<BR>
&nbsp;&nbsp; selected<BR>
Trying to associate with 00:09:5b:eb:07:f9 (SSID='Wireless' freq=2437 MHz)<BR>
Cancelling scan request<BR>
WPA: using IEEE 802.11i/D3.0<BR>
WPA: using GTK TKIP<BR>
WPA: using PTK TKIP<BR>
WPA: using KEY_MGMT WPA-PSK<BR>
WPA: Own WPA IE - 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<BR>
wpa_driver_madwifi_del_key: keyidx=0<BR>
wpa_driver_madwifi_del_key: keyidx=1<BR>
wpa_driver_madwifi_del_key: keyidx=2<BR>
wpa_driver_madwifi_del_key: keyidx=3<BR>
wpa_driver_madwifi_del_key: keyidx=0<BR>
wpa_driver_madwifi_set_drop_unencrypted: enabled=1<BR>
wpa_driver_madwifi_associate<BR>
ioctl[IEEE80211_IOCTL_SETOPTIE]: Argument list too long<BR>
Setting authentication timeout: 5 sec 0 usec<BR>
<BR>
What puzzles me is the line:<BR>
ioctl[IEEE80211_IOCTL_SETOPTIE]: Argument list too long<BR>
which keeps repeating<BR>
<BR>
This is my wpa_supplicant.conf file<BR>
<BR>
network={<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ssid=&quot;Wireless&quot;<BR>
        bssid=00:09:5b:eb:07:f9<BR>
        proto=WPA<BR>
        key_mgmt=WPA-PSK<BR>
        pairwise=CCMP TKIP<BR>
        group=CCMP TKIP WEP104 WEP40<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #psk=&quot;k920&amp;^ld10nak29-%&amp;92ks9k23@&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; psk=7e7b85772636fa852c484d5d0466a0ef0a2df8438a9b7e<BR>
}<BR>
<BR>
Any help would be valuable. Thanks<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
Nana K. Asumadu<BR>
Email: lilnana@netspeed.com.au<BR>
Website: http://www.netspeed.com.au/lilnana/index.html<BR>
<BR>
<DIV ALIGN=center>DISCLAIMER</DIV><BR>
<BR>

<HR NOSHADE SIZE="1">
<BR>
This email and any attachment(s) are intended for the addressed recipient(s) only.&nbsp;&nbsp; If you have received this email by accident, I urge you to notify the sender and delete this email and any attachment(s) immediately.&nbsp;&nbsp;&nbsp; Any unauthorised use, disclosure or reproduction of any information in this email without the prior consent of the sender is strictly prohibited and will be prosecuted to the fullest extent of the law.&nbsp;&nbsp;&nbsp; No representation is made that this email or any attachment(s) are free of viruses. Virus scanning is recommended and it's the responsibility of the recipient(s).
</TD>
</TR>
</TABLE>
</BODY>
</HTML>