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) -- Tim Fletcher <t...@night-shade.org.uk> ------------------------------------------------------------------------------ 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/