WAKEONLAN(1) User Contributed Perl Documentation WAKEONLAN(1)NAME
wakeonlan - Perl script to wake up computers
SYNOPSIS
wakeonlan [-h] [-v] [-i IP_address] [-p port] [-f file] [[hardware_address] ...]
DESCRIPTION
This script sends 'magic packets' to wake-on-lan enabled ethernet adapters and motherboards, in order to switch on the called PC. Be sure
to connect the NIC with the motherboard if neccesary, and enable the WOL function in the BIOS.
The 'magic packet' consists of 6 times 0xFF followed by 16 times the hardware address of the NIC. This sequence can be encapsulated in any
kind of packet. This script uses UDP packets.
OPTIONS -h Displays the help information.
-v Displays the script version.
-i ip_address
Destination IP address. Unless you have static ARP tables you should use some kind of broadcast address (the broadcast address of the
network where the computer resides or the limited broadcast address). Default: 255.255.255.255 (the limited broadcast address).
-p port
Destination port. Default: 9 (the discard port).
-f file
File with hardware addresses of wakeable computers. For an example check the file lab001.wol in the examples subdirectory.
EXAMPLES
Using the limited broadcast address (255.255.255.255):
$ wakeonlan 01:02:03:04:05:06
$ wakeonlan 01:02:03:04:05:06 01:02:03:04:05:07
Using a subnet broadcast address:
$ wakeonlan -i 192.168.1.255 01:02:03:04:05:06
Using another destination port:
$ wakeonlan -i 192.168.1.255 -p 1234 01:02:03:04:05:06
Using a file as source of hardware and IP addresses:
$ wakeonlan -f examples/lab001.wol
$ wakeonlan -f examples/lab001.wol 01:02:03:04:05:06
AUTHOR
Jose Pedro Oliveira <jpo@di.uminho.pt> maintaining and expanding original work done by Ico Doornekamp <ico@edd.dhs.org>.
COPYRIGHT
Copyright (c) 2000-2005 Jose Pedro Oliveira.
This is free software. You may modify it and distribute it under Perl's Artistic Licence. Modified versions must be clearly indicated.
SEE ALSO
For more information regarding this script and Wakeonlan technology just check the following address
http://gsd.di.uminho.pt/jpo/software/wakeonlan/.
perl v5.14.2 2012-03-10 WAKEONLAN(1)
Check Out this Related Man Page
condor_power(1) General Commands Manual condor_power(1)Name
condor_power send - packet intended to wake a machine from a low power state
Synopsis
condor_power [-h]
condor_power[-d] [-m MACaddress] [-s subnet] [ClassAdFile]
Description
condor_powersends one UDP Wake on LAN (WOL) packet to a machine specified either by command line arguments or by the contents of a machine
ClassAd. The machine ClassAd may be in a file, where the file name specified by the optional argument ClassAdFileis given on the command
line. With no command line arguments to specify the machine, and no file specified, condor_powerquietly presumes that standard input is the
file source which will specify the machine ClassAd that includes the public IP address and subnet of the machine.
condor_powerneeds a complete specification of the machine to be successful. If a MAC address is provided on the command line, but no subnet
is given, then the default value for the subnet is used. If a subnet is provided on the command line, but no MAC address is given, then
condor_powerfalls back to taking its information in the form of the machine ClassAd as provided in a file or on standard input. Note that
this case implies that the command line specification of the subnet is ignored.
Options-h
Print usage information and exit.
-d
Enable debugging messages.
-m MACaddress
Specify the MAC address in the standard format of six groups of two hexadecimal digits separated by colons.
-s subnet
Specify the subnet in the standard form of an IP address. Without this option, the default subnet used will be 255.255.255.255, causing
a broadcast.
Exit Status
condor_powerwill exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure.
Author
Condor Team, University of Wisconsin-Madison
Copyright
Copyright (C) 1990-2012 Condor Team, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved.
Licensed under the Apache License, Version 2.0.
See the Condor Version 7.8.2 Manualor http://www.condorproject.org/licensefor additional notices. condor-admin@cs.wisc.edu
September 2012 condor_power(1)