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 = '<%ejGet(tr69cAcsURL)%>';
13 acsUser.value = '<%ejGet(tr69cAcsUser)%>';
14 acsPwd.value = '<%ejGet(tr69cAcsPwd)%>';
15 connReqUser.value = '<%ejGet(tr69cConnReqUser)%>';
16 connReqPwd.value = '<%ejGet(tr69cConnReqPwd)%>';
17 enblInform = '<%ejGet(tr69cInformEnable)%>';
18 if ( enblInform == '1' )
19 inform[1].checked = true;
21 inform[0].checked = true;
22 informInterval.value = '<%ejGet(tr69cInformInterval)%>';
28 var loc = 'tr69cfg.cgi?';
29 with ( document.forms[0] ) {
30 if (acsURL.value == '') {
31 alert('ACS URL is required.');
34 if ( inform[1].checked == true )
35 loc += 'tr69cInformEnable=1';
37 loc += 'tr69cInformEnable=0';
39 loc += '&tr69cInformInterval=' + informInterval.value;
41 if (acsURL.value.length > 256) {
42 alert('The length of ACS URL (' + acsURL.value.length + ') is too long [1-256].');
45 loc += '&tr69cAcsURL=' + encodeUrl(acsURL.value);
47 if (acsUser.value.length > 256) {
48 alert('The length of ACS user name (' + acsUser.value.length + ') is too long [0-256].');
51 loc += '&tr69cAcsUser=' + encodeUrl(acsUser.value);
53 if (acsPwd.value.length > 256) {
54 alert('The length of sysName (' + acsPwd.value.length + ') is too long [0-256].');
57 loc += '&tr69cAcsPwd=' + encodeUrl(acsPwd.value);
59 if (connReqUser.value.length > 256) {
60 alert('The length of connection request user name (' + connReqUser.value.length + ') is too long [0-256].');
63 loc += '&tr69cConnReqUser=' + encodeUrl(connReqUser.value);
65 if (connReqPwd.value.length > 256) {
66 alert('The length of connection request password (' + connReqPwd.value.length + ') is too long [0-256].');
69 loc += '&tr69cConnReqPwd=' + encodeUrl(connReqPwd.value);
72 var code = 'location="' + loc + '"';
77 var loc = 'tr69get.cgi';
79 var code = 'location="' + loc + '"';
84 var loc = 'tr69get.cgi';
86 var code = 'location="' + loc + '"';
93 <body onLoad='frmLoad()'>
96 <b>TR-069 client - Configuration<br>
99 WAN Management Protocol (TR-069) allows a Auto-Configuration Server (ACS) to
100 perform auto-configuration, provision, collection, and diagnostics to this device.<br>
102 Select the desired values and click "Apply" to configure the TR-069 client options.<br>
104 <table border="0" cellpadding="0" cellspacing="0">
106 <td width="80">Inform</td>
107 <td><input name='inform' type='radio'>Disable</td>
108 <td><input name='inform' type='radio'>Enable</td>
112 <table border="0" cellpadding="0" cellspacing="0">
114 <td width="200">Inform Interval:</td>
115 <td><input type='text' name='informInterval' size="20" maxlength="256"></td>
119 <td><input type='text' name='acsURL' size="20" maxlength="256"></td>
122 <td>ACS User Name:</td>
123 <td><input type='text' name='acsUser' size="20" maxlength="256"></td>
126 <td>ACS Password:</td>
127 <td><input type='password' name='acsPwd' size="20" maxlength="256"></td>
130 <td>Connection Request User Name:</td>
131 <td><input type='text' name='connReqUser' size="20" maxlength="256"></td>
134 <td>Connection Request Password:</td>
135 <td><input type='password' name='connReqPwd' size="20" maxlength="256"></td>
139 <input type='button' onClick='btnApply()' value='Save/Apply'>
140 <input type='button' onClick='btnGet()' value='GetRPCMethods'>