Hi Joaquim,

Finally We've fixed the issue that connman was not reconnecting to
hidden wifi's. These are the list of changes that we've done:

1 - When compiling wpa_supplicant, in the config file disable the options:
CONFIG_AUTOSCAN_EXPONENTIAL
CONFIG_AUTOSCAN_PERIODIC
CONFIG_BGSCAN_SIMPLE

>From wpa_supplicant config documentation, if any module of autoscan is
enabled (periodic or exponential) autoscan is enabled. (suggested by
Tomasz).

Keep CONFIG_BGSCAN_SIMPLE, that one is something you want if you are roaming.
In your case, only the 2 first ones are the one you need to disable.


2 - Change the contents of /etc/wpa_supplicant.conf file to
<file>
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
<file/>

IMO, in the connman documentation, It should also be specified the
contents of wpa_supplicant.conf file.

No because there is no need of any wpa_supplicant.conf when wpa_supplicant runs with DBus.

This configuration file is relevant only when wpa_supplicant is running with its own unix socket interface used for IPC, usually for stand-alone usage via wpa_cli or others.


Tomasz
_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to