[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 127.0.0.1 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
http://www.xyzzy.demon.co.uk/jmb/cv.html
Give Blood! http://quiz.ravenblack.net/blood.pl?biter=jmb