Thanks Patrick.
That pretty much clears the confusion.
Abhijit
________________________________________
From: connman [[email protected]] on behalf of Patrik Flykt
[[email protected]]
Sent: Tuesday, September 08, 2015 6:27 PM
To: [email protected]
Subject: Re: Why do we really need Agent in ConnmanCtl ?
Hi,
On Tue, 2015-09-08 at 11:58 +0000, Lamsoge, Abhijit wrote:
> But If I don't have a configuration file, and I do not do "agent on",
> then connmanctl does not allow me to connect to any found access point
> (The standard NOT registered error)?
Yes.
> What I see from config-format.txt, is how we can configure our basic,
> network settings, like names and passphrases.(Probably, because we
> don't have to enter them manually all the time ?? )
This is called provisioning, just as Peter pointed out. With a
provisioning file all details about the network is known a priori, and
no details can be changed as the provisioning information will always be
100% correct (or updated out-of-band as soon as a change is needed).
> So if we provide this file, does it eliminate the need for "agent on"
> before connecting to an AP ?
If the AP is known from the provisioning file or uses WPA-EAP, then yes.
For stumbling into a friends apartment and asking for a WPA2 passphrase
there isn't anything better than the excellent Agent API and
RequestInput method call.
Cheers,
Patrik
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman