How to configure supplicant to only scan but not associate to AP

Binesh bbinesh at gmail.com
Tue Nov 22 04:25:31 EST 2011


Hi Jouni and Ben,

Thanks for your suggestions.

Would setting wpa_s->conf->ap_scan to 1 help? (and 2 when association is
required?) ofcourse if associated, the code coudl first disconnect.

rgds
Binesh

On Wed, Nov 16, 2011 at 10:23 AM, Ben Greear <greearb at candelatech.com>wrote:

>  On 11/15/2011 08:39 PM, Binesh wrote:
>
>> Hi,
>> Assuming I have supplicant.conf in which I have previously remembered
>> networks, is there a way, at runtime to tell the supplicant "only scan for
>> APs, but dont
>> automatically associate with them" ?
>> Looking for a way to either achieve this through
>>  i) modifying a conf value (without removing remembred networks) and
>> reloading conf
>> OR
>> ii) (preferably) some ctrl_iface command that can change the behaviour
>> for that scan cycle alone.
>> Is this achievable on supplicant v6/v8 ? If yes, could someone pls help?
>>
>
> Specify that the station should only associate with bssid of
> 00:00:00:00:00:01
> and it's pretty likely that it will not associate with anything...
>
> Ben
>
> rgds
>> Binesh
>>
>>
>> ______________________________**_________________
>> HostAP mailing list
>> HostAP at lists.shmoo.com
>> http://lists.shmoo.com/**mailman/listinfo/hostap<http://lists.shmoo.com/mailman/listinfo/hostap>
>>
>
>
> --
> Ben Greear <greearb at candelatech.com>
> Candela Technologies Inc  http://www.candelatech.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20111122/dacafc7b/attachment.htm 


More information about the HostAP mailing list