Change Password then connect

George S. Lockwood gslockwood
Sat Aug 5 11:56:03 PDT 2006

I believe I've tried this for EAP-TTLS / CHAP and also EAP-TLS / MSCHAPv2.

Here's what I'm wanting to do:

1. load several network "profiles" via the config file. The identify and
password vars for each would be "" or missing entirely.

2. enable 1 of them (right?)

3. set the identity & password (set_network calls).

4. invoke a connection.  Here I'm not sure which commands to use via the
wpa_cli app.  what is the proper order of msgs?

5. watch a good connect / authentication occur.

6. disconnect (disconnect call right?).

7. enable another network profile.

8. set its identity & password.

9. invoke this connection etc.

10 get a good connect for this one.

I haven't been able to figure this out from the documentation.

Hoping this all makes sense to you and that I'm not missing something
basic...but if I am I'd be very grateful for your clarity.


On 8/5/06, Jouni Malinen <jkmaline at> wrote:
> On Fri, Aug 04, 2006 at 08:34:37AM -0700, George S. Lockwood wrote:
> > How does one correct a network's password setting then begin a
> connection
> > attempt?
> Please be more specific on what kind of security mode you are talking
> about here. If this is referring to use MSCHAPv2 (e.g., inside EAP-PEAP
> tunnel), wpa_supplicant will start authentication and when the server
> notifies that the password is not valid, wpa_supplicant will request
> cli/gui (through the control interface) for a new password.
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Hostap mailing list