Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

ping request timeout on LAN

I want to connect to a Ubuntu server on the local machine over ssh. If I just try to ping it I get no answer.


janos@macbook:~$ ping m

PING m (192.168.0.13): 56 data bytes

Request timeout for icmp_seq 0

Request timeout for icmp_seq 1

Request timeout for icmp_seq 2

Request timeout for icmp_seq 3

Request timeout for icmp_seq 4

^C

--- m ping statistics ---

6 packets transmitted, 0 packets received, 100.0% packet loss

The firewall on the mac is off. If I try to connect to the same server from an other linux machine I can do it without any problem.

The resetting of the WiFi router solved the program temporary, but I can't restart the router every time I want to connect to the router.

MacBook, OS X Yosemite (10.10.4)

Posted on Sep 23, 2015 8:57 AM

Reply
13 replies

Sep 24, 2015 12:07 AM in response to Linc Davis

In these cases below I removed the m and used the IP address of the server. On the macbook I'm using MacOSX, on the lenovo I'm using Ubuntu 14.04.

I think the underlying cause is on the Mac, because the ping and the ssh is working on the lenovo. Any idea what can be the underlying cause? (The firewall on the mac is Off).


on the macbook:

janos@macbook:~/work/anpr$ ping 192.168.0.13

PING 192.168.0.13 (192.168.0.13): 56 data bytes

Request timeout for icmp_seq 0

Request timeout for icmp_seq 1

Request timeout for icmp_seq 2

Request timeout for icmp_seq 3

Request timeout for icmp_seq 4

ping: sendto: No route to host

Request timeout for icmp_seq 5

^C

--- 192.168.0.13 ping statistics ---

7 packets transmitted, 0 packets received, 100.0% packet loss

janos@macbook:~/work/anpr$ ssh 192.168.0.13

ssh: connect to host 192.168.0.13 port 22: Operation timed out


---


on an other laptop:

janos@lenovo:~$ ping 192.168.0.13

PING 192.168.0.13 (192.168.0.13) 56(84) bytes of data.

64 bytes from 192.168.0.13: icmp_seq=1 ttl=64 time=63.2 ms

64 bytes from 192.168.0.13: icmp_seq=2 ttl=64 time=86.4 ms

64 bytes from 192.168.0.13: icmp_seq=3 ttl=64 time=8.11 ms

64 bytes from 192.168.0.13: icmp_seq=4 ttl=64 time=29.7 ms

64 bytes from 192.168.0.13: icmp_seq=5 ttl=64 time=53.0 ms

64 bytes from 192.168.0.13: icmp_seq=6 ttl=64 time=175 ms

^C

--- 192.168.0.13 ping statistics ---

6 packets transmitted, 6 received, 0% packet loss, time 5004ms

rtt min/avg/max/mdev = 8.118/69.280/175.041/53.358 ms

janos@lenovo:~$ ssh 192.168.0.13

You have new mail.

Last login: Wed Sep 23 23:38:30 2015 from 192.168.0.12

Sep 24, 2015 7:32 AM in response to Linc Davis

How can I boot into recovery mode?


I found this in my Routing tables. What do you think, is there a problem with this?


Internet:

Destination Gateway Flags Refs Use Netif Expire

default 192.168.0.1 UGSc 22 0 en1

127 localhost UCS 0 0 lo0

localhost localhost UH 6 6269 lo0

169.254 link#5 UCS 0 0 en1

192.168.0 link#5 UCS 1 0 en1

192.168.0.1/32 link#5 UCS 1 0 en1

192.168.0.1 ca:11:22:33:44:55 UHLWIir 24 116 en1 166

192.168.0.11/32 link#5 UCS 0 0 en1

m link#5 UHRLWI 0 2574 en1 16

Sep 25, 2015 6:26 AM in response to Linc Davis

I was pinging

192.168.0.18
which doesn't exists, removed the m line with
route delete m
, pinging
192.168.0.13
(NOT m!), restarted the macbook a few times and finally I was able to
ssh m
. I don't have a clue why, but it works now. If you know why please write it in a comment. I would appreciate it. My routing table is the following now: pastebin.com/5X4mm0fz I'm still curious what happens if the Expire reaches zero.

ping request timeout on LAN

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.