From d5b95cf7a741e3d50ed81fd7777f65534425b5dd Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Sat, 9 Jan 2016 16:56:46 +0000 Subject: [PATCH] flag current error with ping command on Pi --- io/ping/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/io/ping/README.md b/io/ping/README.md index e10b690c..eb2d9fad 100644 --- a/io/ping/README.md +++ b/io/ping/README.md @@ -10,6 +10,14 @@ Run the following command in the root directory of your Node-RED install npm install node-red-node-ping +**Gotcha** + +On some versions on Raspbian (Raspberry Pi) `ping` seems to be a root only command. +The fix is to allow it as follows + + sudo setcap cap_net_raw=ep /bin/ping + sudo setcap cap_net_raw=ep /bin/ping6 + Usage -----