On Thu, May 10, 2012 at 12:24:25PM +0300, Tomasz Bursztyka wrote:
> Hi,
> >I've noticed something while debugging the code. The path flow goes
> >through auto_connect_service but goes in this condition and return
> >FALSE.
> >
> >if (service->favorite == FALSE) {
> > if (preferred == TRUE)
> > go next_service;
> > return FALSE;<=======================
> >}
> >
> >I think this is because I have never been connected to MY_WIFI before.
> >But I want to auto-connect to this WIFI without being connected before,
> >is there a solution ?
> >
> No.
> How connman will be able to know you want to autoconnect to that ap
> if you never connect to it first? That's a non-sens.
> Connect to it once, using simple-agent and test-connect scripts, and
> then it will work.
>
> Br,
>
> Tomasz
> _______________________________________________
> connman mailing list
> [email protected]
> http://lists.connman.net/listinfo/connman
I think this is not a non-sens because if I create a my.config file with a list
of known AP
with corresponding passphrase, it is because I want to connect to it.
That is how wpa_supplicant works when the -c option is given to it.
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman