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.
So, last night I Googled "BackupPC wol" got some more info.
This is the article that started me off last January:
> http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/backuppc-21/wol-how-it-works-for-me-74879/
This writing was initially a little robust for my needs, however he
brings up some very good ideas.
This article is from Ubunut-fr (France) and needed to be translated by
Google:
> http://doc.ubuntu-fr.org/backuppc
It relates to Windows pc's, should that be what you need.
I, personally, am trying to wake and backup Ubuntu machines. I cannot
say if it works with other distros, but I don't see why it would not.
My next step is to move my wake-on-lan scripts over to my BackupPC
machine (the scripts are working on my desktop to wake my test machine.)
I'll continue now my testing and keep you posted as I go.
Robert Wooden
Nashville, TN. USA
Computer Freedom? . . . Linux
On 09/02/2011 01:18 PM, Tim Fletcher wrote:
> On Fri, 2011-09-02 at 00:34 -0700, egrimisu wrote:
>> Hi guys,
>>
>> backuppc won't wol client pc
>>
>> NmbLookupFindHostCmd = /etc/backuppc/wakeup.sh 00:1a:4d:8c:0a:78 1 $host
>>
>> wakeup.sh has 777 rights and contains:
>>
>>
>> #!/bin/bash
>> wakeonlan $1
>> sleep ${2}m
>> /usr/bin/nmblookup $3
>>
>> using the dos command wolcmd.exe 001a4d8c0a78 192.168.2.74 255.255.255.0
>> wakes the pc up.
> Sending the WoL packets need root (admin in the windows world)
> privileges so you will need to make setup sudo to allow the backuppc
> user to run wakeonlan as root or you need to setuid the wakeonlan
> binary. (bad idea)
>
------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|