Using sudo ping -f (URL) on a Mac gives the message:

Request timeout for icmp_seq as a reply.

How can I fix this?

Mateen Ulhaq's user avatar

Mateen Ulhaq

27.4k21 gold badges119 silver badges152 bronze badges

asked Feb 25, 2015 at 11:13

user3541125's user avatar

user3541125user3541125

4912 gold badges6 silver badges11 bronze badges

1

The reply means the target host is unreachable which is not an error and can happen using a plain 'ping' as well. Now, using the -f(lood) option, some firewalls or hosts can believe it's a DoS attack and drop the icmp packets silently.

Do you really need this -f option ? It can overflow the network and should be avoided as much as possible.

ham-sandwich's user avatar

ham-sandwich

4,05010 gold badges37 silver badges47 bronze badges

answered Feb 25, 2015 at 13:23

Pyrophorus's user avatar

PyrophorusPyrophorus

2891 silver badge3 bronze badges

3

In my case, I want to ping another connected device in the same network (for wireless debugging purpose using adb) but returning "Request timeout for icmp_seq" in the mac terminal.

So if you encounter this problem only in your own home / private network, continue reading this answer, because I experienced this issue on my own wifi network.

I found this solution with configuring my wifi router (ZTE Router) below.

  1. In browser go to http://192.168.1.1 (router config dashboard)
  2. Enter router username & password
  3. Check the connected device status (local network > status > wlan client status). In this case, my phone connected to SSID1 and my mac connected to SSID5, so cannot ping each others wlan client status
  4. To solve this, go to SSID configuration (local network > wlan > wlan ssid configuration)
  5. In the configuration I found that SSID1 using 2.4Ghz and SSID5 using 5Ghz, maybe the this is the root cause, so I turned off all SSIDs and leave only SSID1 active ssid config
  6. Solved, ping success & wireless debugging using adb connect success

answered Jul 30, 2024 at 5:43

Adan's user avatar

AdanAdan

6365 silver badges15 bronze badges

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.