Hi,
On Wed, 2015-04-08 at 18:26 +0200, Pedro Erencia wrote:
> I created a .config with all the info (included the Hidden=true flag).
> I do a connmanctl, agent on and connect. I ask the questions and get
> connected, but , let’s say the next day after having powering down,
> the connection is not restablished automatically and when I try to
> connect all the agent questions are asked again.
Did you specify a correct passphrase in the .config file? And
your .config file follows the documentation in doc/config-format.txt,
right? It must be mostly correct as you were able to connect, I'm just
wondering if your passphrase is correct if it is asked via connmanctl.
> Update: I’ve done a little test after looking the debug logs. I copied
> the wifi_xxx_123456 folder (123456 being the SSID of the hidden AP
> representation) as wifi_xxxx_hidden_xx (exactly as it is shown in the
> connmanctl services command). It seems to work. So, do I need a file
> like that in order to associate an SSID to a hidden network so the
> provisioning file associated to that SSID could be used ? It does not
> seems a good way, but I can’t find any documentation wrt.
These files obey a different syntax as the .config files and are
internal to ConnMan. So it is very advisable not to
touch /var/lib/connman/*/settings files at all. Just use the format and
location from doc/config-format.txt and you have full support from the
project.
Cheers,
Patrik
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman