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

Re: help needed urgently with hostlookup failure ..please



Not sure about RedHat. However.

1)  Not being able to telnet to localhost may just mean that telnet is turned off. It is in
Debian by default, if I remember right. Or, you could have firewall rules that prevent telnet.
Try ping localhost and see if that works.

2)  Assuming localhost is up, look at ifconfig. Make sure your interface (eth0) is up. If not,
make sure the the module for your network card is up (lsmod).

3) Assuming your interface is up, type route to find your gateway. Try pinging your gateway.
If you can get a return from your gateway, your part of the network is set up correctly. It is
an issue with your provider.

4) Assuming you can successfully ping your gateway, try pinging an external system by ip. If
you can do that, you are likely not resolving. Check /etc/resolv.conf and make sure you have
one or more nameservers defined.

Rod

> Hello people,
> I am having problems with connecting my RedHat Linux box to the internet. I cannot seem to be
> able to even ping any other machine on the network. I do
>> telnet localhost. I get
>>localhost: Host name lookup failure.
> I tried >telnet 127.0.0.1.
> It waits for some time and then says:
> telnet: unable to connect to remote host: Connection timed out .
> My /etc/hosts file reads like this :
> 127.0.0.1     localhost.localdomain
> Also when i restarted my machine, it waits for 5-10 minutes after coming to the Sendmail
> process and then finally reboots. Could you please help me out as I am not able to do anything
> about this for 2 days now.
> Help truly appreciated.
> Thanks
> Suhail.
>
>
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Search - Find what you?re looking for faster.


-- 
Latest survey shows that 3 out of 4 people make up 75% of the world's population.



Reply to: