9fans archive / 1997 / 05 / 26 /    prev next

From: Scott Schwartz schwartz@cse...
Subject: ICMP support??
Date: Mon, 05 May 1997 12:01:41 EDT

Digby Tarvin <digbyt@acm.org> writes:
| I just noticed that my Plan9 system does not respond to ICMP
| Echo requests. At least I get no response from a 'ping'.
| 
| I thought this was a pretty basic IP function. Is there
| something that needs to be enabled, or is there just
| no support for it??

Recompile the kernel with the #Q device.
add to /lib/namespace:
	bind -a #Q /net 
add to /bin/cpurc:
	bind -a '#Q' /dev
	aux/icmp
	echo -n 'add tcp il udp icmp' >/net/cs

(If you are using a terminal with both ethernet and ppp, and you want
ping to work over the modem, icmp has to be told which interface to
use.  Fixed in Brazil, probably.)