Hi all,
I am trying to ping my computer over wifi to check if it is available. I know it's a much discussed use case n the answer is to use secure settings to ping. I am able to do that.
But Tasker is able to execute other commands like 'ls'.
Is ping handled differently? Is it must to keep secure settings installed (I do not need it otherwise) n use it or am I doing something wrong?
Command: ping -c 1 192.168.0.202
if [ `ping 192.168.x.x -c 1 | grep received | awk '{print($4)}'` = 1 ]
then
echo pc detected
else
echo pc not found
fi