Hi Daniel,

On ke, 2015-05-06 at 16:36 +0200, Daniel Nyström wrote:
> Hi ConnMan folks!
> 
> I've just started using ConnMan and figured my situation is a bit
> different than most of you.
> 
> I've got a GSM module (SIM800h) run by oFono connected to ConnMan. I
> also got a LAN connection with DHCP.
> 
> I need both of these connections to be available, but of course only
> one can be the primary interface (hence the one with a default
> gateway). We can say the cellular connection always has this role if
> available.
> 
> How can I make this using ConnMan? How can I make the DHCP ignore the
> default gw? Or is there a better way to solve this?

You can set the preferred technology in ConnMan main.conf file
(typically found in /etc/connman directory) like this

PreferredTechnologies = cellular,ethernet

More information in ConnMan sources in src/main.conf example file.


Cheers,
Jukka


_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to