[Nottingham] How to enable echo (for ping)

James Beckett nottingham at mailman.lug.org.uk
Wed Jul 30 18:18:01 2003

Martin wrote:
> ping works fine out to my ISP, but 'ping localhost' has 100% packet 
> loss. localhost resolves to ok, and iptables count the packets 
> on the ACCEPT rules ok.
> So far I've tried:
> chkconfig echo on
> /etc/init.d/xinetd reload

The echo service in x?inetd is entirely unrelated to the ping (ICMP)
echos you're looking for. The echo service will echo back a TCP stream
you send to it, eg with
	telnet localhost echo
More than likely, you don't need it enabled.

Can you ping your box from another?
Can you telnet localhost?
         telnet localhost 80? etc

In /etc/sysctl.conf do you have a line like
	net.ipv4.icmp_echo_ignore=1 ?

James Beckett
Give Blood! http://quiz.ravenblack.net/blood.pl?biter=jmb