1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3 (c) 2005-2006 U.S. Robotics Corporation
7 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
8 <title>Setup » Security</title>
9 <link href="usr_main.css" rel="stylesheet" type="text/css">
10 <link href="usr_menus.css" rel="stylesheet" type="text/css"><script src="usr_menus.js" type="text/javascript"></script><script src="usr_menus_build.js" type="text/javascript"></script>
11 <script src="usr_common.js" type="text/javascript"></script>
12 <script src="util.js" type="text/javascript"></script>
13 <script type="text/javascript">
15 setPageTitle("<%ejGetWlJS(wlInterface)%>");
17 <!-- This is similar to the setup_sec.html page -->
18 function validatePage()
20 if (document.idForm.cbSecurity.value == "WPA_WPA2")
22 if (!minLength("Pass phrase", document.idForm.wlWpaPsk, 8))
25 document.idForm.wlAuthMode.value = "psk2mix";
27 else if (document.idForm.cbSecurity.value.substr(0, 3) == "WEP")
29 if (!minLength("WEP key", document.idForm.idKeyValue1, document.idForm.idKeyValue1.maxLength))
32 if (!isValidKey(document.idForm.idKeyValue1, document.idForm.idKeyValue1.maxLength))
34 alert("Please enter a valid " + document.idForm.idKeyValue1.maxLength + "-character WEP key.");
38 if (document.idForm.cbSecurity.value == "WEPopen")
39 document.idForm.wlAuthMode.value = "open";
41 document.idForm.wlAuthMode.value = "shared";
43 if (document.idForm.cbWEPkeytype.value.substr(0, 7) == "type128")
44 document.idForm.wlKeyBit.value = 0; // 128-bit
46 document.idForm.wlKeyBit.value = 1; // 64-bit
50 document.idForm.wlAuthMode.value = "none";
51 document.idForm.wlWpaPsk.value = "";
57 function updateFields()
59 setVisibility("idEncryptNo", (document.idForm.cbSecurity.value == "none"));
61 setVisibility("idWPA", (document.idForm.cbSecurity.value == "WPA_WPA2"));
62 setVisibility("idEncryptWPA", (document.idForm.cbSecurity.value == "WPA_WPA2"));
64 setVisibility("idWEPkeytype", (document.idForm.cbSecurity.value.substr(0, 3) == "WEP"));
65 setVisibility("idKey1", (document.idForm.cbSecurity.value.substr(0, 3) == "WEP"));
67 setMaxLength(false, document.idForm.cbWEPkeytype.value, document.idForm.wlKey1);
71 <body onload="updateFields();">
73 <script type="text/javascript">
74 writeHeaderInfo("Secure Your Router");
77 <form name="idForm" action="setup_finish.wl" method="post">
78 <!-- wlAuthMode is deprecated -->
79 <input type="hidden" id="wlAuthMode" value="psk2mix">
80 <input type="hidden" id="wlKeyIndex" name="wlKeyIndex" value="1">
81 <input type="hidden" id="wlKeyBit" name="wlKeyBit" value="0">
83 <h3>Network Name (SSID)</h3>
85 <p>This is the name of your wireless network. Wireless devices will need to know the
86 network name (also known as an SSID) of your router in order to communicate with it.</p>
88 <p id="lblSSID"><label for="wlSsid">Network name:</label>
89 <input type="text" size="30" maxlength="30" name="wlSsid" id="wlSsid" class="clsTextfield" value="<%ejGetWlHTML(wlSsid)%>"></p>
91 <p>U.S. Robotics recommends that you change the <b>network name</b>
92 and treat it like a password. Use a combination of more than eight alphanumeric
93 characters that is not easy to guess (such as “MyHomeOffice”
94 or “Fish81Tree”).</p>
97 <!-- This code is similar to the code on the setup_sec.html page -->
100 <p>U.S. Robotics recommends securing your router from unauthorized
101 wireless devices by using WPA encryption.
102 If you have older wireless devices that don’t support WPA,
104 If you want to use a different method later, you can change it on the
105 router’s <b>Security</b> page after the setup is complete.
110 <td id="lblMethod" valign="top"><label>Method:</label></td>
112 <select name="cbSecurity" id="cbSecurity" onchange="updateFields();">
113 <option value="WPA_WPA2" selected>WPA2 and WPA (PSK) (recommended)</option>
114 <option value="WEPopen">WEP open</option>
115 <option value="WEPshared">WEP shared</option>
116 <option value="none">None</option>
123 <td valign="top"><label for="wlWpaPsk">Pass phrase:</label></td>
124 <!-- either 32 hex digits or ASCII that WPA hashes to a 256-bit key -->
125 <td><input type="text" size="40" maxlength="63" name="wlWpaPsk" id="wlWpaPsk" class="clsTextfield" value="<%ejGetWlHTML(wlWpaPsk)%>"><br/>
126 <span class="clsNote">(The pass phrase must be between eight and sixty-three characters long.)</span>
131 <tr id="idWEPkeytype">
132 <td><label>Key type:</label></td>
134 <select id="cbWEPkeytype" onchange="setMaxLength(true, this.value, wlKey1);">
135 <option value="type128ASCII" selected>128-bit ASCII</option>
136 <option value="type128hex">128-bit hex</option>
137 <option value="type64ASCII">64-bit ASCII</option>
138 <option value="type64hex">64-bit hex</option>
143 <tr id="idKey1" valign="top">
144 <td><label for="idKeyValue1">Key:</label></td>
145 <td><input type="text" size="40" maxlength="58" name="wlKey1" id="idKeyValue1" class="clsTextfield" value="<%ejGetWlHTML(wlKey1)%>"><br/>
146 <span class="clsNote">(The key must be <span id="idKeyNumChars"></span> characters long.)</span>
151 <p id="idEncryptWPA">
152 U.S. Robotics recommends that you treat your <b>WPA pass phrase</b> like
153 a password and use a combination of alphanumeric characters that is not
154 easy to guess (such as “5Rock2Fish9Sand” or “20Dogs933Trot”).
156 <div id="idEncryptNo" style="display: none;" class="clsNotice">
157 <p>Please note that you have disabled encryption on the router and your
158 wireless network will be insecure. Unauthorized wireless devices may be
159 able to connect to your network, use your Internet connection, and access
161 You can enable encryption later on the router’s <b>Security</b> page.</p>
165 <p class="clsSave">You will need to enter these values when you configure a wireless client.
166 After setup is complete, these values will be displayed on the
167 router’s <b>Status</b> page,
168 and you can write them down or print them.
171 <p>When you’re finished and ready to apply your changes, press <b>Apply</b>.</p>
172 <p><input type="submit" class="clsBtnSave" name="btnSubmit" value="Apply" onclick="if (!validatePage()) return false;"></p>
173 <!-- If all entries are valid, Status page (info.html) is displayed. An error keeps the user here. -->
177 <script type="text/javascript">