[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: networking 2 pcs



Hi,

    My advice is to start trouble-shooting from the bottom up.  First, check
the link lights on the cards, to see if the cards can 'see' each other.  If
not, you may not actually have a crossover cable.   If that's okay, then try
and watch the 'data' or 'act(ivity)' light on the card while you ping from
that computer, to see if data is actually making it out onto the wire.

The next step is to install a sniffing program like tcpdump on both
machines.  Run tcpdump -i eth0 as root on computer, while pinging it from
the other.  You should see an exchange similar to the following (with the
exception that you probably won't be doing it at 3am...argh):

02:57:54.418977 arp who-has 192.168.1.1 tell 192.168.1.2
02:57:54.419073 arp reply 192.168.1.1 is-at 0:0:f8:30:45:38
02:57:54.419358 192.168.1.2 > 192.168.1.1: icmp: echo request
02:57:54.419521 192.168.1.1 > 192.168.1.2: icmp: echo reply
02:57:55.414138 192.168.1.2 > 192.168.1.1: icmp: echo request
02:57:55.414344 192.168.1.1 > 192.168.1.2: icmp: echo reply
02:57:56.415193 192.168.1.2 > 192.168.1.1: icmp: echo request
02:57:56.415344 192.168.1.1 > 192.168.1.2: icmp: echo reply

If you don't see anything, then it means that there's a lower level
problem - possibly the wrong interrupt was used with the network card module
on one machine.  If you do see _something_, but not the complete exchange,
double check your network settings (IP address, subnet mask and broadcast
address).

This should help you narrow the problem down a bit more anyway - post
another message with the results of these tests.

    - Kevin.

P.S.  As another poster pointed out, telnetd has nothing to do with ping.

From: "john connolly" <JCONNOLLY@kc.rr.com>
To: <debian-user@lists.debian.org>
Sent: Tuesday, April 24, 2001 8:24 AM
Subject: networking 2 pcs


> I have  two pcs connected by a crossover cable. Both have their nics
> appropriately configured, (to 192.168.1.1 and 192.168.1.2, resp). I
> cannot
> get them to ping each other. I think the problem is that the telnetd
> service
> is shut off in both of them. The slackware box is connected to the
> internet so I don't want to turn telnetd on there. The debian box is
> only connected to the slackware box, so it is the obvious choice.
> I have potato installed on the debian box. The telnetd daemon is not
> presently
> installed--I can't find it anyway. When I do apt-get install
> /cdrom.../telnetd...
> I get the message that the telnetd package can't be found, even if I
> give the entire path the file as found with the find command. I have
> tried it
> with and without the .deb suffix.
> I'm new to debian and could use some help.
> Thanks, JWC
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>
>



Reply to: