-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > On Sat, 2010-11-20 at 19:53 +0100, Gian Carlo Stagni wrote: >> Set PingCmd simply to "/bin/true" (and hope the remote host keeps >> working fine)
That's what I do at the moment, but I would like to actually use the ping functionality. > > Or use a TCP ping method. However, this requires your BackupPC server to > either run a command as root or run a setuid root command: > > sudo hping3 -S -c 1 -p 22 host | grep 'flags=SA' > > hping3 treats ICMP-port-unreachable messages as answers, so you have to > grep for "SYN ACK" flags in the returned packet. That did the trick. Thanks a lot! Regards Daniel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzqJAgACgkQ9cNB6SmxvVqMRQCeNpOpIr/YwgUlUS3EQ6Sz3RLa GUIAn31PmNfTPCB/kwfF/kWxTWeCXLsN =TTJe -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
