1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3 (c) 2006 U.S. Robotics Corporation
7 <title>TR-069 Configuration</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_menus_dropdown.css" rel="stylesheet" type="text/css">
12 <script src="usr_menus_dropdown.js" type="text/javascript"></script>
13 <script src="usr_menus_build.js" type="text/javascript"></script>
14 <link href="usr_device.css" type="text/css" rel="stylesheet" /><script src="usr_device.js" type="text/javascript"></script><link href="usr_91xx.css" type="text/css" rel="stylesheet" /><script src="usr_91xx.js" type="text/javascript"></script><script src="usr_resources.js" type="text/javascript"></script>
15 <script src="util.js" type="text/javascript"></script>
17 <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
18 <script type="text/javascript">
21 with ( document.forms[0] ) {
22 acsURL.value = '<%ejGetJS(tr69cAcsURL)%>';
23 acsUser.value = '<%ejGetJS(tr69cAcsUser)%>';
24 acsPwd.value = '<%ejGetJS(tr69cAcsPwd)%>';
25 connReqUser.value = '<%ejGetJS(tr69cConnReqUser)%>';
26 connReqPwd.value = '<%ejGetJS(tr69cConnReqPwd)%>';
27 if ( '<%ejGetJS(tr69cInformEnable)%>' == '1' )
28 inform.checked = true;
29 if ( '<%ejGetJS(tr69cStatus)%>' == '1' )
30 enblTR69.checked = true;
31 informInterval.value = '<%ejGetJS(tr69cInformInterval)%>';
32 enblTR69Click(enblTR69);
36 function enblTR69Click(cb) {
37 with (document.forms[0]) {
38 setVisibility("tr69", cb.checked);
43 var loc = 'tr69cfg.cgi?';
44 with ( document.forms[0] ) {
45 if (acsURL.value == '') {
46 alert('ACS URL is required.');
50 if ( enblTR69.checked == true )
51 loc += 'tr69cStatus=1';
53 loc += 'tr69cStatus=0';
55 if ( inform.checked == true )
56 loc += '&tr69cInformEnable=1';
58 loc += '&tr69cInformEnable=0';
60 loc += '&tr69cInformInterval=' + informInterval.value;
62 if (acsURL.value.length > 256) {
63 alert('The maximum length of the ACS URL (' + acsURL.value.length + ') is 256 characters.');
66 loc += '&tr69cAcsURL=' + encodeUrl(acsURL.value);
68 if (acsUser.value.length > 256) {
69 alert('The maximum length of the ACS user name (' + acsUser.value.length + ') is 256 characters.');
72 loc += '&tr69cAcsUser=' + encodeUrl(acsUser.value);
74 if (acsPwd.value.length > 256) {
75 alert('The maximum length of the ACS password (' + acsPwd.value.length + ') is 256 characters.');
78 loc += '&tr69cAcsPwd=' + encodeUrl(acsPwd.value);
80 if (connReqUser.value.length > 256) {
81 alert('The maximum length of the connection request user name (' + connReqUser.value.length + ') is 256 characters.');
84 loc += '&tr69cConnReqUser=' + encodeUrl(connReqUser.value);
86 if (connReqPwd.value.length > 256) {
87 alert('The maximum length of the connection request password (' + connReqPwd.value.length + ') is 256 characters.');
90 loc += '&tr69cConnReqPwd=' + encodeUrl(connReqPwd.value);
93 eval('location="' + loc + '"');
97 eval('location="tr69get.cgi"');
102 <body onLoad="initMenu(); frmLoad();">
104 <script type="text/javascript">
109 <p>WAN Management Protocol (TR-069) allows a Auto-Configuration Server (ACS) to
110 perform auto-configuration, provision, collection, and diagnostics to this device.</p>
112 <p><input type="checkbox" name="enblTR69" id="enblTR69" onClick="enblTR69Click(this)"> <label for="enblTR69">Allow TR-069 management protocol</label></p>
115 <p><input type="checkbox" name="inform" id="inform"> <label for="inform">Inform</label></p>
117 <table id="tr69tbl" border="0">
119 <td><label for="informInterval">Inform interval:</label></td>
120 <td><input type='text' name='informInterval' id='informInterval' size="20" maxlength="256"></td>
123 <td><label for="acsURL">ACS URL:</label></td>
124 <td><input type='text' name='acsURL' id='acsURL' size="20" maxlength="256"></td>
127 <td><label for="acsUser">ACS user name:</label></td>
128 <td><input type='text' name='acsUser' id='acsUser' size="20" maxlength="256"></td>
131 <td><label for="acsPwd">ACS password:</label></td>
132 <td><input type='text' name='acsPwd' id='acsPwd' size="20" maxlength="256"></td>
135 <td><label for="connReqUser">Connection request user name:</label></td>
136 <td><input type='text' name='connReqUser' id='connReqUser' size="20" maxlength="256"></td>
139 <td><label for="connReqPwd">Connection request password:</label></td>
140 <td><input type='text' name='connReqPwd' id='connReqPwd' size="20" maxlength="256"></td>
146 <input type='button' onClick='btnApply()' value="Apply">
147 <input type='button' onClick='btnGet()' value="Get RPC Methods">
151 <script type="text/javascript">