jpopelka / rpms / net-tools

Forked from rpms/net-tools 3 years ago
Clone

Blame SOURCES/ether-wake.8

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