Get 'cannot connect to host', yet can ping remote host!!

Get 'cannot connect to host', yet can ping remote host!!

Post by Keith & Suzann » Thu, 18 Jul 1996 04:00:00



Thanks for reading this.

When I connect to my internet service provider,
I get a dynamic IP address (viewable in /var/log/messages),
am able to 'ping' the remote IP address, yet when I try to run
'lynx' I get 'cannot connect to host'.

BTW, I did try to run Netscape, but got colormap errors. I decided
to back away from Netscape for now.

Any ideas are appreciated.

Keith

 
 
 

Get 'cannot connect to host', yet can ping remote host!!

Post by Grant Edwar » Sun, 21 Jul 1996 04:00:00



: Thanks for reading this.

: When I connect to my internet service provider, I get a dynamic IP address
: (viewable in /var/log/messages), am able to 'ping' the remote IP address,
: yet when I try to run 'lynx' I get 'cannot connect to host'.

: BTW, I did try to run Netscape, but got colormap errors. I decided
: to back away from Netscape for now.

Can you telnet, ftp, or rlogin to host on the other end of the connection?

If ping works and nothing else does, that usually means that one end of the
SLIP connection is in compressed mode and the other is not.

--
Grant Edwards        | Microsoft isn't the   | Yow!  Now I'm having INSIPID
Rosemount Inc.       | answer. Microsoft     | THOUGHTS about the beatiful,
                     | is the question, and  | round wives of HOLLYWOOD

                                             | PLEXIGLASS CARS and being
                                             | approached by SMALL BOYS
                                             | selling FRUIT..

 
 
 

Get 'cannot connect to host', yet can ping remote host!!

Post by Bogdan Bucicovsch » Sun, 21 Jul 1996 04:00:00



> Thanks for reading this.

> When I connect to my internet service provider,
> I get a dynamic IP address (viewable in /var/log/messages),
> am able to 'ping' the remote IP address, yet when I try to run
> 'lynx' I get 'cannot connect to host'.
 [...]
> Keith

==============
What do you have in /etc/resolv.conf ?
Maybe you are missing the nameserver ...
Bogdan
 
 
 

1. Can't ping the host name or host IP address from host.

Hello there,
I have the unusual problem of not being able to ping the machines host name
or host IP address from the host.
I've checkout the network settings and I can't seem to find any problems.  I
am able to ping & telnet to the machine
from the network.  Seems quite strange.

Any help would be really appreciated.

thanks,

Owen.

Here is output from ifconfig


lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          BROADCAST LOOPBACK  MTU:3584  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0

eth0      Link encap:Ethernet  HWaddr 00:60:08:83:28:08
          inet addr:10.0.0.100  Bcast:10.0.0.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:41411 errors:0 dropped:0 overruns:0 frame:0
          TX packets:259 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          Interrupt:3 Base address:0x300



PING penguin (10.0.0.100): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote penguin 64 chars, ret=-1

--- penguin ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss


PING 10.0.0.100 (10.0.0.100): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote 10.0.0.100 64 chars, ret=-1

--- 10.0.0.100 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss

2. Kernel 2.4.2 command execution hangs and then succeded after 2 minutes....!? STRACE-DUMP

3. can't ping host or host IP from host ?

4. Shell Script Question

5. ping -g 'gateway-IP' 'host-IP' DOESN'T work!

6. Patch, please TEST: linux-2.4.9 console font modularization

7. Can't ping SCO Unix 3.2 Host from remote locations

8. extended mt

9. can't ping, ftp etc "Unable to connect, unknown host"

10. Can't ping local host but can ping others

11. 'host' command not using /etc/hosts?

12. Strange network problems - pings to host are fine, pings from host fail

13. Why ``ftp: connect: no route to host'' message?????