Skip to contentSkip to conversation

ping says unknown protocol icmp I have /etc/protocols file.

DISCUSSION Subodh Nijsure 2 participants 2 messages Feb 2, 2001

lore
Share & tools
lore
#0 lore raw

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/

#1 lore raw
Quoted 7 lines · Subodh Nijsure

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
[email protected]

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