<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: correct group cipher setting</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>The network block shown is the result of the save_config command, not something I entered. The bug report I got was essentially<BR>
<BR>
1) Use WPS to connect to an open network (this works)<BR>
2) Use the save_config command to create a wpa_supplicant.conf file for the next connection attempt (this works)<BR>
3) Reconnect using the new conf file<BR>
<BR>
#3 fails with a parse error because my patch sets group_cipher to WPA_CIPHER_NONE which write_group() prints out as NONE. The trick here I guess is to set group_cipher to DEFAULT_GROUP in the case of an open network so that write_group() will skip printing out the group entry entirely.<BR>
<BR>
---chuck<BR>
<BR>
-----Original Message-----<BR>
From: Dan Williams [<A HREF="mailto:dcbw@redhat.com">mailto:dcbw@redhat.com</A>]<BR>
Sent: Mon 1/12/2009 9:18 AM<BR>
To: Chuck Tuffli<BR>
Cc: hostap@lists.shmoo.com<BR>
Subject: Re: correct group cipher setting<BR>
<BR>
On Mon, 2009-01-12 at 18:23 +0200, Chuck Tuffli wrote:<BR>
&gt; What is the correct value for group cipher (i.e. ssid-&gt;group_cipher)<BR>
&gt; in the case of an open network (no encryption)? I naively assumed it<BR>
&gt; should be WPA_CIPHER_NONE, but if it is, the saved configuration file<BR>
&gt; causes an error:<BR>
<BR>
Open networks do not need the pairwise or group keys at all.&nbsp; Don't even<BR>
bother putting them in the network block.<BR>
<BR>
Dan</FONT>
</P>


<BR>
______________________________________________________________________<BR>
DSP Group, Inc. automatically scans all emails and attachments using MessageLabs Email Security System.<BR>
_____________________________________________________________________<BR>
</BODY>
</HTML>