Blame SOURCES/ether-wake.8

b18d28
.\"                                      Hey, EMACS: -*- nroff -*-
b18d28
.\" First parameter, NAME, should be all caps
b18d28
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
b18d28
.\" other parameters are allowed: see man(7), man(1)
b18d28
.TH ETHER-WAKE 8 "March 31, 2003" "Scyld"
b18d28
.\" Please adjust this date whenever revising the manpage.
b18d28
.\"
b18d28
.\" Some roff macros, for reference:
b18d28
.\" .nh        disable hyphenation
b18d28
.\" .hy        enable hyphenation
b18d28
.\" .ad l      left justify
b18d28
.\" .ad b      justify to both left and right margins
b18d28
.\" .nf        disable filling
b18d28
.\" .fi        enable filling
b18d28
.\" .br        insert line break
b18d28
.\" .sp <n>    insert n+1 empty lines
b18d28
.\" for manpage-specific macros, see man(7)
b18d28
.SH NAME
b18d28
ether-wake \- A tool to send a Wake-On-LAN "Magic Packet"
b18d28
.SH SYNOPSIS
b18d28
.B ether-wake
b18d28
.RI [ options ] " Host-ID"
b18d28
.SH DESCRIPTION
b18d28
This manual page documents the usage of the
b18d28
.B ether-wake
b18d28
command.
b18d28
.PP
b18d28
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
b18d28
.\" \fI<whatever>\fP escape sequences to invoke bold face and italics, 
b18d28
.\" respectively.
b18d28
\fBether-wake\fP is a program that generates and transmits a Wake-On-LAN 
b18d28
(WOL) "Magic Packet", used for restarting machines that have been
b18d28
soft-powered-down (ACPI D3-warm state). It generates the standard
b18d28
AMD Magic Packet format, optionally with a password included.  The
b18d28
single required parameter is a station (MAC) address or a host ID that can
b18d28
be translated to a MAC address by an
b18d28
.BR ethers (5)
b18d28
database specified in
b18d28
.BR nsswitch.conf (5)
b18d28
.
b18d28
.SH OPTIONS
b18d28
\fBether-wake\fP needs a single dash (´-´) in front of options.
b18d28
A summary of options is included below.
b18d28
.TP
b18d28
.B \-b
b18d28
Send the wake-up packet to the broadcast address.
b18d28
.TP
b18d28
.B \-D
b18d28
Increase the Debug Level.
b18d28
.TP
b18d28
.B \-i ifname
b18d28
Use interface ifname instead of the default "eth0".
b18d28
.TP
b18d28
.B \-p passwd
b18d28
Append a four or six byte password to the packet. Only a few adapters
b18d28
need or support this. A six byte password may be specified in Ethernet hex
b18d28
format (00:22:44:66:88:aa) or four byte dotted decimal (192.168.1.1) format.
b18d28
A four byte password must use the dotted decimal format.
b18d28
b18d28
.TP
b18d28
.B \-V
b18d28
Show the program version information.
b18d28
b18d28
.SH EXIT STATUS
b18d28
This program returns 0 on success.
b18d28
A permission failures (e.g. run as a non-root user) results in an exit
b18d28
status of 2.  Unrecognized or invalid parameters result in an exit
b18d28
status of 3.  Failure to retrieve network interface information or send
b18d28
a packet will result in an exit status of 1.
b18d28
b18d28
.SH SEE ALSO
b18d28
.BR arp (8).
b18d28
.br
b18d28
.SH SECURITY
b18d28
On some non-Linux systems dropping root capability allows the process to be
b18d28
dumped, traced or debugged.
b18d28
If someone traces this program, they get control of a raw socket.
b18d28
Linux handles this safely, but beware when porting this program.
b18d28
.SH AUTHOR
b18d28
The ether-wake program was written by Donald Becker at Scyld Computing
b18d28
Corporation for use with the Scyld(\*(Tm) Beowulf System.