3 <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
4 <link rel="stylesheet" href='stylemain.css' type='text/css'>
5 <link rel="stylesheet" href='colors.css' type='text/css'>
6 <script language="javascript" src="util.js"></script>
7 <script language="javascript">
11 with ( document.forms[0] ) {
12 acsURL.value = '<%ejGetJS(tr69cAcsURL)%>';
13 acsUser.value = '<%ejGetJS(tr69cAcsUser)%>';
14 acsPwd.value = '<%ejGetJS(tr69cAcsPwd)%>';
15 connReqURL.value = '<%ejGetJS(tr69cConnReqURL)%>';
16 connReqUser.value = '<%ejGetJS(tr69cConnReqUser)%>';
17 connReqPwd.value = '<%ejGetJS(tr69cConnReqPwd)%>';
18 enblInform = '<%ejGetJS(tr69cInformEnable)%>';
19 if ( enblInform == '1' ) {
20 inform[1].checked = true;
21 informInterval.value = '<%ejGetJS(tr69cInformInterval)%>';
23 inform[0].checked = true;
24 informInterval.value = '';
30 var loc = 'tr69cfg.cgi?';
31 with ( document.forms[0] ) {
32 if (acsURL.value == '') {
33 alert('ACS URL is required.');
36 if ( inform[1].checked == true ) {
37 loc += 'tr69cInformEnable=1';
38 loc += '&tr69cInformInterval=' + informInterval.value;
40 loc += 'tr69cInformEnable=0';
42 if (acsURL.value.length > 256) {
43 alert('The length of ACS URL (' + acsURL.value.length + ') is too long [1-256].');
46 loc += '&tr69cAcsURL=' + encodeUrl(acsURL.value);
48 if (acsUser.value.length > 256) {
49 alert('The length of ACS user name (' + acsUser.value.length + ') is too long [0-256].');
52 loc += '&tr69cAcsUser=' + encodeUrl(acsUser.value);
54 if (acsPwd.value.length > 256) {
55 alert('The length of sysName (' + acsPwd.value.length + ') is too long [0-256].');
58 loc += '&tr69cAcsPwd=' + encodeUrl(acsPwd.value);
60 if (connReqURL.value.length > 256) {
61 alert('The length of connection request URL (' + connReqURL.value.length + ') is too long [0-256].');
64 loc += '&tr69cConnReqURL=' + encodeUrl(connReqURL.value);
66 if (connReqUser.value.length > 256) {
67 alert('The length of connection request user name (' + connReqUser.value.length + ') is too long [0-256].');
70 loc += '&tr69cConnReqUser=' + encodeUrl(connReqUser.value);
72 if (connReqPwd.value.length > 256) {
73 alert('The length of connection request password (' + connReqPwd.value.length + ') is too long [0-256].');
76 loc += '&connReqPwd=' + encodeUrl(connReqPwd.value);
79 var code = 'location = "' + loc + '"';
86 <body onLoad='frmLoad()'>
89 <b>TR-069 client - Configuration<br>
92 WAN Management Protocol (TR-069) allows a Auto-Configuration Server (ACS) to
93 perform auto-configuration, provision, collection, and diagnostics to this device.<br>
95 Select the desired values and click "Apply" to configure the TR-069 client options.<br>
97 <table border="0" cellpadding="0" cellspacing="0">
99 <td width="80">Inform</td>
100 <td><input name='inform' type='radio'>Disable</td>
101 <td><input name='inform' type='radio'>Enable</td>
105 <table border="0" cellpadding="0" cellspacing="0">
107 <td width="200">Inform Interval:</td>
108 <td><input type='text' name='informInterval' size="20" maxlength="256"></td>
112 <td><input type='text' name='acsURL' size="20" maxlength="256"></td>
115 <td>ACS User Name:</td>
116 <td><input type='text' name='acsUser' size="20" maxlength="256"></td>
119 <td>ACS Password:</td>
120 <td><input type='password' name='acsPwd' size="20" maxlength="256"></td>
123 <td>Connection Request URL:</td>
124 <td><input type='text' name='connReqURL' size="20" maxlength="256"></td>
127 <td>Connection Request User Name:</td>
128 <td><input type='text' name='connReqUser' size="20" maxlength="256"></td>
131 <td>Connection Request Password:</td>
132 <td><input type='password' name='connReqPwd' size="20" maxlength="256"></td>
136 <input type='button' onClick='btnApply()' value='Save/Reboot'>