From: Andreas Oberritter <obi@opendreambox.org>
To: Tarek El-Sherbiny <tarek.elsherbiny@gmail.com>,
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 17:38:23 +0200 [thread overview]
Message-ID: <5363BBEF.4090706@opendreambox.org> (raw)
In-Reply-To: <CAB3sqtZbtJGsh_jMUnvJAyFmXJVHZT2bvZ=DJ0N-fSB-VYu4Tg@mail.gmail.com>
Hello Tarek,
On 02.05.2014 13:04, Tarek El-Sherbiny wrote:
> 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
FWIW, in Debian-based systems, which is where ifupdown comes from, you
need to install the resolvconf package in order to handle
dns-nameservers entries. I don't know whether that's compatible with
busybox' implementation of ifupdown, though.
Regards,
Andreas
>
> 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/
>
>
WARNING: multiple messages have this Message-ID (diff)
From: Andreas Oberritter <obi@opendreambox.org>
To: Tarek El-Sherbiny <tarek.elsherbiny@gmail.com>,
yocto@yoctoproject.org,
"openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] DNS when using Static IP
Date: Fri, 02 May 2014 17:38:23 +0200 [thread overview]
Message-ID: <5363BBEF.4090706@opendreambox.org> (raw)
In-Reply-To: <CAB3sqtZbtJGsh_jMUnvJAyFmXJVHZT2bvZ=DJ0N-fSB-VYu4Tg@mail.gmail.com>
Hello Tarek,
On 02.05.2014 13:04, Tarek El-Sherbiny wrote:
> 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
FWIW, in Debian-based systems, which is where ifupdown comes from, you
need to install the resolvconf package in order to handle
dns-nameservers entries. I don't know whether that's compatible with
busybox' implementation of ifupdown, though.
Regards,
Andreas
>
> 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 prev parent reply other threads:[~2014-05-02 15:46 UTC|newest]
Thread overview: 17+ 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:01 ` [OE-core] " Iorga, Cristian
2014-05-02 12:30 ` Tarek El-Sherbiny
2014-05-02 12:30 ` [OE-core] " Tarek El-Sherbiny
2014-05-02 12:49 ` Iorga, Cristian
2014-05-02 12:49 ` [OE-core] " Iorga, Cristian
2014-05-02 13:08 ` Tarek El-Sherbiny
2014-05-02 13:08 ` [OE-core] " Tarek El-Sherbiny
2014-05-02 14:15 ` Mike Looijmans
2014-05-02 14:15 ` [OE-core] " Mike Looijmans
2014-05-02 14:56 ` Tarek El-Sherbiny
2014-05-02 14:56 ` [OE-core] " Tarek El-Sherbiny
2014-05-02 15:38 ` Andreas Oberritter [this message]
2014-05-02 15:38 ` Andreas Oberritter
-- strict thread matches above, loose matches on Subject: below --
2014-03-27 22:47 Niklas Molin
2014-03-31 14:23 ` Otavio Salvador
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=5363BBEF.4090706@opendreambox.org \
--to=obi@opendreambox.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.