Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm not sure this question is relevant in this forum, but I really need your helps. I'm using Ubuntu 9.04, and when I do a ping to any ip or host, what I got were always 100% packet loss. This is terrible, since I cannot do many things in my textbook. Please help me to fix this problem. Thank you very much

share|improve this question

migrated from Aug 12 '09 at 16:28

This question came from our site for professional and enthusiast programmers.

Is this about just not being able to ping or not having any network connectivity? – Troggy Aug 12 '09 at 16:50
Duplicate of – nagul Aug 12 '09 at 18:47

Sounds like you're behind a firewall.

share|improve this answer

Work out where you first get 100% packet loss of ICMP pings. Try one or two pings to, your local external IP interface, your router (if any) or default gateway, ISP hosts (e.g. DNS server, mail server). Try ping -c 3 -w 12 (stop after 3 pings or 12 seconds) and let it finish by itself rather than ending prematurely as some ping, network stacks or networks can cause long delays on ping transmissions: patience can be helpful.

[In particular, for Ubuntu, if you see long delays on sending pings (typically a 5s timeout when pinging by hostname), look at on how the avahi daemon can introduce these delays.]

Possible causes of ping loss:

  1. You may be running a firewall that is discarding pings or ICMP (outbound or inbound)

  2. There may be a router between the client and the server blocking or throttling pings or ICMP traffic

  3. The host you are pinging may be set not to respond to pings or ICMP traffic

share|improve this answer

try doing a traceroute to help discover where it's dying.

share|improve this answer

It sounds like your pings are being rejected somewhere. You should check to make sure that ICMP traffic is enabled on your router. Are you able to ping the local host IP?

share|improve this answer

It does sound like a firewall, but have you tried pinging localhost or or your local IP address? If this works, then it's likely a firewall.

share|improve this answer

You must log in to answer this question.