flag current error with ping command on Pi

This commit is contained in:
Dave Conway-Jones 2016-01-09 16:56:46 +00:00
parent 2aee38e29d
commit d5b95cf7a7
1 changed files with 8 additions and 0 deletions

View File

@ -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
-----