[Buildroot] ping and nslookup doesn't work on device
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Nov 27 18:42:37 UTC 2014
Dear Kantanu Kumar Mohapatra,
On Thu, 27 Nov 2014 12:59:12 +0530, Kantanu Kumar Mohapatra wrote:
> This is resolv.conf in my device.
>
> # cat /etc/resolv.conf
> ; DNS configuration
> search private_domain
> nameserver 223.1.4.3
> nameserver 8.8.8.8
> #
> # ping 223.1.4.3
> PING 223.1.4.3 (223.1.4.3): 56 data bytes
> ping: sendto: Network is unreachable
> #
> # ping 8.8.8.8
> PING 8.8.8.8 (8.8.8.8): 56 data bytes
> ping: sendto: Network is unreachable
Well, if you can't reach the DNS servers, then there is no way for DNS
resolution to work. Your network configuration seems to be incorrect.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list