Comment 6 for bug 431219

Revision history for this message
emilio (emiliomaggio) wrote : Re: [Bug 431219] Re: Add to deja-dup wake on lan functionality

Hi Ken,

I have done a small research on existing clients.

One possibility is this PERL script (there is also a python wrapper):
http://gsd.di.uminho.pt/jpo/software/wakeonlan/

Another possibility is this Canonical project:
http://blog.dustinkirkland.com/2009/07/introducing-powernap.html
https://launchpad.net/powernap
there is a script "powerwake" that should be up ok for the job:
http://bazaar.launchpad.net/~kirkland/powernap/trunk/annotate/head%
3A/powerwake

Cheers

Emilio

On Thu, 2009-09-17 at 16:37 +0000, Kenneth Loafman wrote:
> Michael Terry wrote:
> > Oh, I assumed that it would work with just the server information Deja
> > Dup already has. I see now that you need the ip/name to be cached or
> > use the MAC address (which makes sense since the server is off...). So
> > maybe it would need a bit of UI to work.
> >
> > Ken, this functionality could live in duplicity (if host isn't
> > reachable, try to wake it; would need to allow passing an optional MAC
> > address to use or if that isn't provided just try the server name given
> > and hope).
> >
> > Or if you're not excited about it, the feature could live just in Deja
> > Dup, if and when it's added.
>
> Adding to duplicity would make sense. Send me some pointers on the API
> and I'll see what I can do. The MAC address is quite often still in the
> ARP cache even if the machine is off, so we may be able to do without
> any user input if that's the case.
>
> ...Ken
>