]> git.pld-linux.org Git - packages/diag-ether.git/blob - diag-ether-ether-wake.patch
- cosmetics
[packages/diag-ether.git] / diag-ether-ether-wake.patch
1 --- diag-ether/ether-wake.c.org 2004-02-22 22:32:08.000000000 +0000
2 +++ diag-ether/ether-wake.c     2004-02-22 22:32:52.000000000 +0000
3 @@ -6,30 +6,30 @@
4  "usage: ether-wake [-i <ifname>] [-p aa:bb:cc:dd[:ee:ff]] 00:11:22:33:44:55\n"
5  "   Use '-u' to see the complete set of options.\n";
6  static char usage_msg[] =
7 -"usage: ether-wake [-i <ifname>] [-p aa:bb:cc:dd[:ee:ff]] 00:11:22:33:44:55
8 -
9 -       This program generates and transmits a Wake-On-LAN (WOL)
10 -       \"Magic Packet\", used for restarting machines that have been
11 -       soft-powered-down (ACPI D3-warm state).
12 -       It currently generates the standard AMD Magic Packet format, with
13 -       an optional password appended.
14 -
15 -       The single required parameter is the Ethernet MAC (station) address
16 -       of the machine to wake or a host ID with known NSS 'ethers' entry.
17 -       The MAC address may be found with the 'arp' program while the target
18 -       machine is awake.
19 -
20 -       Options:
21 -               -b      Send wake-up packet to the broadcast address.
22 -               -D      Increase the debug level.
23 -               -i ifname       Use interface IFNAME instead of the default 'eth0'.
24 -               -p <pw>         Append the four or six byte password PW to the packet.
25 -                                       A password is only required for a few adapter types.
26 -                                       The password may be specified in ethernet hex format
27 -                                       or dotted decimal (Internet address)
28 -               -p 00:22:44:66:88:aa
29 -               -p 192.168.1.1
30 -";
31 +"usage: ether-wake [-i <ifname>] [-p aa:bb:cc:dd[:ee:ff]] 00:11:22:33:44:55\n"
32 +"\n"
33 +"      This program generates and transmits a Wake-On-LAN (WOL)\n"
34 +"      \"Magic Packet\", used for restarting machines that have been\n"
35 +"      soft-powered-down (ACPI D3-warm state).\n"
36 +"      It currently generates the standard AMD Magic Packet format, with\n"
37 +"      an optional password appended.\n"
38 +"\n"
39 +"      The single required parameter is the Ethernet MAC (station) address\n"
40 +"      of the machine to wake or a host ID with known NSS 'ethers' entry.\n"
41 +"      The MAC address may be found with the 'arp' program while the target\n"
42 +"      machine is awake.\n"
43 +"\n"
44 +"      Options:\n"
45 +"              -b      Send wake-up packet to the broadcast address.\n"
46 +"              -D      Increase the debug level.\n"
47 +"              -i ifname       Use interface IFNAME instead of the default 'eth0'.\n"
48 +"              -p <pw>         Append the four or six byte password PW to the packet.\n"
49 +"                                      A password is only required for a few adapter types.\n"
50 +"                                      The password may be specified in ethernet hex format\n"
51 +"                                      or dotted decimal (Internet address)\n"
52 +"              -p 00:22:44:66:88:aa\n"
53 +"              -p 192.168.1.1\n"
54 +"\n";
55  
56  /*
57         This program generates and transmits a Wake-On-LAN (WOL) "Magic Packet",
This page took 0.05345 seconds and 3 git commands to generate.