{"id":79,"date":"2010-03-31T14:12:14","date_gmt":"2010-03-31T21:12:14","guid":{"rendered":"http:\/\/www.steveneppler.com\/blog\/?p=79"},"modified":"2010-03-31T14:12:14","modified_gmt":"2010-03-31T21:12:14","slug":"fixing-mac-os-x-10-6s-ping-command-aka-removing-request-timeout-for-icmp_seq","status":"publish","type":"post","link":"https:\/\/steveneppler.com\/blog\/2010\/03\/31\/fixing-mac-os-x-10-6s-ping-command-aka-removing-request-timeout-for-icmp_seq","title":{"rendered":"Fixing Mac OS X 10.6&#8217;s ping command (aka, removing Request timeout for icmp_seq #)"},"content":{"rendered":"<p>If you are like me, and annoyed that OS X 10.6&#8217;s ping command displays the following text when it cannot reach a host:<br \/>\n<code><br \/>\nRequest timeout for icmp_seq 0<br \/>\nRequest timeout for icmp_seq 1<br \/>\nRequest timeout for icmp_seq 2<br \/>\n<\/code><br \/>\nThen you&#8217;ll be happy for the fix.  You can either download the <a href=\"http:\/\/opensource.apple.com\/source\/network_cmds\/network_cmds-325.1\/ping.tproj\/ping.c\">source code<\/a> to the ping command from Apple and edit it yourself, or you can <a href=\"http:\/\/epplersoft.com\/ping-fixed.tar.gz\">download<\/a> my pre-compiled copy.<\/p>\n<p>If you choose to edit it yourself, you&#8217;ll want to comment out lines 977 and 978 so they look like this:<br \/>\n<code><br \/>\n \/\/ if (!(options & F_QUIET))<br \/>\n                                        \/\/ printf(\"Request timeout for icmp_seq %ld\\n\", ntransmitted - 2);<br \/>\n<\/code><\/p>\n<p>Then just type &#8216;gcc ping.c&#8217; and you&#8217;ll end up with a file called a.out, which you can use to replace \/sbin\/ping, or put in your local ~\/bin directory if you&#8217;ve got one.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are like me, and annoyed that OS X 10.6&#8217;s ping command displays the following text when it cannot reach a host: Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 Then you&#8217;ll be happy for the fix. You can either download the source code to the ping &#8230; <a title=\"Fixing Mac OS X 10.6&#8217;s ping command (aka, removing Request timeout for icmp_seq #)\" class=\"read-more\" href=\"https:\/\/steveneppler.com\/blog\/2010\/03\/31\/fixing-mac-os-x-10-6s-ping-command-aka-removing-request-timeout-for-icmp_seq\" aria-label=\"Read more about Fixing Mac OS X 10.6&#8217;s ping command (aka, removing Request timeout for icmp_seq #)\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,7,4],"tags":[],"class_list":["post-79","post","type-post","status-publish","format-standard","hentry","category-apple","category-mac-os-x","category-on-the-job"],"_links":{"self":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/comments?post=79"}],"version-history":[{"count":9,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts\/79\/revisions"}],"predecessor-version":[{"id":88,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts\/79\/revisions\/88"}],"wp:attachment":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/media?parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/categories?post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/tags?post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}