wpa_supplicant and ap_scan=2

John H. mistamaila at gmail.com
Wed Jan 25 23:36:06 EST 2006


they had a hack for wpa_supplicant on 4.7 to use zd1211 driver.
seems to work pretty well.

I'll have to try it again with ap_scan=2 when in that order.  it
basically couldn't find an SSID or something.  if the hidden one was
second, it would never get past the first one that was in the config
file, as it could never find it.

On 1/25/06, Jouni Malinen <jkmaline at cc.hut.fi> wrote:
> On Wed, Jan 25, 2006 at 08:39:52PM -0600, John H. wrote:
> > zd1211 is the driver i am using, along with .4.7 supplicant.
>
> Which driver interface code do you use with that driver? I was under
> impression that zd1211 driver is not supported in wpa_supplicant 0.4.7..
>
> > i read somewhere that ap_scan=2 was needed for getting on hidden networks.
>
> With most drivers that is indeed needed.
>
> > My setup is that I use it at four locations
> >
> > 1.School - hidden network without encryption
> > 2.Coffeehouses - open network without encryption
> > 3.Apartment - hidden network with WPA
> > 4.Another home - open network with WPA
> >
> > I would like to have this as automated as possible.  Any
> > recommendations?  AS I said, using zd1211.
>
> ap_scan=2 is likely the best option. If it does not work correctly for
> you, please send a debug log from wpa_supplicant showing incorrect
> behavior. The expected behavior is for wpa_supplicant to try each
> network until it finds one that results in successful association.
>
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>



More information about the HostAP mailing list