[PATCH] wpa_cli infinite loop

Kel Modderman kel at otaku42.de
Wed Oct 29 04:53:27 EDT 2008


On Wednesday 29 October 2008 18:25:36 Graham Gower wrote:
> 2008/10/29 Kel Modderman <kel at otaku42.de>:
> > Have you tried using the -W (Wait for a control interface monitor before
> > starting.) wpa_supplicant command line option? It is needed to avoid
> > wpa_supplicant generating events before your action script process
> > is able to receive them.
> 
> Ah. I may have missed it as it is not in the man page, only in the
> --help output.

Aha, it is documented in the 0.6.x branch, but yeah, a few litle details were
missing before.

> 
> >
> > Also be aware the the -w option is removed from 0.6.X.
> 
> Is this because the option fails to "wait for interface to be added"
> as advertised?

It didn't work very well, and most systems provide a better hotplugging agent
which can be used to the same effect.

Thanks, Kel.


More information about the HostAP mailing list