Blame SOURCES/ether-wake.8

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