check_ping with different packet size
Posted: Mon Dec 07, 2020 7:44 am
Hello all, this is my first post in the support forum.
I've only just recently installed v1.5.2-RPi-Build1 on a Pi Model 3B+ and things were going reasonably smoothly. I was happily adding hosts and verifying that NEMS was able to detect if they were online, until I tried adding a host entry for my EtherRain devices - refer to http://www.quicksmart.com/qs_etherrain.html
NEMS kept reporting that the device was offline even though I could ping it from my windows 10 laptop. I tried manually pinging the device from the NEMS terminal and it failed as well.
I noticed that the windows ping was only 32bytes, but the default ping from the NEMS terminal was 64bytes. Just for giggles I found that if I manually set the packet size to be 32 bytes, it worked.
Now for my actual question... can someone help me work out how to force the relevant check command (eg. check-host-alive or check_ping) to specify the length to be 32bytes ?
I've only just recently installed v1.5.2-RPi-Build1 on a Pi Model 3B+ and things were going reasonably smoothly. I was happily adding hosts and verifying that NEMS was able to detect if they were online, until I tried adding a host entry for my EtherRain devices - refer to http://www.quicksmart.com/qs_etherrain.html
NEMS kept reporting that the device was offline even though I could ping it from my windows 10 laptop. I tried manually pinging the device from the NEMS terminal and it failed as well.
I noticed that the windows ping was only 32bytes, but the default ping from the NEMS terminal was 64bytes. Just for giggles I found that if I manually set the packet size to be 32 bytes, it worked.
Code: Select all
ping 192.168.1.112 -> failed
ping -s 32 192.168.1.112 -> worked
ping -s 33 192.168.1.112 -> failed