[debian-edu-commits] debian-edu/ 56/64: 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.

Mike Gabriel sunweaver at debian.org
Wed Oct 23 09:51:57 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 9d2c27beb0edeb315b452c4bd7aedaec4782ee89
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Oct 22 16:22:21 2013 +0000

    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.
    
    git-svn-id: svn+ssh://svn.debian.org/svn/debian-edu/trunk/src/shutdown-at-night@82647 6e500793-9bee-0310-a5b0-9d0909bd054d
---
 debian/changelog |   10 ++++++++++
 wakeupclients    |    2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 84e8fb0..dfd2ca3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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 @@ shutdown-at-night (0.12) UNRELEASED; urgency=low
   * 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
diff --git a/wakeupclients b/wakeupclients
index 01f0e87..ad4391f 100755
--- a/wakeupclients
+++ b/wakeupclients
@@ -58,7 +58,7 @@ exit 0;
 
 sub wakeup {
     my ($ip, $hwaddr) = @_;
-    `wakeonlan -i $ip $hwaddr`;
+    `wakeonlan $hwaddr`;
 }
 
 sub get_alive_list {

-- 
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