From: Mike Looijmans <mike.looijmans@topic.nl>
To: "Iorga, Cristian" <cristian.iorga@intel.com>,
Tarek El-Sherbiny <tarek.elsherbiny@gmail.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>,
"openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: Re: DNS when using Static IP
Date: Fri, 02 May 2014 16:15:59 +0200 [thread overview]
Message-ID: <5363A89F.6060709@topic.nl> (raw)
In-Reply-To: <969F26A8BAB325438E7EB80D3C3134FB1CEA474F@IRSMSX105.ger.corp.intel.com>
When using DHCP, busybox's udhcpc script will write the DNS entries that
the server returned into the resolv.conf file.
In this case, I think you'll have to "provide" resolv.conf in some other
way, there's nothing in ifup/ifdown that will modify resolv.conf based
on keywords in the interfaces file.
Mike.
On 05/02/2014 02:49 PM, Iorga, Cristian wrote:
> Not really, I just wanted to get a better overview of the issue that you
> are facing.
>
> What image did you started from, if any?
>
> *From:*Tarek El-Sherbiny [mailto:tarek.elsherbiny@gmail.com]
> *Sent:* Friday, May 2, 2014 3:31 PM
> *To:* Iorga, Cristian
> *Cc:* openembedded-core@lists.openembedded.org; yocto@yoctoproject.org
> *Subject:* RE: [OE-core] DNS when using Static IP
>
> No connman is not included. Shall I include it and try?
>
> On 2 May 2014 13:01, "Iorga, Cristian" <cristian.iorga@intel.com
> <mailto:cristian.iorga@intel.com>> wrote:
>
> 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@lists.openembedded.org
> <mailto:openembedded-core-bounces@lists.openembedded.org>
> [mailto:openembedded-core-bounces@lists.openembedded.org
> <mailto:openembedded-core-bounces@lists.openembedded.org>] *On
> Behalf Of *Tarek El-Sherbiny
> *Sent:* Friday, May 2, 2014 2:05 PM
> *To:* yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>;
> openembedded-core@lists.openembedded.org
> <mailto:openembedded-core@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/
>
>
>
--
Mike Looijmans
next prev parent reply other threads:[~2014-05-02 14:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-02 11:04 DNS when using Static IP Tarek El-Sherbiny
2014-05-02 12:01 ` Iorga, Cristian
2014-05-02 12:30 ` Tarek El-Sherbiny
2014-05-02 12:49 ` Iorga, Cristian
2014-05-02 13:08 ` Tarek El-Sherbiny
2014-05-02 14:15 ` Mike Looijmans [this message]
2014-05-02 14:56 ` Tarek El-Sherbiny
2014-05-02 15:38 ` Andreas Oberritter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5363A89F.6060709@topic.nl \
--to=mike.looijmans@topic.nl \
--cc=cristian.iorga@intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=tarek.elsherbiny@gmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox