linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ping says unknown protocol icmp I have /etc/protocols file.
@ 2001-02-02  2:36 Subodh Nijsure
  2001-02-02 13:55 ` Jeffrey D. Kowing
  0 siblings, 1 reply; 5+ messages in thread
From: Subodh Nijsure @ 2001-02-02  2:36 UTC (permalink / raw)
  To: linuxppc-embedded


I have 2.4.1 running on my board with ramdisk loading etc.

However when I try to use ping it says unknown protocol icmp.

I have searched the mailing list archive and made sure that I have correct
/etc/protocols, /etc/services files.

Also I can see eth0 and loopback interface using ifconfig

Anybody knows how to get ping going.

Thanks.

/Subodh  Nijsure

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

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: ping says unknown protocol icmp I have /etc/protocols file.
@ 2001-02-02 15:18 Subodh Nijsure
  2001-02-02 18:33 ` Frank Rowand
  0 siblings, 1 reply; 5+ messages in thread
From: Subodh Nijsure @ 2001-02-02 15:18 UTC (permalink / raw)
  To: 'jeffrey.d.kowing1@jsc.nasa.gov'; +Cc: linuxppc-embedded


Hello Jeffrey,


Thanks, indeed it was an issue of having libresolv library

I copied libresolve to /usr/lib when building the ramdisk and
ping works now.

BTW, is there a something equivalent to  ldd in powerpc world, so one
can find out which shared library an executable is linked with?
I have 8xx environment from MontaVista and I don't see ppc_8xx-ldd

/Subodh Nijsure

> -----Original Message-----
> From: Jeffrey D. Kowing [mailto:jeffrey.d.kowing1@jsc.nasa.gov]
> Sent: Friday, February 02, 2001 5:56 AM
> To: Subodh Nijsure
> Cc: linuxppc-embedded@lists.linuxppc.org
> Subject: ping says unknown protocol icmp I have /etc/protocols file.
>
>
>
> Subodh Nijsure writes:
>  >
>  > I have 2.4.1 running on my board with ramdisk loading etc.
>  >
>  > However when I try to use ping it says unknown protocol icmp.
>  >
>  > I have searched the mailing list archive and made sure
> that I have correct
>  > /etc/protocols, /etc/services files.
>
> Had a similar problem recently.  Sadly, my little brain does not
> exactly remember the solution, but I believe the problem was that I
> did not have one of the necessary libraries on my ramdisk that allowed
> ping to lookup the icmp protocol in the files you mention.
>
> I think it was one of those libresolv* or libnss* libraries.
>
>
> --
> Jeff Kowing
> jeffrey.d.kowing1@jsc.nasa.gov
>

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-02-05  1:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-02  2:36 ping says unknown protocol icmp I have /etc/protocols file Subodh Nijsure
2001-02-02 13:55 ` Jeffrey D. Kowing
  -- strict thread matches above, loose matches on Subject: below --
2001-02-02 15:18 Subodh Nijsure
2001-02-02 18:33 ` Frank Rowand
2001-02-05  1:40   ` Graham Stoney

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).