Re: ping problem ...



you may need to include ip address and host name in the /etc/hosts

onkar wrote:
I am configuring ADSL connection on my Linux box
every thing goes fine - network activated but ...

$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
-----no response ----



here are the files which might be helpful in debugging ...

$cat /etc/resolv.conf
# MADE-BY-RP-PPPOE
nameserver 203.94.227.70
nameserver 203.94.243.70
nameserver 192.168.1.1

$cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain my_computer localhost

.



Relevant Pages

  • Re: cant ping external website
    ... Should return the IP addressefor the host you query. ... you might wish to verify that the nameserver in question will ... i am able to ping the nameserver ip succesfully ...
    (Ubuntu)
  • Re: Cant ping or get some sites
    ... fw is the firewall box with two nics and wb is the web browsing ... pc1 node's gateway ... ping -c 1 150.135.180.1 to test route to isp gateway. ...
    (comp.os.linux.networking)
  • Re: DNS error or idiot on parade
    ... > private IP showing up when I try and ping from a remote site. ... You could check your DNS Server with "host" e.g.: ... That would query the nameserver on 127.0.0.1 for the name ... If this reports the right IP: ...
    (freebsd-questions)
  • Fresh install of Solaris 10 - Networking semi-working.
    ... What is odd is that I can resolve the host names, but cant connect to machines outside my LAN. ... ping: unknown host sun.com ... nameserver 212.67.96.129 ... cat /etc/defaultrouter ...
    (comp.unix.solaris)
  • Re: routing table problem after power failure (sarge)
    ... nameserver 194.159.73.135 ... ;; connection timed out; no servers could be reached ... tried to ping 127.0.0.1 router and lan, ...
    (Debian-User)