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