Blame SOURCES/ether-wake.8

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