Hi Tomasz,

thanks for the fast reply.
I already compiled wpa_supplicant without CONFIG_AUTOSCAN_EXPONENTIAL.
Please see my comments beneath.

On 23.01.2015 11:11, Tomasz Bursztyka wrote:
Hi Tim,

we are using connman with a hidden network which actually works, but there occurs the following strange behavior: Connman finds the hidden network only by chance, so if we start the system, connman may or may not connect. If we run "connmanctl services" the non-hidden networks are always found, and even the hidden network is displayed if (and only if) connman connected to it.

If connman haven't connected to it, connman just does nothing until we scan explicitly for the network by using the following command:
# iwlist wlan0 scanning essid myHiddenNetwork

What if you run a scan wifi  in connmanctl?
Didn't work properly until your advice to compile without CONFIG_AUTOSCAN_EXPONENTIAL which disables CONFIG_AUTOSCAN in the Makefile.
Now it also finds hidden networks if I run "connmanctl scan wifi".


Actually, sometimes we have to scan multiple times with the upper command. So if (and only if) the following command has an output, connman connects to the network immediately:
# iwlist wlan0 scanning essid myHiddenNetwork | grep myHiddenNetwork

We think that this is NOT a bug of connman, but some strange effect of our infrastructure.
So our question is:
Is there a way to tell connman to permanently scan for hidden networks, until it is connected?

No, but connman does autoscan for a while. And actually, you might have a wrong build configuration of wpa_supplicant: check if you have enabled CONFIG_AUTOSCAN(*), just disable this: it does not handle hidden networks. If you disable this, connman will run its own fallback mechanism for
autoscan and this one handles properly hidden networks.

I am a bit confused.
In "http://git.kernel.org/cgit/network/connman/connman.git/tree/README"; the AUTOSCAN is recommended for wpa_supplicant.
Another point is, that roaming does not work properly.
I enabled CONFIG_BGSCAN_SIMPLE as proposed for wpa_supplicant.
Is this also not recommended by you?
Tomasz
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman
Kind regards,
Timo
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to