[yocto] [OE-core] DNS when using Static IP
Andreas Oberritter
obi at opendreambox.org
Fri May 2 08:38:23 PDT 2014
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/
>
>
More information about the yocto
mailing list