Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I am unable to ping outside of my mac from the Terminal, and yet the internet connection (as seen from Safari) is otherwise just fine.

Where do I start to debug this issue?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Your Mac is probably behind a proxy. This article explains how to configure proxy settings on your Mac. If you are behind a proxy, then you probably will not be able to get ping to work.

Otherwise, the first step to troubleshooting a connectivity issue when Safari is working is to use traceroute to some well-maintained destination. I typically use google.com.

traceroute google.com

If you get the error unknown host google.com then you have a DNS problem. Otherwise traceroute should provide you with information that helps you pinpoint the problem.

share|improve this answer
    
In this case specifying the host ('traceroute -p port host') is helpful. –  Calaf Aug 6 '12 at 15:56
add comment

I recently dealt with a similar issue you its possible that something is blocking your ping requests. You should try to restart your modem and router (power cycle). This worked in my scenario.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.