[yocto] DNS nameservers in Yocto

Paul Eggleton paul.eggleton at linux.intel.com
Tue Feb 3 10:11:12 PST 2015


Hi Dean,

On Tuesday 03 February 2015 11:20:01 Dean wrote:
> On 2/3/2015 9:43 AM, Jim Abernathy wrote:
> > I find that for Static IPs, I have to manually add my DNS name servers
> > to /etc/resolv.conf instead of what I'm use to and that's put the line
> > in /etc/network/interfaces with the dns-nameserver [IP] [IP].
> > 
> > My knowledge base comes from Ubuntu Server where putting everything in
> > "/etc/network/interfaces" covers most things.
> > 
> > Anyone know why?
>
> Add resolvconf to your image.
> 
> That being said, I'm using dora and the package there was very
> incomplete. I had to add quite a bit in a .bbappend to make it work
> properly.

Would the issues you found have been fixed by this commit?

  http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=35e0a3eb6725781eb291b3fa90694a68c3b64c60

If not, we should really try to get these fixed in the original recipe - we'd 
certainly appreciate help there.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list