public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: <simonchu47@yahoo.com.tw>
To: Ari Saastamoinen <arzka@gamedude.fi>,
	linux-omap-open-source@linux.omap.com
Subject: Re: Cannot ping localhost
Date: Tue, 17 Jul 2007 14:53:36 +0800 (CST)	[thread overview]
Message-ID: <201231.39280.qm@web72702.mail.tp2.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0707131322340.2465@titan.hyper.fi>




> On Fri, 13 Jul 2007, simonchu47@yahoo.com.tw wrote:
> 
> > # ping localhost
> > ping: bad address 'localhost'
> 
> > 127.0.0.1               localhost.localdomain
> > localhost
> 
> Is that really TWO lines? Or did email program add
> that newline?

No, it's the same line.
> 
> > But it doesn't work. Can anybody tell me why?
> 
> If I remember correctly there is an option to use
> builtin hostname 
> resolver in busybox. Are you using it or are you
> using resolver offered by 
> libc? What libc version you are using? If glibc, are

I have tried dnsd of busybox. Do you mean that? I have
never found "nameresolver" option of busybox while
execuating "make menuconfig".


> you using dynamic or 
> static nss libraries? If dynamic, do you have
> libnss_files installed? Is 
> the nsswitch.conf configured correctly?

I have tried to build a test program using
"getaddrinfo"function, which should be called from
glibc. And I printout the return value of the
function. The following is the result:
 
OMAP5912OSK
-2
getaddrinfo() failed: Name or service not known

PS:OMAP5912OSK is the hostname.

My cross compiler is arm-linux-gcc, and the version is
3.3.2. Can anyone tell me how to solve the problem?


> 
> -- 
> Arzka
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
>
http://linux.omap.com/mailman/listinfo/linux-omap-open-source
> 



      ____________________________________________________________________________________
杜絕網路駭客,保障帳號安全 - 馬上設定 Yahoo!奇摩安全圖章http://tw.info.yahoo.com/seal/index.html

      reply	other threads:[~2007-07-17  6:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-13  1:27 Cannot ping localhost simonchu47
2007-07-13  5:01 ` Steve Poulsen
2007-07-13  5:36   ` simonchu47
2007-07-13  5:43 ` Juha Kuikka
2007-07-13 10:23 ` Ari Saastamoinen
2007-07-17  6:53   ` simonchu47 [this message]

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=201231.39280.qm@web72702.mail.tp2.yahoo.com \
    --to=simonchu47@yahoo.com.tw \
    --cc=arzka@gamedude.fi \
    --cc=linux-omap-open-source@linux.omap.com \
    /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