summaryrefslogtreecommitdiff
path: root/networking/ether-wake.c
diff options
context:
space:
mode:
authorTim Riker <tim@rikers.org>2006-01-25 00:08:53 +0000
committerTim Riker <tim@rikers.org>2006-01-25 00:08:53 +0000
commitc1ef7bdd8d002ae0889efcf883d0e1b7faa938d4 (patch)
tree5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /networking/ether-wake.c
parentf64ff682a3d58dbb627e760e6fe1ec21d9ccdf61 (diff)
downloadbusybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.gz
busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.bz2
busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.zip
just whitespace
Diffstat (limited to 'networking/ether-wake.c')
-rw-r--r--networking/ether-wake.c78
1 files changed, 39 insertions, 39 deletions
diff --git a/networking/ether-wake.c b/networking/ether-wake.c
index 9ea5c0366..7d5f79b6a 100644
--- a/networking/ether-wake.c
+++ b/networking/ether-wake.c
@@ -14,53 +14,53 @@
14/* full usage according Donald Becker 14/* full usage according Donald Becker
15 * usage: ether-wake [-i <ifname>] [-p aa:bb:cc:dd[:ee:ff]] 00:11:22:33:44:55\n" 15 * usage: ether-wake [-i <ifname>] [-p aa:bb:cc:dd[:ee:ff]] 00:11:22:33:44:55\n"
16 * 16 *
17 * This program generates and transmits a Wake-On-LAN (WOL)\n" 17 * This program generates and transmits a Wake-On-LAN (WOL)\n"
18 * \"Magic Packet\", used for restarting machines that have been\n" 18 * \"Magic Packet\", used for restarting machines that have been\n"
19 * soft-powered-down (ACPI D3-warm state).\n" 19 * soft-powered-down (ACPI D3-warm state).\n"
20 * It currently generates the standard AMD Magic Packet format, with\n" 20 * It currently generates the standard AMD Magic Packet format, with\n"
21 * an optional password appended.\n" 21 * an optional password appended.\n"
22 * 22 *
23 * The single required parameter is the Ethernet MAC (station) address\n" 23 * The single required parameter is the Ethernet MAC (station) address\n"
24 * of the machine to wake or a host ID with known NSS 'ethers' entry.\n" 24 * of the machine to wake or a host ID with known NSS 'ethers' entry.\n"
25 * The MAC address may be found with the 'arp' program while the target\n" 25 * The MAC address may be found with the 'arp' program while the target\n"
26 * machine is awake.\n" 26 * machine is awake.\n"
27 * 27 *
28 * Options:\n" 28 * Options:\n"
29 * -b Send wake-up packet to the broadcast address.\n" 29 * -b Send wake-up packet to the broadcast address.\n"
30 * -D Increase the debug level.\n" 30 * -D Increase the debug level.\n"
31 * -i ifname Use interface IFNAME instead of the default 'eth0'.\n" 31 * -i ifname Use interface IFNAME instead of the default 'eth0'.\n"
32 * -p <pw> Append the four or six byte password PW to the packet.\n" 32 * -p <pw> Append the four or six byte password PW to the packet.\n"
33 * A password is only required for a few adapter types.\n" 33 * A password is only required for a few adapter types.\n"
34 * The password may be specified in ethernet hex format\n" 34 * The password may be specified in ethernet hex format\n"
35 * or dotted decimal (Internet address)\n" 35 * or dotted decimal (Internet address)\n"
36 * -p 00:22:44:66:88:aa\n" 36 * -p 00:22:44:66:88:aa\n"
37 * -p 192.168.1.1\n"; 37 * -p 192.168.1.1\n";
38 * 38 *
39 *
40 * This program generates and transmits a Wake-On-LAN (WOL) "Magic Packet",
41 * used for restarting machines that have been soft-powered-down
42 * (ACPI D3-warm state). It currently generates the standard AMD Magic Packet
43 * format, with an optional password appended.
44 *
45 * This software may be used and distributed according to the terms
46 * of the GNU Public License, incorporated herein by reference.
47 * Contact the author for use under other terms.
48 *
49 * This source file was originally part of the network tricks package, and
50 * is now distributed to support the Scyld Beowulf system.
51 * Copyright 1999-2003 Donald Becker and Scyld Computing Corporation.
52 *
53 * The author may be reached as becker@scyld, or C/O
54 * Scyld Computing Corporation
55 * 914 Bay Ridge Road, Suite 220
56 * Annapolis MD 21403
39 * 57 *
40 * This program generates and transmits a Wake-On-LAN (WOL) "Magic Packet",
41 * used for restarting machines that have been soft-powered-down
42 * (ACPI D3-warm state). It currently generates the standard AMD Magic Packet
43 * format, with an optional password appended.
44 *
45 * This software may be used and distributed according to the terms
46 * of the GNU Public License, incorporated herein by reference.
47 * Contact the author for use under other terms.
48 *
49 * This source file was originally part of the network tricks package, and
50 * is now distributed to support the Scyld Beowulf system.
51 * Copyright 1999-2003 Donald Becker and Scyld Computing Corporation.
52 *
53 * The author may be reached as becker@scyld, or C/O
54 * Scyld Computing Corporation
55 * 914 Bay Ridge Road, Suite 220
56 * Annapolis MD 21403
57 *
58 * Notes: 58 * Notes:
59 * On some systems dropping root capability allows the process to be 59 * On some systems dropping root capability allows the process to be
60 * dumped, traced or debugged. 60 * dumped, traced or debugged.
61 * If someone traces this program, they get control of a raw socket. 61 * If someone traces this program, they get control of a raw socket.
62 * Linux handles this safely, but beware when porting this program. 62 * Linux handles this safely, but beware when porting this program.
63 * 63 *
64 * An alternative to needing 'root' is using a UDP broadcast socket, however 64 * An alternative to needing 'root' is using a UDP broadcast socket, however
65 * doing so only works with adapters configured for unicast+broadcast Rx 65 * doing so only works with adapters configured for unicast+broadcast Rx
66 * filter. That configuration consumes more power. 66 * filter. That configuration consumes more power.