linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Jeffrey D. Kowing" <jeffrey.d.kowing1@jsc.nasa.gov>
To: "David A. Gatwood" <dgatwood@gatwood.net>
Cc: murali nagarajan <muralin@gdatech.com>, linuxppc-dev@lists.linuxppc.org
Subject: Re: Problem with ping/telnet
Date: Tue, 5 Feb 2002 19:03:20 -0600	[thread overview]
Message-ID: <15456.32984.74998.373361@igor.jsc.nasa.gov> (raw)
In-Reply-To: <Pine.LNX.3.96.1020205163126.16943I-100000@gatwood.net>


David A. Gatwood writes:
 >
 > On Tue, 5 Feb 2002, murali nagarajan wrote:
 >
 > > With your info, I am able to do a telnet from my board to the host, only if
 > > I specify the port number. What surprises me is that the presence of both
 > > /etc/services (entry to telnet is available with a port number) and the
 > > /etc/protocols files. For some reason, may be the boot process is unable to
 > > read these information.  But when I want to do a telnet to my board from my
 > > host iMAc, I am unable to do. I get an error message "connection refused".
 >
 > This sounds vaguely familiar like I've run into it before, but I can't
 > remember where.
 >
 > The boot process doesn't read /etc/services.  That's read on-the-fly by
 > the telnet program itself with calls to either getservbyname or
 > getservent, which are standard C library calls, and should always work if
 > the service is listed and the files (and directory) are readable by the
 > user that telnet is being run as.

It sounds like you might be missing some of the glibc resolver
libraries that allow programs to access the various databases (i.e.,
things like /etc/services and /etc/protocols.)  In particular, I think
you might be missing the /lib/libnss_files.so.  There is a discussion
of this somewhere in the glibc info pages as I recall.  Also, your
/etc/nsswitch.conf file is important for determining which source of
information takes precedence (for instance, in the case of name
resolution, do you use /ect/hosts first or a domain name server
first).

Regards.

--
Jeff Kowing
jeffrey.d.kowing1@jsc.nasa.gov

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2002-02-06  1:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-05 22:05 Problem with ping/telnet murali nagarajan
2002-02-05 22:53 ` David A. Gatwood
2002-02-06  0:08   ` murali nagarajan
2002-02-06  0:46     ` David A. Gatwood
2002-02-06  1:03       ` Jeffrey D. Kowing [this message]
2002-02-06 19:59         ` murali nagarajan
  -- strict thread matches above, loose matches on Subject: below --
2002-02-07  4:50 Bill Fink

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=15456.32984.74998.373361@igor.jsc.nasa.gov \
    --to=jeffrey.d.kowing1@jsc.nasa.gov \
    --cc=dgatwood@gatwood.net \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=muralin@gdatech.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;
as well as URLs for NNTP newsgroup(s).