A simple command line magic packet sender for Wake-on-LAN enabled devices writted in Python.
This tool have Command Line Interface, using the GNU style for parameters.
To wakeup a machine you can provide the network broadcast address, the port number and the MAC address of the machine’s nic. The net broadcast address and the port’s number are optional. If not setted, by default the magic packet sended at the
192.168.1.255, targeting port
wol.py [-h] [-b BROADCAST_ADDRESS] [-p PORT_NUM] MAC_ADDRESS
positional arguments: MAC_ADDRESS : The MAC address of the machine you want to send the magic packet. Digits could be separated by ‘:’ or ‘-‘ optional arguments: -h, --help : show help message and exit -b BROADCAST_ADDRESS, --broadcast BROADCAST_ADDRESS : The network broadcast address, in dotted format: www.xxx.yyy.zzz -p PORT_NUM, --port PORT_NUM : The listening port usually 7 or 9. (By default, the program use port 9)
This is free software distributed under the FreeBSD License.