ip ping by scripts

hi all
i have 4 access points
xxx.xxx.10.254 main one attached to eth2
connecting (wds) with
xxx.xxx.10.253
xxx.xxx.10.252
xxx.xxx.10.251
and the
i want to ping the AP’s every (50 min for example) to make sure they are all works and if there is no ping i want my RB to beep
is that possible?

Yes. Replace xx.xx.xx.xx with the ip you want to test ping.

:if( [/ping "xx.xx.xx.xx" count = 1] == 0) do={
  :beep;
}

sorry it doesn’t work
i need to ping through out1 interface using arp

Get ping working first.

/ping xx.xx.xx.xx arp-ping=yes interface=out1 count=1

If that works, add it to the script above.