[Buildroot] ping not working in a glibc based buildroot

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Jul 10 13:34:35 UTC 2014


Dear Eial Czerwacki,

On Thu, 10 Jul 2014 16:02:42 +0300, Eial Czerwacki wrote:

> On 07/10/2014 03:56 PM, Thomas Petazzoni wrote:
> > Dear Eial Czerwacki,
> >
> > On Thu, 10 Jul 2014 15:35:10 +0300, Eial Czerwacki wrote:
> >
> >> pinging an ip works, the problem is when I use an machine alias.
> > Then indeed your /etc/resolv.conf is wrong.
> >
> > Thomas
> 
> I copied the resolv.conf from my desktop to the remote machine and tried
> to run ping, the problem still persists.
> are there any specific libs that might be needed?

Yes, the libnss_dns.so.* library, but normally it gets copied to the
rootfs. Can you check you have it?

Also, can you ping the DNS server from your embedded system?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list