9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* ICMP support??
@ 1997-05-05 16:01 Scott
  0 siblings, 0 replies; 5+ messages in thread
From: Scott @ 1997-05-05 16:01 UTC (permalink / raw)


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.)





^ permalink raw reply	[flat|nested] 5+ messages in thread

* ICMP support??
@ 1997-05-05 19:57 Digby
  0 siblings, 0 replies; 5+ messages in thread
From: Digby @ 1997-05-05 19:57 UTC (permalink / raw)


>
>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
>
>
Thanks to Steve and all the others that pointed this out to me.

This will give me an excuse to try making a new kernel...

Regards,
DigbyT
-- 
Digby R. S. Tarvin                                              digbyt@acm.org
http://www.users.dircon.co.uk/~cthulhu/




^ permalink raw reply	[flat|nested] 5+ messages in thread

* ICMP support??
@ 1997-05-05 14:04 Brandon
  0 siblings, 0 replies; 5+ messages in thread
From: Brandon @ 1997-05-05 14:04 UTC (permalink / raw)




There is ICMP code in the /sys/src/ tree, but it is not compiled in by
default.  there is a ping command, and there is kernel support, if I
remember correctly.  You have to enable ICMP in the kernel config file
before you build it.

Brandon

On Mon, 5 May 1997, Digby Tarvin wrote:

> 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??
> 
> Regards,
> DigbyT
> -- 
> Digby R. S. Tarvin                                              digbyt@acm.org
> http://www.users.dircon.co.uk/~cthulhu/
> 


/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
 * Brandon Lee Black     * SysAdmin/Developer      *
 * F+E Applications Dept * WorldCom, Inc.          *
 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
 *                Office * 281.362.6466            *
 *            Voice Mail * 800.362.1141 x6466      *
 *       Electronic Mail * photon@nol.net          *
 *                       * photon@gnu.ai.mit.edu   *
 *                       * vis_blb@unx1.shsu.edu   *
 *                       * brandon.black@wcom.com  *
 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
 *          Numeric Page * 800.940.9797 x7012263   *
 * Alpha Page (Operator) * 800.940.9595 x7012263   *
 *   Alpha Page (E-mail) * 7012263@mobilecomm.net  *
 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/






^ permalink raw reply	[flat|nested] 5+ messages in thread

* ICMP support??
@ 1997-05-05 13:55 Steve
  0 siblings, 0 replies; 5+ messages in thread
From: Steve @ 1997-05-05 13:55 UTC (permalink / raw)


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.toronto.edu>
To:     9fans@cse.psu.edu
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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* ICMP support??
@ 1997-05-05  4:23 Digby
  0 siblings, 0 replies; 5+ messages in thread
From: Digby @ 1997-05-05  4:23 UTC (permalink / raw)


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??

Regards,
DigbyT
-- 
Digby R. S. Tarvin                                              digbyt@acm.org
http://www.users.dircon.co.uk/~cthulhu/




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1997-05-05 19:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-05-05 16:01 ICMP support?? Scott
  -- strict thread matches above, loose matches on Subject: below --
1997-05-05 19:57 Digby
1997-05-05 14:04 Brandon
1997-05-05 13:55 Steve
1997-05-05  4:23 Digby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).