<div>Hi Dan,</div>
<div> </div>
<div> Thanx for your reply.</div>
<div> </div>
<div> Will you please tell me how to disassociate using supplicant. In my case 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> </div>
<div>Also as I am integrating wpa supplicant to some device. using iwlist to scan is must or is there some other way by which I can get almost same output as that of scan. If using iwlist is must then I have to port iwlist also. So I am asking some thing that does provide same output like iwlist but with less size.
</div>
<div> </div>
<div>-Raghu. <br><br> </div>
<div><span class="gmail_quote">On 12/6/07, <b class="gmail_sendername">Dan Williams</b> <<a href="mailto:dcbw@redhat.com">dcbw@redhat.com</a>> 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>> Hi All,<br>><br>> I am newbie to wireless. So only this silly question comes from
<br>> me...:)<br>><br>> I am using wpa supplicant. Now on our device. we have some WLAN code<br>> which does scanning..association ..etc all those basic wireless events<br>> and then it call dhcp client to get IP.
<br>><br>> Now they asked me to integrate wpa supplicant to provide security.<br>> I saw even wpa supplicant does scanning, association....authentication<br>> and then connects. In short wpa supplicant is a binary with config
<br>> file....which establishes secure channel.<br>><br>> My question is if I integrate wpa supplicant I guess I dont need<br>> previous code which does scanning..association...etc. I can directly<br>> invoke wpa supplicant and then use dhcp client to get IP. Am I
<br>> correct?<br><br>That is correct. Get rid of your own scanning and association code.<br>Create the right config file for wpa_supplicant, let it do it's job, and<br>then when it's connected you do the DHCP manually.
<br><br>Dan<br><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Regards & Thanks<br>Raghavendra. S