www.usr.com/support/gpl/USR9107_release.1.4.tar.gz
[bcm963xx.git] / userapps / broadcom / cfm / html / diagipow.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3    <head>
4       <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
5       <link rel="stylesheet" href='stylemain.css' type='text/css'>
6           <script language="javascript" src="portName.js"></script>
7          <link rel="stylesheet" href='colors.css' type='text/css'>
8    </head>
9    <body>
10       <blockquote>
11          <form>
12             <b><%ejGetOther(diagInfo, serviceName)%> Diagnostics</b><br>
13             <P>Your modem is capable of testing your DSL connection. The individual tests are 
14                listed below. If a test displays a fail status, click &quot;Rerun Diagnostic 
15                Tests&quot; at the bottom of this page to make sure the fail status is 
16                consistent. If the test continues to fail, click &quot;Help&quot; and follow 
17                the troubleshooting procedures.
18             </P>
19             <P><B>Test the connection to your local network</B>
20                <TABLE border="1" cellspacing="0" cellpadding="3">
21                   <TBODY>
22                      <script language="javascript">
23 <!-- hide
24 //var brdId = '<%ejGetJS(boardID)%>';
25 var dispName = '';
26 if ('<%ejGetJS(numEnet)%>' == '1') {
27    document.writeln("<TR><TD class='hd' width='250'>Test your Ethernet Connection: </TD>");
28    document.writeln("<TD><B><%ejGetOther(diagnostic, 1)%></B>&nbsp;</TD>");
29    document.writeln("<TD><A href='hlpethconn.html'>Help</A></TD> </TR>");
30 } else {
31    dispName = getUNameByLName('<%ejGetJS(boardID)%>' + '|eth0');
32    document.writeln(" <TR><TD class='hd' width='250'>Test your " + dispName + " Connection: </TD>");
33    document.writeln(" <TD><B><%ejGetOther(diagnostic, 1)%></B>&nbsp;</TD>");
34    document.writeln(" <TD><A href='hlpethconn.html'>Help</A></TD> </TR>");
35    dispName = getUNameByLName('<%ejGetJS(boardID)%>' + '|eth1');
36    document.writeln("<TR><TD class='hd' width='250'>Test your " + dispName + " Connection: </TD>");
37    document.writeln("<TD><B><%ejGetOther(diagnostic, 18)%></B>&nbsp;</TD>");
38    document.writeln("<TD><A href='hlpethconn.html'>Help</A></TD> </TR>");
39 }
40 if ('<%ejGetJS(enblUsb)%>' == '1') {
41    document.writeln("<TR><TD class='hd'>Test your USB Connection: </TD>");
42    document.writeln("<TD><B><%ejGetOther(diagnostic, 13)%></B>&nbsp;</TD>");
43    document.writeln("<TD><A href='hlpusbconn.html'>Help</A></TD> </TR>");
44 }
45 if ('<%ejGetJS(enblWireless)%>' == '1') {
46    document.writeln("<TR><TD class='hd'>Test your Wireless Connection: </TD>");
47    document.writeln("<TD><B><%ejGetOther(diagnostic, 17)%></B>&nbsp;</TD>");
48    document.writeln("<TD><A href='hlpwlconn.html'>Help</A></TD></TR>");
49 }
50 // done hiding -->
51 </script>
52                </TBODY></TABLE>
53             <P><B>Test the connection to your Internet service provider</B>
54                <TABLE border="1" cellspacing="0" cellpadding="3">
55                   <TBODY>
56                      <TR>
57                         <TD class='hd' width="250">Ping default gateway:
58                         </TD>
59                         <TD width="50"><B><%ejGetOther(diagnostic, 9)%></B>&nbsp;</TD>
60                         <TD><A href="hlppnggw.html">Help</A></TD>
61                      </TR>
62                      <TR>
63                         <TD class='hd'>Ping primary Domain Name System Server:
64                         </TD>
65                         <TD><B><%ejGetOther(diagnostic, 10)%></B>&nbsp;</TD>
66                         <TD><A href="hlppngdns.html">Help</A></TD>
67                      </TR>
68                   </TBODY></TABLE>
69             <CENTER>
70             <br><br>
71 <script language="javascript">
72 <!-- hide
73 var diagPrev = '<%ejGetOther(diagInfo, diagPrev)%>';
74 var diagNext = '<%ejGetOther(diagInfo, diagNext)%>';
75 var GO_PREV = 0;
76 var GO_NEXT = 1;
77
78 function btnGo(where) {
79    var loc = 'diag.cgi?diagCurr=';
80     
81    if ( where == GO_PREV )
82       loc += diagPrev;
83    else
84       loc += diagNext;
85       
86    var code = 'location = "' + loc + '"';
87    eval(code);
88 }
89
90 if ( diagPrev != '' )
91    document.writeln("                  <input type='button' onClick='btnGo(GO_PREV)' value='Previous Connection'>");
92 if ( diagNext != '' )
93    document.writeln("                  <input type='button' onClick='btnGo(GO_NEXT)' value='Next Connection'>");
94 // done hiding -->
95 </script>
96             <br>
97                   <input type='button' onClick='location.href="diag.cgi?diagType=f5"' value='Test'>
98                   <input type='button' onClick='location.href="diag.cgi?diagType=f4"' value='Test With OAM F4'>
99             </CENTER>
100          </form>
101       </blockquote>
102    </body>
103 </html>