www.usr.com/support/gpl/USR9113_release1.0.tar.gz
[bcm963xx.git] / userapps / broadcom / cfm / html / setup_sec.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--
3         (c) 2005-2006 U.S. Robotics Corporation
4 -->
5 <html>
6 <head>
7         <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
8         <title>Setup</title>
9         <link href="usr_layout.css" type="text/css" rel="stylesheet" />
10         <script src="usr_layout.js" type="text/javascript"></script>
11         <link href="usr_device.css" type="text/css" rel="stylesheet" />
12         <script src="usr_device.js" type="text/javascript"></script>
13         <link href="usr_91xx.css" type="text/css" rel="stylesheet" />
14         <script src="usr_91xx.js" type="text/javascript"></script>
15         <script src="usr_resources.js" type="text/javascript"></script>
16         <script src="util.js" type="text/javascript"></script>
17 <script type="text/javascript">
18 function initializePage()
19 {
20         // if VoIP product, no SES available
21         var bSESavailable = ("<%ejGetOther(sysInfo, buildVoip)%>" == "0");
22         setVisibility("idSESoption", bSESavailable);
23         setVisibility("idSESyes", bSESavailable);
24         setVisibility("idSESno", !bSESavailable);
25         setVisibility("idSESnote", bSESavailable);
26
27         updateFields();
28 }
29
30 <!-- This is similar to the index-wireless.html page -->
31 function validatePage()
32 {
33         if (document.idForm.cbSecurity.value == "WPA_WPA2")
34         {
35                 if (!minLength("Pass phrase", document.idForm.wlWpaPsk, 8))
36                         return false;
37         }
38         else if (document.idForm.cbSecurity.value.substr(0, 3) == "WEP")
39         {
40                 if (!minLength("WEP key", document.idForm.idKeyValue1, document.idForm.idKeyValue1.maxLength))
41                         return false;
42
43                 if (!isValidKey(document.idForm.idKeyValue1, document.idForm.idKeyValue1.maxLength))
44                 {
45                         alert("Please enter a valid " + document.idForm.idKeyValue1.maxLength + "-character WEP key.");
46                         return false;
47                 }
48
49                 if (document.idForm.cbSecurity.value == "WEPopen")
50                         document.idForm.wlAuthMode.value = "open";
51                 else
52                         document.idForm.wlAuthMode.value = "shared";
53
54                 if (document.idForm.cbWEPkeytype.value.substr(0, 7) == "type128")
55                         document.idForm.wlKeyBit.value = 0;     // 128-bit
56                 else
57                         document.idForm.wlKeyBit.value = 1;     // 64-bit
58         }
59         else
60         {
61                 document.idForm.wlAuthMode.value = "none";
62                 document.idForm.wlWpaPsk.value = "";
63         }
64
65         return true;
66 }
67
68 function updateFields()
69 {
70         setVisibility("idEncryptNo", (document.idForm.cbSecurity.value == "none"));
71
72         setVisibility("idWPA", (document.idForm.cbSecurity.value == "WPA_WPA2"));
73         setVisibility("idEncryptWPA", (document.idForm.cbSecurity.value == "WPA_WPA2"));
74
75         setVisibility("idWEPkeytype", (document.idForm.cbSecurity.value.substr(0, 3) == "WEP"));
76         setVisibility("idKey1", (document.idForm.cbSecurity.value.substr(0, 3) == "WEP"));
77
78         setMaxLength(false, document.idForm.cbWEPkeytype.value, document.idForm.wlKey1);
79 }
80 </script>
81 </head>
82
83 <body onload="initializePage();">
84
85 <script type="text/javascript">
86
87         writeHeaderSetup(2, 3);
88 </script>
89
90 <div id="idHelpOpen" style="display: none;" onclick="setVisibility('idHelpOpen', false); setVisibility('idPanelHelp', true);">?</div>
91
92 <div id="idPanelHelp">
93    <div id="idHelpClose" onclick="setVisibility('idPanelHelp', false); setVisibility('idHelpOpen', true);">x</div>
94         <h1>Securing Your Router</h1>
95    <p>If the wireless network is not secured, anyone with a wireless
96    client can connect to your network, use your Internet connection,
97    and access your computers.</p>
98    <p>With minimal effort, you can <strong>secure your router</strong> 
99    to prevent unauthorized wireless devices from connecting to your network,
100    using your Internet connection, or modifying your
101    router&rsquo;s configuration.</p>
102    <p id="idSESnote"><strong>SecureEasySetup</strong> configures your wireless 
103    security method to WPA2 and WPA (PSK) with TKIP and AES encryption.</p>
104    <p>For <strong>additional security</strong>, you can allow only specific 
105    devices to connect to the router (MAC filtering).
106    If you won&rsquo;t have any wireless devices connecting to this
107    router, you can disable the wireless features of the router.
108    This will prevent any wireless devices from connecting to your router.
109    These features and more (such as 802.1x) can be accessed on the
110    router&rsquo;s <strong>Security</strong> page after the setup is complete.</p>
111 </div>
112
113 <p id="idSESoption">
114         <input type="checkbox" name="chkSES" id="chkSES" checked onclick="toggleVisibility('idSESyes'); toggleVisibility('idSESno');"> <label for="chkSES">Set wireless security using SecureEasySetup</label>
115 </p>
116
117 <div id="idSESyes">
118 <form name="idForm1" action="setup_ses.wl" method="post">
119         <input type="hidden" name="wlSesEnbl" value="1">
120         <input type="hidden" name="wlSesEvent" value="3">
121
122 <h3>SecureEasySetup</h3>
123
124 <p>You can secure your wireless network simply by pressing the 
125 <b>SecureEasySetup</b> button below. This will apply wireless security 
126 and automatically generate a pass phrase for your wireless network.</p>
127
128 <p>Alternatively, you can configure your wireless security options manually
129 by clearing the check box above.</p>
130
131 <p><input type="image" name="action" src="ses.gif" alt="SecureEasySetup" value="SecureEasySetup" /></p>
132
133 </form>
134 </div>
135
136 <div id="idSESno">
137 <form name="idForm" action="setup_login.wl" method="post">
138         <!-- wlAuthMode is deprecated -->
139         <input type="hidden" id="wlAuthMode" value="psk2mix">
140         <input type="hidden" id="wlKeyIndex" name="wlKeyIndex" value="1">
141         <input type="hidden" id="wlKeyBit" name="wlKeyBit">
142
143 <!-- This code is similar to the code on the index-wireless.html -->
144 <h3>Network Name (SSID)</h3>
145
146 <p>This is the name of your wireless network. Wireless devices will need to know the
147 network name (also known as an SSID) of your router in order to communicate with it.</p>
148
149 <p id="lblSSID"><label for="wlSsid">Network name:</label>
150         <input type="text" size="30" maxlength="30" name="wlSsid" id="wlSsid" class="clsTextfield" value="<%ejGetWlHTML(wlSsid)%>"></p>
151
152 <p>USRobotics recommends that you change the <b>network name</b>
153 and treat it like a password. Use a combination of more than eight alphanumeric
154 characters that is not easy to guess (such as &ldquo;MyHomeOffice&rdquo;
155 or &ldquo;Fish81Tree&rdquo;).</p>
156
157
158 <!-- This code is similar to the code on the wireless.htm page but MUCH simpler -->
159 <h3>Security</h3>
160
161 <p>USRobotics recommends securing your router from unauthorized
162 wireless devices by using WPA encryption.
163 If you have older wireless devices that don&rsquo;t support WPA,
164 you can select WEP.
165 If you want to use a different method later, you can change it on the
166 router&rsquo;s <b>Security</b> page after the setup is complete.
167 </p>
168
169 <table border="0">
170         <tr>
171                 <td id="lblMethod" valign="top"><label>Method:</label></td>
172                 <td>
173                         <select id="cbSecurity" name="cbSecurity" onchange="updateFields();">
174                                 <option value="WPA_WPA2" selected>WPA2 and WPA (PSK) (recommended)</option>
175                                 <option value="WEPopen">WEP open</option>
176                                 <option value="WEPshared">WEP shared</option>
177                                 <option value="none">None</option>
178                         </select>
179                 </td>
180         </tr>
181
182         <!-- WPA -->
183         <tr id="idWPA">
184                 <td valign="top"><label for="wlWpaPsk">Pass&nbsp;phrase:</label></td>
185                 <!-- either 32 hex digits or ASCII that WPA hashes to a 256-bit key -->
186                 <td><input type="text" size="40" maxlength="63" name="wlWpaPsk" id="wlWpaPsk" class="clsTextfield" value="<%ejGetWlHTML(wlWpaPsk)%>"><br/>
187                         <span class="clsNote">(The pass phrase must be between eight and sixty-three characters long.)</span>
188                         </td>
189         </tr>
190
191         <!-- WEP -->
192         <tr id="idWEPkeytype">
193                 <td><label>Key type:</label></td>
194                 <td>
195                         <!-- No name property so the value's not posted -->
196                         <select id="cbWEPkeytype" onchange="setMaxLength(true, this.value, wlKey1);">
197                                 <option value="type128ASCII" selected>128-bit ASCII</option>
198                                 <option value="type128hex">128-bit hex</option>
199                                 <option value="type64ASCII">64-bit ASCII</option>
200                                 <option value="type64hex">64-bit hex</option>
201                         </select>
202                 </td>
203         </tr>
204
205         <tr id="idKey1" valign="top">
206                 <td><label for="idKeyValue1">Key:</label></td>
207                 <td><input type="text" size="40" maxlength="58" name="wlKey1" id="idKeyValue1" class="clsTextfield"><br/>
208                         <span class="clsNote">(The key must be <span id="idKeyNumChars"></span>&nbsp;characters long.)</span>
209                 </td>
210         </tr>
211 </table>
212
213 <p id="idEncryptWPA">
214 USRobotics recommends that you treat your <b>WPA pass phrase</b> like
215 a password and use a combination of alphanumeric characters that is not
216 easy to guess (such as &ldquo;5Rock2Fish9Sand&rdquo; or &ldquo;20Dogs933Trot&rdquo;).
217 </p>
218 <div id="idEncryptNo" style="display: none;" class="clsNotice">
219         <p>Please note that you have disabled encryption on the router and your
220         wireless network will be insecure. Unauthorized wireless devices may be
221         able to connect to your network, use your Internet connection, and access
222         your computers.
223         You can enable encryption later on the router&rsquo;s <b>Security</b> page.</p>
224 </div>
225
226
227 <p class="clsSave">You will need to enter these values when you configure a wireless client.
228 After setup is complete, these values will be displayed on the
229 router&rsquo;s <b>Status</b> page,
230 and you can write them down or print them.
231 </p>
232
233 <p>When you&rsquo;re finished and ready to go to the next step, press <b>Next</b>.</p>
234 <p><input type="submit" class="clsBtnSave" name="btnSubmit" value="Next -->" onclick="if (!validatePage()) return false;"></p>
235 <!-- If all entries are valid, Setup-Login is displayed. An error keeps the user here. -->
236
237 </form>
238 </div>
239
240 <script type="text/javascript">
241         writeFooter();
242 </script>
243
244 </body>
245 </html>