I have been searching for a way to Wake-on-LAN (WoL) multiple clients in a computer lab or for the purpose of disk imaging. I am using Lubuntu 12.04 as the server. What is the simplest and/or best command-line tool(s) for this job?
I have been doing quite a bit of research and trial/error work on this subject and I'd like to share my findings. These three pages have been very helpful: Wake-on-LAN and Beginners/BashScripting and List all MAC addresses in my local network.
#!/bin/bash etherwake 00:00:00:00:00:00 etherwake 00:00:00:00:00:00 ..
I saved this as a .sh file, gave it permission to run with chmod a+x and then ran it as root: presto!