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

Re: ethernet: can't ping localhost or send responses..



I can ping to the win98 machine from the linux box but I can't ping
the box from win98 or ping localhost from the linux box. I can see
that the traffic is going through both boxes when I ping from the
win98 machine but it gets lost. It seems like the linux box doesn't
know how to respond to requests from both itself and other network
devices.
Any ideas why it can send out (and receive from network devices)
but
not respond?


    Do you have an ip address binded to eth0?

    Here's an example of mine:

[ke4rit@reliant ke4rit]$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
reliant                *               255.255.255.255 UH      0         0
0      eth0
192.168.1.0     *                255.255.255.0     U         0         0
0      eth0
127.0.0.0          *               255.0.0.0              U         0
0        0       lo
[ke4rit@reliant ke4rit]$

    Make sure you have the linux machine in your c:\windows\hosts file. Here's
and example of mine:

# Copyright (c) 1994 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Chicago
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

127.0.0.1       localhost
192.168.1.1     Reliant        # Linux Box
192.168.1.2     Galactica    # Novell Server
192.168.1.21    ke4rit        # Win98 Machine

Also, make sure you have the Win98 machine in your /etc/hosts file... Here's
an example of mine:

cd /etc

[ke4rit@reliant /etc]$ cat hosts
127.0.0.0           localhost
192.168.1.1      reliant           reliant.ke4rit.org
192.168.1.2      galactica      galactica.ke4rit.org
192.168.1.21    ke4rit            ke4rit.ke4rit.org
[ke4rit@reliant /etc]$

p.s. Someone said I had to have inetd running.. true?

    You will need inetd running in order for your Windows machine to use ftp,
Telnet, apache, ssh, etc. but not if your just trying to ping machines.

    Hopes some of this helps.

    Goose