On 4/25/19, Daniel Wagner <wagi(a)monom.org> wrote:
On 4/25/19 7:41 AM, JH wrote:
> What is your recommendation to fix the WiFi and Cellular autoconnect?
> The autoconnect is not working, either we are missing something here
> in configuration, or it could be bugs?
I don't think I can't remember your scenario correctly. So you build a
rootfs which is deployed on embedded boars, right? The device is
supposed to connect either to WiFi or if that is not available to
Cellular? For WiFi and Cellular there are provisioning information
available upfront (user name, password, etc)?
Correct, I defined PreferredTechnologies = wifi,cellular in main.conf
to connect to wifi first, if wifi is not available to connect to
cellular running on imx6 EVK.
Come to think of it, I am not 100% sure if this works currently
code changes. It's one of many different use patterns I haven't really
tested so far. Given that you are not the first one asking for this kind
of setup I should try to setup something like this and figure out what
is not working. More for my todo list...
Basically the auto connect does not work. At first time boot up, the
connman does not perform auto connect, I tried to deploy both wifi
(with SSID and Passphrase) and cellular settings to /var/lib/connman,
the connman still could not detect the wifi and cellular until I
perform manual configuration via connmanctl.
Obviously, this doesn't help you too much right now. Let me
other mail. At least there is something you could try out.
Unfortunately, I am still learning the connman, cannot make effective
contributions as I like to, but let me know if I can assist for
testing and debugging.
Thank you Daniel,