Hi,
% uname -a
Linux ibook 2.6.22-rc6 #1 Mon Jun 25 19:34:46 CEST 2007 ppc GNU/Linux
% /tmp/xs/sbin/xsupplicant -v
Xsupplicant 1.2.8
(c) Copyright 2002 - 2006 The Open1x Group
Dual licensed under the GPL and BSD licenses.
This product makes use of the OpenSSL libraries. (http://www.openssl.org)
% ip l s eth1 up; /tmp/xsup/sbin/xsupplicant -c .etc/xsupplicant.conf -i \
eth1 -D wext -f -d9
…
[INT] --- WPA Data ---
[INT] WPA Version : 1
[INT] Group Key Cipher Suite : TKIP
[INT] Pairwise Key Cipher Suite Count : 1
[INT] Cipher Suite : TKIP
[INT] Authenticated Key Management Suite Count : 256
[INT] Authentication Suite : Unspecified authentication over 802.1X
Truncated IE! The length provided in the IE isn't long enough to include the number of Authenticated Key Management Suites claimed!
[INT] IWEVGENIE (22)
IE : 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 01 28 00
[INT] --- WPA2/802.11i Data ---
[INT] WPA2/802.11i Version : 1
[INT] Group Key Cipher Suite : TKIP
[INT] Pairwise Key Cipher Suite Count : 1
[INT] Cipher Suite : CCMP
[INT] Authenticated Key Management Suite Count : 256
[INT] Authentication Suite : Unspecified authentication over 802.1X
Invalid IE! The length claimed by the IE isn't long enough to cover the number of Authenticated Key Management suites it claims!
…
Do you use the functions htonX() and ntohX() for converting?
Bye, Jörg.
PS: My e‐mail adress is joerg@alea.gnuu.de
Logged In: YES
user_id=52675
Originator: NO
Hi Jörg,
Which distribution are you testing on?
- Terry
Logged In: YES
user_id=1829278
Originator: YES
Thanks for submitting a bug report to the Open1x team. Your
report has been automatically forwarded to the open1x-xsupplicant
mailing list. You should subscribe to this list in order to keep
informed on the resolution of your bug.
To subscribe to the mailing list, please visit the listinfo page at:
http://lists.sourceforge.net/lists/listinfo/open1x-xsupplicant
Sincerely,
The Open1x Team
Logged In: YES
user_id=1829278
Originator: YES
Hi
I use Debian unstable/experimental.
Bye, Jörg.
Logged In: YES
user_id=1829278
Originator: YES
Hi,
because nobody seems to be interested in this problem, I've fixed it
myself. But I can still not connect.
Index: src/wpa.c
RCS file: /cvsroot/open1x/xsupplicant/src/wpa.c,v
retrieving revision 1.30
diff -u -r1.30 wpa.c
--- src/wpa.c 27 Sep 2006 19:37:19 -0000 1.30
+++ src/wpa.c 19 Sep 2007 15:45:27 -0000
@@ -615,6 +615,7 @@
}
memcpy((char *)&value16, (char *)&iedata[ieptr], 2);
+ byte_swap(&value16);
ieptr+=2;
debug_printf(DEBUG_INT, "Authenticated Key Management Suite Count : %d\n",
value16);
Index: src/wpa2.c
===================================================================
RCS file: /cvsroot/open1x/xsupplicant/src/wpa2.c,v
retrieving revision 1.23
diff -u -r1.23 wpa2.c
--- src/wpa2.c 27 Sep 2006 19:37:19 -0000 1.23
+++ src/wpa2.c 19 Sep 2007 15:45:27 -0000
@@ -604,6 +604,7 @@
}
memcpy((char *)&value16, (char *)&iedata[ieptr], 2);
+ byte_swap(&value16);
ieptr+=2;
debug_printf(DEBUG_INT, "Authenticated Key Management Suite Count : %d\n",
value16);