Using sudo ping -f (URL)
on a Mac gives the message:
Request timeout for icmp_seq as a reply.
How can I fix this?
27.4k21 gold badges119 silver badges152 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.
4,05010 gold badges37 silver badges47 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.
- In browser go to http://192.168.1.1 (router config dashboard)
- Enter router username & password
- 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
- To solve this, go to SSID configuration (local network > wlan > wlan ssid configuration)
- 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
- Solved, ping success & wireless debugging using
adb connect
success
Explore related questions
See similar questions with these tags.