jpopelka / rpms / net-tools

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