home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!usc!wupost!spool.mu.edu!think.com!yale.edu!ira.uka.de!Sirius.dfn.de!solaris.rz.tu-clausthal.de!news!ifwsn4!riepe
- From: riepe@ifwsn4.ifw.uni-hannover.de (Michael Riepe)
- Subject: Re: Step-by-step TCP/IP part 1: Pinging my lo
- Message-ID: <1992Dec13.034113.17352@newsserver.rrzn.uni-hannover.de>
- Sender: news@newsserver.rrzn.uni-hannover.de (News Service)
- Reply-To: riepe@ifwsn4.ifw.uni-hannover.de
- Organization: University of Hannover (Germany), IFW
- References: <1g6ts4INNass@cascade.cs.ubc.ca>
- Date: Sun, 13 Dec 1992 03:41:13 GMT
- Lines: 47
-
- In article 1g6ts4INNass@cascade.cs.ubc.ca, upham@cs.ubc.ca (Derek Upham) writes:
- |>One of my ongoing Linux projects (besides putting in rather needless
- |>security software) is trying to get TCP/IP working on my machine. I
- |>can't really take advantage of it without working SLIP, but it'll be
- |>nice to have a program suite with which to test SLIP, later. My
- |>current project: "ping". (I can hear the gasps at my audacity.)
- |>
- |>My setup is something like this:
-
- [lines deleted]
-
- |>+ /usr/etc/inet/services _and_ /etc/services, both with "echo" on 7.
- |>
- |>+ /usr/etc/inet/inetd.conf, with echo as "stream tcp nowait root internal"
- |>
- |>+ The "ping" binary from the distributed tarfile.
- |>
- |>So, I type (as root) "ping 127.0.0.1", and what happens? It connects
- |>to _something_ (or at least, it doesn't spit back an error message
- |>saying it couldn't). And it starts furiously sending out ICMP echo
- |>packets. But it doesn't get a single response. The fact that it
- |>connects---rather than locking up the machine like "127.0.0.2" does
- |>---suggests that "config" is working correctly. The problem would
- |>then seem to be in inetd. Tracking it down, however, is beyond my
- |>capabilities. Are there any obvious weak spots in my configuration
- |>that might be causing the problem?
-
- First of all, the "echo" entries in /usr/etc/inet/services and
- /usr/etc/inet/inetd.conf don't have anything to do with the ICMP echo
- messages ping sends; it's a TCP protocol that is mainly used for
- testing. You can try it out with "telnet 127.0.0.1 echo" - it will send
- back everything you type in. Maybe you'd like to try the "chargen"
- protocol too - but don't redirect the output to your printer ;-).
-
- Anyway, inetd[.conf] is not the reason why ping fails (BTW it doesn't
- work for me, too). The reason might be that the loopback interface
- fails to handle broadcast packets correctly (just guessing) - or
- there's something wrong with ping itself. Any idea, anybody ?
-
- Michael.
- --
- Michael Riepe <riepe@ifwsn4.ifw.uni-hannover.de>
- Universit"at Hannover
- Institut f"ur Fertigungstechnik und Spanende Werkzeugmaschinen
- Schlosswender Str. 5 W-3000 Hannover 1 (Germany)
- ...life is a sexually transmitted desease !
-
-