Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] ping and nslookup doesn't work on device
Date: Wed, 26 Nov 2014 22:01:10 +0100	[thread overview]
Message-ID: <20141126220110.15e1b74e@free-electrons.com> (raw)
In-Reply-To: <CAJO1S93csWgVZsGX_Qj5HOCgnphzS1R2A_Oaj-RVbmRohkNH7A@mail.gmail.com>

Dear Kantanu Kumar Mohapatra,

On Wed, 26 Nov 2014 20:01:50 +0530, Kantanu Kumar Mohapatra wrote:

> I am using an ARM 926EJS target board with buildroot-2014.02 to build the
> code.
> I am running linux-2.6.39 kernel.
> 
> Ping and nslookup not working on my device.
> 
> # ping google.com
> ping: *bad address 'google.com <http://google.com/>'*
> 
> # ping 192.168.1.104
> PING 192.168.1.104 (192.168.1.104): 56 data bytes
> 64 bytes from 192.168.1.104: seq=0 ttl=64 time=3.657 ms
> 64 bytes from 192.168.1.104: seq=1 ttl=64 time=0.402 ms
> 64 bytes from 192.168.1.104: seq=2 ttl=64 time=0.366 ms
> --- 192.168.1.104 ping statistics ---
> 3 packets transmitted, 3 packets received, 0% packet loss
> round-trip min/avg/max = 0.366/1.475/3.657 ms
> 
> # nslookup google.com
> nslookup: *can't resolve 'google.com <http://google.com/>*'

Do you have valid things in /etc/resolv.conf ?

Best regards,

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

  reply	other threads:[~2014-11-26 21:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-26 14:31 [Buildroot] ping and nslookup doesn't work on device Kantanu Kumar Mohapatra
2014-11-26 21:01 ` Thomas Petazzoni [this message]
2014-11-27  7:29   ` Kantanu Kumar Mohapatra
2014-11-27 18:42     ` Thomas Petazzoni
2014-11-27 18:50       ` Kantanu Kumar Mohapatra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141126220110.15e1b74e@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox