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

From: Steve Kotsopoulos steve@raf...
Subject: ICMP support??
Date: Mon, 5 May 1997 09:55:22 -0400

Digby Tarvin wrote:
> 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??

The icmp driver is not configured by default.
The following old posting tells you how to setup icmp.

>From:   Steve Kotsopoulos <steve@ecf...>
To:     9fans@cse...
Subject: configuring icmp (for those who like to ping)
Date:   Wed, 27 Sep 1995 16:45:03 -0400

Since there are neither examples nor a manpage for icmp,
I thought I'd share how I set it up here.

In /sys/src/9/magnum/[magnum magnumcpu], I added an entry for icmp to
the device list as follows:
       icmp    Q

In that same directory, I used "mk", and then "mk 'CONF=magnumcpu'" to
build the 9magnum and 9magnumcpu kernels, which I copied to my tftp area.

In /rc/bin/cpurc, I added (in the case statement for my cpuserver):
       bind -a '#Q' /dev               # icmp device
       aux/icmp                        # icmp listener

and changed the last line to read:
echo -n 'add tcp il udp icmp' > /net/cs

and I added this to /lib/namespace:
bind -a #Q /net