bgscan? Can I scan while not connected to a network?

Ed W lists
Tue Mar 13 10:37:26 PDT 2012

Aha - one thing which seems perhaps non obvious is that at least with 
ap_scan=1, there is no background scan if you have no networks at all 
configured... I'm working on an automated setup script so it seemed 
obvious to start with an empty config, but that was actually holding 
things back...

So that answers the question about background scanning when no networks 
match.  However, same question as before about sensible config for the 
simple and learn bgscan params?  Using latest git wpa_supplicant


Ed W

On 13/03/2012 17:05, Ed W wrote:
> Hi, would it be possible for the sample config to list the bgscan param
> for wpa_supplicant and sensible parameters for it please?
> In particular I have a question about where it can be placed.  Can it
> only be placed into a network definition?  How might I configure
> wpa_supplicant to maintain an updated list of available networks in the
> situation it's not connected to any current network?
> Also is the "smarter" bgscan ready for real use?
> Thanks
> Ed W
> _______________________________________________
> HostAP mailing list
> HostAP at

More information about the Hostap mailing list