[debian-edu-commits] debian-edu/ 34/64: Improve documentation.
Mike Gabriel
sunweaver at debian.org
Wed Oct 23 09:51:53 UTC 2013
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository shutdown-at-night.
commit 4d863d9911bdec0b63837fe3e90ba67e0035b233
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Sun Jul 6 23:24:38 2008 +0000
Improve documentation.
git-svn-id: svn+ssh://svn.debian.org/svn/debian-edu/trunk/src/shutdown-at-night@42347 6e500793-9bee-0310-a5b0-9d0909bd054d
---
README | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/README b/README
index 8bc740f..104ac6d 100644
--- a/README
+++ b/README
@@ -25,12 +25,14 @@ How to set it up
----------------
On clients that should turn off at night, touch
-/etc/shutdown-at-night/shutdown-at-night, or add the hostname to the
-netgroup "shutdown-at-night-hosts". The clients might need to have
-wake-on-lan configured in the BIOS. It is also important that the
-switches and routers used between the wake-on-lan server and the
-clients will pass the WOL packages to the clients even if the clients
-are turned off.
+/etc/shutdown-at-night/shutdown-at-night, or add the hostname (ie the
+output from 'uname -n' on the client) to the netgroup
+"shutdown-at-night-hosts". The clients might need to have wake-on-lan
+configured in the BIOS. It is also important that the switches and
+routers used between the wake-on-lan server and the clients will pass
+the WOL packages to the clients even if the clients are turned off.
+Some switches fail to pass on packages to clients that are missing in
+the ARP table on the switch, and this block the WOL packages.
To enable wake-on-lan on the server, add the clients to
/etc/shutdown-at-night/clients, with one line per client, IP address
@@ -38,6 +40,14 @@ first, and MAC address (ethernet address) next, with space between
them, or create a script /etc/shutdown-at-night/clients-generator to
generate the list of clients on the fly.
+Here is an example /etc/shutdown-at-night/clients-generator for use
+with sitesummary:
+
+ #!/bin/sh
+ PATH=/usr/sbin:$PATH
+ export PATH
+ sitesummary-nodes -w
+
License
-------
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/shutdown-at-night.git
More information about the debian-edu-commits
mailing list