1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3 (c) 2004-2006 U.S. Robotics Corporation.
7 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
9 <link href="usr_main.css" rel="stylesheet" type="text/css">
10 <script type="text/javascript" src="util.js"></script>
11 <script src="usr_common.js" type="text/javascript"></script>
12 <script type="text/javascript">
13 <!-- This is similar to the index-wireless.html page -->
14 function validatePage()
16 document.idForm.wlKeyBit.value = ((document.idForm.cbWEPkeytype.value == "type128ASCII") || (document.idForm.cbWEPkeytype.value == "type128hex")) ? "0" : "1";
18 if (document.idForm.cbSecurity.value == "WPA_WPA2")
20 if (!minLength("Pass phrase", document.idForm.wlWpaPsk, 8))
23 else if (document.idForm.cbSecurity.value.substr(0, 3) == "WEP")
25 if (!isValidKey(document.idForm.idKeyValue1, document.idForm.idKeyValue1.maxLength))
27 alert("Please enter a valid " + document.idForm.idKeyValue1.maxLength + "-character WEP key.");
32 document.idForm.wlWpaPsk.value = "";
37 function updateFields()
39 setVisibility("idEncryptNo", (document.idForm.cbSecurity.value == "none"));
41 setVisibility("idWPA", (document.idForm.cbSecurity.value == "WPA_WPA2"));
42 setVisibility("idEncryptWPA", (document.idForm.cbSecurity.value == "WPA_WPA2"));
44 setVisibility("idWEPkeytype", (document.idForm.cbSecurity.value.substr(0, 3) == "WEP"));
45 setVisibility("idKey1", (document.idForm.cbSecurity.value.substr(0, 3) == "WEP"));
47 setMaxLength(false, document.idForm.cbWEPkeytype.value, document.idForm.wlKey1);
52 <body onload="updateFields();">
54 <script type="text/javascript">
55 setPageTitle("<%ejGetWlJS(wlInterface)%>");
56 writeHeaderSetup(2, 3);
60 <form name="idForm" action="setup_login.wl" method="post">
61 <input type="hidden" id="wlKeyBit" name="wlKeyBit">
63 <!-- This code is similar to the code on the index-wireless.html -->
64 <h3>Network Name (SSID)</h3>
66 <p>This is the name of your wireless network. Wireless devices will need to know the
67 network name (also known as an SSID) of your router in order to communicate with it.</p>
69 <p id="lblSSID"><label for="wlSsid">Network name:</label>
70 <input type="text" size="30" maxlength="30" name="wlSsid" id="wlSsid" class="clsTextfield" value="<%ejGetWlHTML(wlSsid)%>"></p>
72 <p>U.S. Robotics recommends that you change the <b>network name</b>
73 and treat it like a password. Use a combination of more than eight alphanumeric
74 characters that is not easy to guess (such as “MyHomeOffice”
75 or “Fish81Tree”).</p>
78 <!-- This code is similar to the code on the wireless.htm page but MUCH simpler -->
81 <p>U.S. Robotics recommends securing your router from unauthorized
82 wireless devices by using WPA encryption.
83 If you have older wireless devices that don’t support WPA,
85 If you want to use a different method later, you can change it on the
86 router’s <b>Security</b> page after the setup is complete.
91 <td id="lblMethod" valign="top"><label>Method:</label></td>
93 <select id="cbSecurity" name="cbSecurity" onchange="updateFields();">
94 <option value="WPA_WPA2" selected>WPA2 and WPA (PSK) (recommended)</option>
95 <option value="WEPopen">WEP open</option>
96 <option value="WEPshared">WEP shared</option>
97 <option value="none">None</option>
104 <td valign="top"><label for="wlWpaPsk">Pass phrase:</label></td>
105 <!-- either 32 hex digits or ASCII that WPA hashes to a 256-bit key -->
106 <td><input type="text" size="40" maxlength="63" name="wlWpaPsk" id="wlWpaPsk" class="clsTextfield" value="<%ejGetWlHTML(wlWpaPsk)%>"><br/>
107 <span class="clsNote">(The pass phrase must be between eight and sixty-three characters long.)</span>
112 <tr id="idWEPkeytype">
113 <td><label>Key type:</label></td>
115 <!-- No name property so the value's not posted -->
116 <select id="cbWEPkeytype" onchange="setMaxLength(true, this.value, wlKey1);">
117 <option value="type128ASCII" selected>128-bit ASCII</option>
118 <option value="type128hex">128-bit hex</option>
119 <option value="type64ASCII">64-bit ASCII</option>
120 <option value="type64hex">64-bit hex</option>
125 <tr id="idKey1" valign="top">
126 <td><label for="idKeyValue1">Key:</label></td>
127 <td><input type="text" size="40" maxlength="58" name="wlKey1" id="idKeyValue1" class="clsTextfield"><br/>
128 <span class="clsNote">(The key must be <span id="idKeyNumChars"></span> characters long.)</span>
133 <p id="idEncryptWPA">
134 U.S. Robotics recommends that you treat your <b>WPA pass phrase</b> like
135 a password and use a combination of alphanumeric characters that is not
136 easy to guess (such as “5Rock2Fish9Sand” or “20Dogs933Trot”).
138 <div id="idEncryptNo" style="display: none;" class="clsNotice">
139 <p>Please note that you have disabled encryption on the router and your
140 wireless network will be insecure. Unauthorized wireless devices may be
141 able to connect to your network, use your Internet connection, and access
143 You can enable encryption later on the router’s <b>Security</b> page.</p>
147 <p class="clsSave">You will need to enter these values when you configure a wireless client.
148 After setup is complete, these values will be displayed on the
149 router’s <b>Status</b> page,
150 and you can write them down or print them.
153 <p>When you’re finished and ready to go to the next step, press <b>Next</b>.</p>
154 <p><input type="submit" class="clsBtnSave" name="btnSubmit" value="Next -->" onclick="if (!validatePage()) return false;"></p>
155 <!-- If all entries are valid, Setup-Login is displayed. An error keeps the user here. -->
159 <script type="text/javascript">