LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Not able to ping google.com,getting "timed out" errors. (https://www.linuxquestions.org/questions/linux-networking-3/not-able-to-ping-google-com-getting-timed-out-errors-794127/)

ravi_chobey 03-09-2010 12:31 AM

Not able to ping google.com,getting "timed out" errors.
 
Hi All,

I am not able to ping www.google.com on my system,but when i am able to ping systems connected locally.I am getting "timed out" while using google.com and also i am not able to use "wget".What can be the reason?

Please help me in sorting this issue.

Regards,
Ravi

MS3FGX 03-09-2010 01:01 AM

You aren't clear, is this just Google, or all web addresses? If it is all addresses, then the problem is likely either with your DNS settings or your default gateway. An easy way to test is by using one of the public DNS servers (4.1.1.1).

Try to ping 4.1.1.1, if it doesn't work then you need to fix the default gateway. If it does work, then try putting 4.1.1.1 into /etc/resolv.conf and using it as your primary DNS server. Then try pinging Google again.

ravi_chobey 03-09-2010 05:41 AM

I have tried the changes as you told,but it is giving me the same result. I think some gateway settings are not me ping any website.


Ravi

catkin 03-09-2010 07:12 AM

How are you connected to the Internet? Via a separate device connected to your computer (by USB or network cable) or via a device in your computer?

What is the output from
Code:

ifconfig
route -n
ping -c3 75.126.162.205
ping -c3 linuxquestions.org
cat /etc/resolv.conf
cat /etc/nsswitch.conf


jefro 03-09-2010 05:28 PM

Can I assume that you have no network traffic so you are using this to help diag your problem. Ping is a poor choice since it is blocked more and more these days.

Might also use nslookup www.google.com and tracert www.google.com for more info.


All times are GMT -5. The time now is 12:42 PM.