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