I'd recommend to use ConnMan directly for this instead of modifying/creating config files (I'm just not sure if/when they get in conflict with ConnMan). In general, I'd expect the gateway info to be provided by your DHCP server, is that not the case?
If you'd like to set-up a static IP address, please take a look here: https://wiki.tizen.org/wiki/IVI/ConnMan_Tips_%26_Tricks HTH, Geoffroy On Fri, 2014-01-17 at 07:53 +0000, Michael Johnson wrote: > You would need create an interface file > in /etc/sysconfig/network-scripts and add the default gateway in > there: > > i.e. GATEWAY=aaa.aaa.aaa.aaa > > Have a look at this link on how to set it up, although it doesn't > mention adding the gateway, it is a typical example of a configuration > file for some of the linux OSes I've used: > http://docs.oracle.com/cd/E37670_01/E41138/html/ol_about_netconf.html > > Hope that helps > Mike > > > > MICHAEL JOHNSON > Test Engineer > > Symphony Teleca > Sunley House, 46 Jewry Street, Winchester, Hampshire, SO23 8RY > Phone: +441962868866, Fax: +441962868867 > michael.john...@symphonyteleca.com > www.symphonyteleca.com > > Teleca Limited, a company registered in England & Wales, registration > number 2773878, registered office at Sunley House, 46 Jewry Street, > Winchester, Hampshire SO23 8RY. VAT registration number GB 674 6583 90 > > Follow what's going on at Symphony Teleca's blog on > www.symphonyteleca.com/blog. Please consider the environment before > you print. > > Notice to recipient: This e-mail (including any attachments) is meant > for the intended recipient only, may contain confidential and > proprietary information, and is protected by law. If you received this > e-mail in error, please immediately notify the sender of the error by > return e-mail, delete this communication and any attachments, and > shred any printouts. Unauthorized review, use, dissemination, > distribution, copying or taking of any action based on this > communication is strictly prohibited. > > > > > ______________________________________________________________________ > From: ivi-boun...@lists.tizen.org [ivi-boun...@lists.tizen.org] on > behalf of Yu, Max A [max.a...@intel.com] > Sent: Friday, January 17, 2014 7:30 AM > To: ivi@lists.tizen.org > Subject: How to configure default gateway? > > > > I can set default gateway by following command in Tizen IVI: > # route add default gw 10.0.2.2. eth0 > > Can I do the same thing by editing some config files? > > Thanks, > Max > > _______________________________________________ > IVI mailing list > IVI@lists.tizen.org > https://lists.tizen.org/listinfo/ivi Intel Corporation NV/SA Kings Square, Veldkant 31 2550 Kontich RPM (Bruxelles) 0415.497.718. Citibank, Brussels, account 570/1031255/09 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. _______________________________________________ IVI mailing list IVI@lists.tizen.org https://lists.tizen.org/listinfo/ivi