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