<br><font size=2 face="sans-serif">Dear Dan:</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; I
got it, Thanks very much! &nbsp;I am a novice in wireless networks. I learn
it since last week.Thanks for your help.</font>
<br>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Dan Williams &lt;dcbw@redhat.com&gt;</b></font>
<p><font size=1 face="sans-serif">2009-12-01 15:59</font>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To:
&nbsp; &nbsp; &nbsp; &nbsp;Anson_Luo@cn.alphanetworks.com</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc:
&nbsp; &nbsp; &nbsp; &nbsp;hostap@lists.shmoo.com</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject:
&nbsp; &nbsp; &nbsp; &nbsp;Re: When I set AP like WEP/OPEN or WEP/SHARED
, How Can I get AuthMode from IE Codes or anyway else?</font></table>
<br>
<br>
<br><font size=2><tt>On Tue, 2009-12-01 at 09:23 +0800, Anson_Luo@cn.alphanetworks.com
wrote:<br>
&gt; <br>
&gt; ALL here: <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; I have a question that let me puzzle:
<br>
&gt; When I set AP like WEP/OPEN or WEP/SHARED ,How Can I get AuthMode
from<br>
&gt; IE Codes or anyway else? <br>
<br>
You cannot. &nbsp;Open/Shared is simply not present in the AP's beacon.
&nbsp;It<br>
is a deficiency of WEP, which WPA fixed by only allowing open<br>
authentication for WPA connections. &nbsp;There is simply no way to tell<br>
whether an AP is using shared auth or open system auth because a WEP AP<br>
never broadcasts that information.<br>
<br>
Either the user has to specify the WEP authentication mode explicitly,<br>
or the supplicant/driver must first try Shared Key first, and then Open<br>
System when/if the AP reports that SK is not available (using 802.11<br>
status code 13, &quot;Requested authentication algorithm not supported&quot;).<br>
<br>
Dan<br>
<br>
<br>
</tt></font>
<br>