[OE-core] DNS when using Static IP

Iorga, Cristian cristian.iorga at intel.com
Fri May 2 12:01:20 UTC 2014


Hello,

What image did you start from, if any?
i.e., core-image-minimal, core-image-sato, etc…
Is connman included?

Regards,
Cristian Iorga
YP
Intel Corporation

From: openembedded-core-bounces at lists.openembedded.org [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of Tarek El-Sherbiny
Sent: Friday, May 2, 2014 2:05 PM
To: yocto at yoctoproject.org; openembedded-core at lists.openembedded.org
Subject: [OE-core] DNS when using Static IP

Hi.

I'm trying to set my IP config to a static address.

iface eth0 inet static
     address 192.168.55.45
     network 192.168.55.0
     netmask 255.255.255.0
     broadcast 192.168.55.255
     gateway 192.168.55.1
     dns-nameservers 192.168.10.2

But I don't get the DNS server address to be included in /etc/resolv.conf

If I run in dchp mode, then the resolv.conf is updated with my DNS address.
Is there something I'm missing here in my setup?


--
Tarek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140502/fe0e275c/attachment-0002.html>


More information about the Openembedded-core mailing list