<div>Hi Dan,</div>
<div>&nbsp;</div>
<div>&nbsp;Thanx for your reply.</div>
<div>&nbsp;</div>
<div>&nbsp; Will you please tell me how to disassociate using supplicant. In my case&nbsp;after enabling supplicant as daemon, i will get ip using dhcp client and then start working. Once my work is done. I have to disassociate with the AP rt? or just killing wpa_supplicant is enough?
</div>
<div>&nbsp;</div>
<div>Also as&nbsp;I am integrating&nbsp;wpa supplicant to some device. using iwlist to scan is must or is&nbsp;there some other way by which I can get almost same output as that of scan.&nbsp;If using iwlist is must then I have to&nbsp;port iwlist also. So&nbsp;I am asking some&nbsp;thing that does provide same output like iwlist but with less size.
</div>
<div>&nbsp;</div>
<div>-Raghu.&nbsp;<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 12/6/07, <b class="gmail_sendername">Dan Williams</b> &lt;<a href="mailto:dcbw@redhat.com">dcbw@redhat.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Thu, 2007-12-06 at 12:54 +0530, Raghavendra. S wrote:<br>&gt; Hi All,<br>&gt;<br>&gt;&nbsp;&nbsp;I am newbie to wireless. So only this silly question comes from
<br>&gt; me...:)<br>&gt;<br>&gt;&nbsp;&nbsp;I am using wpa supplicant. Now on our device. we have some WLAN code<br>&gt; which does scanning..association ..etc all those basic wireless events<br>&gt; and then it call dhcp client to get IP.
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Now they asked me to integrate wpa supplicant to provide security.<br>&gt; I saw even wpa supplicant does scanning, association....authentication<br>&gt; and then connects. In short wpa supplicant is a binary with config
<br>&gt; file....which establishes secure channel.<br>&gt;<br>&gt; My question is if I integrate wpa supplicant I guess I dont need<br>&gt; previous code which does scanning..association...etc. I can directly<br>&gt; invoke wpa supplicant and then use dhcp client to get IP. Am I
<br>&gt; correct?<br><br>That is correct.&nbsp;&nbsp;Get rid of your own scanning and association code.<br>Create the right config file for wpa_supplicant, let it do it&#39;s job, and<br>then when it&#39;s connected you do the DHCP manually.
<br><br>Dan<br><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Regards &amp; Thanks<br>Raghavendra. S