<div>Hi,thank you! I&#39;ll check my AP&#39;s configuration.</div>
<div>&nbsp;</div>
<div>But there is another question about AR2413 and madwifi driver.</div>
<div>&nbsp;</div>
<div>madwifi can support VAP, so I setup 2 VAPs, one is ath0, another is ath1.both of them are set SharedKey authentication and use WEP encrypthion. I type the command below to set each of them a password:</div>
<div>&nbsp;</div>
<div>iwconfig ath0 key [1] s:1111111111111</div>
<div>iwconfig ath1 key [1] s:2222222222222</div>
<div>&nbsp;</div>
<div>the strange thing happens, It seems that&nbsp;ath1&#39;s password overwrite the ath0&#39;s, so if I set my sta the ath1&#39;s password and select ath0 to connect,&nbsp;I connect the ath0 successfully. Why? are the 4 slots for&nbsp;WEP Key is shared by all VAPs?&nbsp; or VAP is not stable?</div>

<div>&nbsp;</div>
<div>Thank you!</div>
<div>&nbsp;</div>
<div><br><br>&nbsp;</div>
<div class="gmail_quote">2008/11/25 Dan Williams <span dir="ltr">&lt;<a href="mailto:dcbw@redhat.com">dcbw@redhat.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">On Tue, 2008-11-25 at 17:21 +0800, c4linux c4linux wrote:<br>&gt; Thanks for your help<br>&gt; But i found that if I set AP with a password in an OpenSystem<br>&gt; Authentication, STA can always connect the AP and access its<br>
&gt; resource , Why? OpenSystem Authentication need no password?<br><br></div>You have to separate encryption (WEP/WPA/etc) from authentication<br>(Shared Key/Open System). &nbsp;For example, WPA uses Open System<br>exclusively, but it&#39;s more secure because it protects the communication<br>
with a strong encryption algorithm.<br><br>Open System is used even in unencrypted mode (ie, no WEP or WPA<br>enabled). &nbsp;But it can also be used with encryption enabled.<br><br>It&#39;s the _encryption_, not the Open System/Shared Key authentication,<br>
that makes your access point secure more secure with WEP. &nbsp;It sounds<br>like you&#39;ve turned off encryption completely.<br><font color="#888888"><br>Dan<br></font>
<div>
<div></div>
<div class="Wj3C7c"><br><br>&gt;<br>&gt; 2008/10/16 Dan Williams &lt;<a href="mailto:dcbw@redhat.com">dcbw@redhat.com</a>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; On Thu, 2008-10-16 at 10:20 +0800, c4linux c4linux wrote:<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; &gt;&gt;Open System actually doesn&#39;t do authentication.<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; authentication = encryption?<br>&gt;<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; No, they are different. &nbsp;But Shared Key authentication _uses_<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; the WEP<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; encryption algorithm as access control.<br>
&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; So Why I can do WEP encryption in an Open System<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; authentication? I&#39;m<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; confused between authentication and encryption :(<br>&gt;<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; They are two different things. &nbsp;Authentication determines<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; whether or not<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; a user is allowed to access the system in the first place,<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; while<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; encryption protects the content of their messages _after_ they<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; have been<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; granted access to the system. &nbsp;But to preserve security and<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; prevent<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; spoofed authentications, some authentication methods also<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; employ<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; encryption as part of the process, but it&#39;s a separate step<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; from the<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; encryption that happens after the user has gained access to<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; the system.<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; Dan<br>&gt;<br>&gt;<br>&gt;<br><br></div></div></blockquote></div><br>