[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Power saving by turning clients off at night



[Ralf Gesellensetter]
> Hi & thanks. To get it right: Is this package meant to be installed on 
> LTSP (straight) or in chroot-env? 

The package contain both the client and the server part.  To activate
the client part in the chroot, create
/etc/shutdown-at-night/shutdown-at-night in the chroot.  To activate
the server part (the part sending out wake-on-lan packages), create a
file /etc/shutdown-at-night/clients with the client addresses or a
script /etc/shutdown-at-night/clients-generator generating the list of
client addresses.  With a recent sitesummary version you can use this
script as the generator if the sitesummary server is used as the
wake-on-lan server:

  #!/bin/sh
  PATH=/usr/sbin:$PATH
  export PATH
  sitesummary-nodes -w

There are some issues with network hardware and client configuration.
The clients might need to have wake-on-lan enabled in the BIOS, and
the switches need to broadcast packages to unknown clients to all
ports, to make sure the wake-on-lan package make it to the turned off
clients.

There is also the nvram-wakeup package being used as a fallback to
turn on clients, and it need to support more clients (mother
board/BIOS version) for this to work for all.

Happy hacking,
-- 
Petter Reinholdtsen


Reply to: