1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3 (c) 2005 U.S. Robotics Corporation
7 <title>Security » Device Login</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>
13 <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
15 <script type="text/javascript" src="util.js"></script>
16 <script type="text/javascript">
19 setPageTitle("<%ejGetWlJS(wlInterface)%>");
21 var strPasswords = new Array (
22 "<%ejGetJS(sysPassword)%>",
23 "<%ejGetJS(sptPassword)%>",
24 "<%ejGetJS(usrPassword)%>"
27 function validatePage()
29 var ix = document.idForm.userName.selectedIndex;
30 if (document.idForm.pwdOld.value != strPasswords[ix])
32 alert("The old password is incorrect. Please try again.");
36 if (document.idForm.pwdNew.value != document.idForm.pwdCfm.value)
38 alert("The new passwords do not match.");
42 // copy the new password to the correct field
44 document.idForm.sptPassword.value = document.idForm.pwdNew.value;
46 document.idForm.usrPassword.value = document.idForm.pwdNew.value;
48 document.idForm.sysPassword.value = document.idForm.pwdNew.value;
55 <body onload="initMenu();">
57 <script type="text/javascript">
58 writeHeader("Security");
63 <p>Access to your router is controlled through three user accounts: admin,
64 support, and user.</p>
66 <p>The user name "admin" has unrestricted access to change and view configuration of
69 <p>The user name "support" is used to allow an ISP technician to access your
70 router for maintenance and to run diagnostics.</p>
72 <p>The user name "user" can access the router, view configuration settings
73 and statistics, as well as update the router’s software.</p>
75 <p>Use the fields below to enter up to 16 characters
76 and press <b>Apply</b> to change or create passwords.</p>
78 <form name="idForm" action="password.cgi" method="post">
79 <input type="hidden" id="sysPassword" name="sysPassword" value="<%ejGetHTML(sysPassword)%>">
80 <input type="hidden" id="sptPassword" name="sptPassword" value="<%ejGetHTML(sptPassword)%>">
81 <input type="hidden" id="usrPassword" name="usrPassword" value="<%ejGetHTML(usrPassword)%>">
83 <table border="0" cellpadding="2" cellspacing="0">
85 <td><label>User name:</label></td>
86 <td><select name='userName' id='userName' size="1">
87 <option value="1">admin</option>
88 <option value="2">support</option>
89 <option value="3">user</option>
93 <td><label for="pwdOld">Old password:</label></td>
94 <td><input name='pwdOld' id='pwdOld' type="text" size="20" maxlength="16"></td>
97 <td><label for="pwdNew">New password:</label></td>
98 <td><input name='pwdNew' id='pwdNew' type="text" size="20" maxlength="16"></td>
101 <td><label for="pwdCfm">Confirm password:</label></td>
102 <td><input name='pwdCfm' id='pwdCfm' type='text' size="20" maxlength="16"></td>
105 <p><input type="submit" value="Apply" onClick="if (!validatePage()) return false;"></p>
108 <script type="text/javascript">