Package: debian-edu-config Version: 1.452 The wakeonlan feature for shutdown-at-night is not working in Skolelinux/Squeeze. This means machines turned off automatically at night have to be manually turned on if nvram-wakeup do not work.
I discovered emails like this sent to root on a Main Server: From: root@postoffice.intern (Cron Daemon) To: root@postoffice.intern Subject: Cron <root@tjener> test -x /usr/lib/shutdown-at-night/wakeupclients && /usr/lib/shutdown-at-night/wakeupclients ICMP Host Unreachable from 10.0.2.2 for ICMP Echo sent to delltest.intern (10.0.16.20) ICMP Host Unreachable from 10.0.2.2 for ICMP Echo sent to delltest (10.0.16.20) ICMP Host Unreachable from 10.0.2.2 for ICMP Echo sent to delltest.intern (10.0.16.20) Use of uninitialized value in concatenation (.) or string at /usr/lib/shutdown-at-night/wakeupclients line 48. Use of uninitialized value $hwaddr in concatenation (.) or string at /usr/lib/shutdown-at-night/wakeupclients line 61. Use of uninitialized value $hwaddrs{"delltest.intern"} in concatenation (.) or string at /usr/lib/shutdown-at-night/wakeupclients line 48. Use of uninitialized value $hwaddr in concatenation (.) or string at /usr/lib/shutdown-at-night/wakeupclients line 61. I tracked this down to /etc/shutdown-at-night/clients-generator, which give this output on my test installation: root@tjener:~# /etc/shutdown-at-night/clients-generator delltest delltest.intern root@tjener:~# But /usr/lib/shutdown-at-night/wakeupclients now expect it to include lines with hostname and MAC address separated by space, and thus fail with the messages listed above. The MAC address is needed for wakeonlan to work. I guess the fix is to rewrite the generator to look up all hosts in the shutdown-at-night-hosts netgroup in the sitesummary database and output the MAC address found there. -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-edu-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2flwr6xl7j9....@diskless.uio.no