make install fping
stup
download the source code in website : http://fping.org/
unzip the source code zip : fping-3.13.tar.gz
tar -xvf fping-3.13.tar.gz
change to fping-3.13 install directory
cd fping-3.13
Run ./configure with the correct arguments (see: ./configure --help)
./configure
Run make; make install
make
make install
if display that error message like this at last line :
Makefile:357: recipe for target 'install-recursive' failed
and you should use super user right installsudo make install
if you try to run like below and not run the next point will trouble in this situation.
fping -v (null):
can't create socket (must run as root?) :
Permission deniedand then you try like this
sudo fping -v
fping: command not foundMake fping either setuid, or, if under Linux: sudo setcap cap_net_raw+ep fping
chown root:root /usr/local/sbin/fping
chmod u+s /usr/local/sbin/fpingHave a look at the fping(8) manual for usage help
(fping -h will also give a minimal help output)fping -h
fping -v
sumary
this is a good try, but I still don't kown how to complete the step:
if under Linux: sudo setcap cap_net_raw+ep fping