Hi, Geoffroy,

In this case, gateway info cannot be providing by DHCP due to it¹s IVI
emulator (qemu).
Networking in qemu is using port redirection mechanism and without DHCP.

I know the method of setup static ip in ConnMan like that

Ethernet.config
[global]
Name=Ethernet
Description=Ethernet network configuration
[service_ethernet]
Type=ethernet
IPv4=10.0.2.16/255.255.255.0/10.0.2.255


And put this file (ethernet.config) to /var/lib/connman/ directory. Then
static ip will be setup already.
But I don¹t know how to setup the default gateway by connMan.
Do you know that?

Thanks,
Ziv



On 1/17/14, 7:11 PM, "VanCutsem, Geoffroy" <[email protected]>
wrote:

>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
>> [email protected]
>> 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: [email protected] [[email protected]] on
>> behalf of Yu, Max A [[email protected]]
>> Sent: Friday, January 17, 2014 7:30 AM
>> To: [email protected]
>> 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
>> [email protected]
>> 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
>[email protected]
>https://lists.tizen.org/listinfo/ivi

_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to