[debian-edu-commits] r82647 - in trunk/src/shutdown-at-night: . debian

mike-gabriel-guest at alioth.debian.org mike-gabriel-guest at alioth.debian.org
Tue Oct 22 16:22:21 UTC 2013


Author: mike-gabriel-guest
Date: 2013-10-22 16:22:21 +0000 (Tue, 22 Oct 2013)
New Revision: 82647

Modified:
   trunk/src/shutdown-at-night/debian/changelog
   trunk/src/shutdown-at-night/wakeupclients
Log:
The -i <host-ip> option in the wakeonlan executable is only useful
on networks with static ARP tables available. For networks using 
dynamic ARP tables (common with most switches), a broadcast address
instead of a host IP should be given here. The wakeonlan default
(255.255.255.255) is just fine for most network setups. So we omit
the -i <host-ip> option completely when calling wakeonlan in the
wakeupclients script.

Modified: trunk/src/shutdown-at-night/debian/changelog
===================================================================
--- trunk/src/shutdown-at-night/debian/changelog	2013-10-22 09:41:10 UTC (rev 82646)
+++ trunk/src/shutdown-at-night/debian/changelog	2013-10-22 16:22:21 UTC (rev 82647)
@@ -1,5 +1,6 @@
 shutdown-at-night (0.12) UNRELEASED; urgency=low
 
+  [ Petter Reinholdtsen ]
   * Add support for using the ACPI RTC wakeup interface to wake up the
     machine (Closes: #717441).
   * Correct time zone calculations, try to ensure that the 07:00 wake
@@ -7,6 +8,15 @@
   * Make sure to syslog that ACPI RTC is used to set wakeup time when
     it is used.
 
+  [ Mike Gabriel ]
+  * The -i <host-ip> option in the wakeonlan executable is only useful
+    on networks with static ARP tables available. For networks using 
+    dynamic ARP tables (common with most switches), a broadcast address
+    instead of a host IP should be given here. The wakeonlan default
+    (255.255.255.255) is just fine for most network setups. So we omit
+    the -i <host-ip> option completely when calling wakeonlan in the
+    wakeupclients script.
+
  -- Petter Reinholdtsen <pere at debian.org>  Mon, 15 Jul 2013 17:26:08 +0200
 
 shutdown-at-night (0.11) unstable; urgency=low

Modified: trunk/src/shutdown-at-night/wakeupclients
===================================================================
--- trunk/src/shutdown-at-night/wakeupclients	2013-10-22 09:41:10 UTC (rev 82646)
+++ trunk/src/shutdown-at-night/wakeupclients	2013-10-22 16:22:21 UTC (rev 82647)
@@ -58,7 +58,7 @@
 
 sub wakeup {
     my ($ip, $hwaddr) = @_;
-    `wakeonlan -i $ip $hwaddr`;
+    `wakeonlan $hwaddr`;
 }
 
 sub get_alive_list {




More information about the debian-edu-commits mailing list