Well, your development on this is way over my head but, I sure do like your wakeup script.

In my case, I worked on this last January or so and forgot where I left off. I am embarrassed to say that I cannot find my notes from then and so I do not know want other related commands (within BackupPC) that I may have changed. I am sitting here scratching my head, deciding how to proceed.

Robert Wooden
Nashville, TN. USA

Computer Freedom? . . . Linux


On 09/03/2011 04:33 PM, Tim Fletcher wrote:
On Sat, 2011-09-03 at 16:09 -0500, Robert E. Wooden wrote:
I have worked on this issue in the past for myself. Never really got it
completed. However, your email has me interested again and this is good
weekend to work on this.
I've had it working for a year or so with the following setup:

In the file /etc/sudoers add the following lines:

Cmnd_Alias WOL     = /usr/bin/wakeonlan,/usr/sbin/etherwake
backuppc  ALL=(root) NOPASSWD:WOL

And change the pingcmd for the hosts to the following line:

$Conf{PingCmd} = '/usr/local/bin/wakeup.sh $host';

I've also attached a slightly edited version of the script I use to fire
off the WoL packets.



------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to