@Viktor Jaep and
@DrDog - I have tried as well over the years to do network scans using ping…
A few ideas/suggestions.
Some IoT devices tend to sleep. I have found it more effective to try to increase the ping packet count and wait time a little:
From -c 1 -W 1 to -c 2 (or 3) and -W 2
Another idea on waking up these devices using ping - do a ping broadcast first, then cycle through the list. Something like:
ping -b -c 2 -W 2 192.168.1.255 (or whatever the broadcast address is)
BTW, this assumes the device will respond to a ping…that’s another issue.