WPA_CLI how to use it in Windows

George S. Lockwood gslockwood
Thu Aug 3 06:36:12 PDT 2006

Thanks, Jouni.

Got them to communicate.

Yes, I thought there might be "missing" documentation on the real "how to"!
At least I'm not crazy.

I've been able to load multiple "profiles" from the config file (all with
disabled=1), then command the supp to enable one of them, and then connect /
authenticate.  That is good.

Can't seem figure out how to switch from one "profile" to another and
connect.  This is not good.

Any thoughts on this.


On 8/2/06, Jouni Malinen <jkmaline at cc.hut.fi> wrote:
> On Wed, Aug 02, 2006 at 07:30:20AM -0700, George S. Lockwood wrote:
> > I'm now trying to use the wpa_cli (and I suppose the gui app) to control
> the
> > wpa_supplicant.
> >
> > But the cli app always returns: "Warning: Failed to attach to
> > wpa_supplicant."
> >
> > is this an error?
> It means that wpa_cli did not find running wpa_supplicant process that
> had enabled the control interface.
> > Do I first start the wpa_supplicant?  if so what form of conf file
> should it
> > use (if I want to use the wpa_cli to control wpa_sup)?
> As far as using wpa_cli or wpa_gui is concerned, you will need to
> include ctrl_interface=udp in the configuration file. Other than that,
> there are no additional requirements.
> > Do I first start the wpa_supplicant in the background?
> >
> > and then the wpa_cli (or wpa_gui)?
> It should be possible to do it either way, but in most cases, I would
> recommend starting wpa_supplicant first.
> > I could not find specific info in the readme documents.  Did I miss
> > something in there?
> README-Windows.txt has some information a bout using wpa_cli and how to
> configure ctrl_interface, but admittedly, there is no thorough end-user
> type documentation for this yet.
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20060803/34253c81/attachment.htm 

More information about the Hostap mailing list