[meta-freescale] DNS when using Static IP.

Otavio Salvador otavio at ossystems.com.br
Mon Mar 31 07:23:52 PDT 2014


On Thu, Mar 27, 2014 at 7:47 PM, Niklas Molin <niklas.p.molin at gmail.com> wrote:
> 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?
>
> This is both on my custom build and SabreSD board.

This is not a BSP specific question and is better to handle this in
OE-Core or Yocto Project mailing list.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list