[Nottingham] How to enable echo (for ping)

Tom Bird nottingham at mailman.lug.org.uk
Wed Jul 30 16:44:01 2003

On Wed, 30 Jul 2003, Martin wrote:

> OK folks, this must be a trivially simple question...
> How do I enable echo on this box?
> 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
> and there seems to be no echo...
> (echo is supposed to be part of xinetd...?)

TCP echo is part of x?inetd, but ICMP echo is handled by the IP stack

You're better off with the TCP one disabled.

Try 'iptables -A INPUT -i lo -j ACCEPT' or some similar incantation.  Make
sure 'lo' is actually up.

Tom  [www.hambule.co.uk] [tom@hambule.co.uk]