]> git.wh0rd.org - chrome-ext/wake-on-lan.git/blob - main.html
83b563accbb5fbff67ed305ecfca90f10e6dcec9
[chrome-ext/wake-on-lan.git] / main.html
1 <!-- Written by Mike Frysinger <vapier@gmail.com>. Released into the public domain. -->
2 <!doctype html>
3 <html>
4
5 <head>
6 <title>Wake-On-Lan (WOL)</title>
7 <script src='js/net_error_list.js'></script>
8 <script src='js/common.js'></script>
9 <script src='js/main.js'></script>
10 <script src='js/theme.js'></script>
11 <style>
12 body {
13 background-color: black;
14 color: white;
15 font-family: monospace;
16 white-space: nowrap;
17 }
18
19 input.mac {
20 text-align: center;
21 }
22
23 input[name=port] {
24 text-align: center;
25 }
26
27 input[name=theme] {
28 text-align: center;
29 position: absolute;
30 top: 3px;
31 left: 3px;
32 }
33
34 a {
35 color: grey;
36 }
37 </style>
38 </head>
39
40 <body>
41
42 <p class='header' style='text-align:center'>
43 <a href='https://en.wikipedia.org/wiki/Wake-on-LAN' target='_blank'>
44 Wake-On-Lan (WOL) Magic Packet Generator
45 </a>
46 <input type='button' name='theme' value='&#9788;'>
47 </p>
48
49 <div class='settings'>
50 <form name='settings'>
51 <table width='100%'>
52 <tr>
53 <td>
54 <a href='https://en.wikipedia.org/wiki/IP_address' target='_blank'>IP</a>
55 /
56 <a href='https://en.wikipedia.org/wiki/Hostname' target='_blank'>Hostname</a>:
57 </td>
58 <td><input tabindex='1' name='host' value='255.255.255.255' size='40' autofocus></td>
59 </tr>
60 <tr>
61 <td><a href='https://en.wikipedia.org/wiki/MAC_address' target='_blank'>MAC address</a>:</td>
62 <td>
63 <span name='mac-many'>
64 <input tabindex='2' class='mac' name='mac0' value='20' size='1' maxlength='2'>
65 <input tabindex='3' class='mac' name='mac1' value='00' size='1' maxlength='2'>
66 <input tabindex='4' class='mac' name='mac2' value='00' size='1' maxlength='2'>
67 <input tabindex='5' class='mac' name='mac3' value='00' size='1' maxlength='2'>
68 <input tabindex='6' class='mac' name='mac4' value='00' size='1' maxlength='2'>
69 <input tabindex='7' class='mac' name='mac5' value='00' size='1' maxlength='2'>
70 </span>
71 <span name='mac-one' hidden>
72 <input tabindex='8' class='mac' name='mac' size='39' maxlength='20'>
73 </span>
74 <a tabindex='9' name='mac-paste' href=''>Paste</a>
75 </td>
76 </tr>
77 <tr>
78 <td><a href='https://en.wikipedia.org/wiki/Port_(computer_networking)' target='_blank'>Port</a>:</td>
79 <td><input tabindex='10' type='number' name='port' min='1' max='65535' step='1' value='9'></td>
80 </tr>
81 <tr>
82 <td><a href='https://en.wikipedia.org/wiki/Wake-on-LAN#Security_considerations' target='_blank'>SecureOn</a>:</td>
83 <td>
84 <span name='pass-many'>
85 <input tabindex='11' class='mac' name='pass0' value='00' size='1' maxlength='2'>
86 <input tabindex='12' class='mac' name='pass1' value='00' size='1' maxlength='2'>
87 <input tabindex='13' class='mac' name='pass2' value='00' size='1' maxlength='2'>
88 <input tabindex='14' class='mac' name='pass3' value='00' size='1' maxlength='2'>
89 <input tabindex='15' class='mac' name='pass4' value='00' size='1' maxlength='2'>
90 <input tabindex='16' class='mac' name='pass5' value='00' size='1' maxlength='2'>
91 </span>
92 <span name='pass-one' hidden>
93 <input tabindex='17' class='mac' name='pass' size='39' maxlength='20'>
94 </span>
95 <a tabindex='18' name='pass-paste' href=''>Paste</a>
96 </td>
97 </tr>
98 <tr>
99 <td colspan=2 align='middle'>
100 <input tabindex='19' type='submit' name='send' value='Send'>
101 </td>
102 </tr>
103 </table>
104 </form>
105 </div>
106
107 <p class='status'>Status: <span name='status'>idle</span></p>
108
109 <br>
110
111 <p>
112 Problems? Try
113 <a href='https://en.wikipedia.org/wiki/Wake-on-LAN#Troubleshooting_magic_packets' target='_blank'>troubleshooting</a>.<br>
114 <br>
115 Random tips (applies to all WOL and is not specific to this app):<br>
116 <ul>
117 <li>You have to be on the same local network as the target</li>
118 <li>i.e. You cannot wake up computers over the internet</li>
119 <li>WiFi computers often cannot be woken up remotely</li>
120 <li>WOL support has to be turned on in the BIOS/OS</li>
121 <li>Make sure the MAC address matches the computer</li>
122 <li>A specific IP might be required, or the broadcast address;<br>try using "255" for the last part</li>
123 <li>A specific port might be required; these are the common ones: 0 7 9 40000</li>
124 <li>The SecureOn (password) is not supported by many devices;<br>feel free to leave the default value</li>
125 </ul>
126 </p>
127
128 </body>
129 </html>