add added files
[bcm963xx.git] / userapps / broadcom / cfm / html / diagbr.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--
3         (c) 2005 U.S. Robotics Corporation
4 -->
5 <html>
6 <head>
7         <title>Device &raquo; Diagnostics</title>
8
9         <link href="usr_main.css" rel="stylesheet" type="text/css">
10         <script src="usr_menus.js" type="text/javascript"></script>
11         <script src="usr_common.js" type="text/javascript"></script>
12         <script src="portName.js" type="text/javascript"></script>
13
14       <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
15
16
17 </head>
18 <body onload="initMenu('idMenu');">
19
20 <script type="text/javascript">
21         setPageTitle("<%ejGetWl(wlInterface)%>");
22         writeHeader("Device", "<%ejGet(curUserName)%>", "<%ejGetOther(sysInfo, adslStd)%>", "<%ejGetOther(sysInfo, noBrPrtcl)%>", <%ejGetOther(sysInfo, pppIpExtension)%>, <%ejGetOther(sysInfo, enblFirewall)%>, <%ejGetOther(sysInfo, enblNat)%>, "<%ejGetWl(wlInterface)%>", <%ejGet(enblQos)%>);
23 </script>
24
25 <form>
26         <h3>Diagnostics</h3>
27         <P>Your modem is capable of testing your DSL connection. The individual tests are 
28            listed below. If a test displays a fail status, press <b>Rerun Diagnostic 
29            Tests</b> at the bottom of this page to make sure the fail status is 
30            consistent. If the test continues to fail, press <b>Help</b> and follow 
31            the troubleshooting procedures.</P>
32
33         <P><B>Test the connection to your local network:</B></p>
34
35    <TABLE border="1" cellspacing="0" cellpadding="3">
36       <TBODY>
37         <script src="usr_common.js" type="text/javascript"></script>
38 <script type="text/javascript">
39 <!-- hide
40 var dispName = '';
41 if ('<%ejGet(numEnet)%>' == '1') {
42    document.writeln("<TR><TD class='hd' width='250'>Test your Ethernet Connection: </TD>");
43    document.writeln("<TD><B><%ejGetOther(diagnostic, 1)%></B>&nbsp;</TD>");
44    document.writeln("<TD><A href='hlpethconn.html'>Help</A></TD> </TR>");
45 } else {
46    dispName = getUNameByLName('<%ejGet(boardID)%>' + '|eth0');
47    document.writeln(" <TR><TD class='hd' width='250'>Test your " + dispName + " Connection: </TD>");
48    document.writeln(" <TD><B><%ejGetOther(diagnostic, 1)%></B>&nbsp;</TD>");
49    document.writeln(" <TD><A href='hlpethconn.html'>Help</A></TD> </TR>");
50    dispName = getUNameByLName('<%ejGet(boardID)%>' + '|eth1');
51    document.writeln("<TR><TD class='hd' width='250'>Test your " + dispName + " Connection: </TD>");
52    document.writeln("<TD><B><%ejGetOther(diagnostic, 18)%></B>&nbsp;</TD>");
53    document.writeln("<TD><A href='hlpethconn.html'>Help</A></TD> </TR>");
54 }
55 if ('<%ejGet(enblWireless)%>' == '1') {
56    document.writeln("<TR><TD class='hd'>Test your Wireless Connection: </TD>");
57    document.writeln("<TD><B><%ejGetOther(diagnostic, 17)%></B>&nbsp;</TD>");
58    document.writeln("<TD><A href='hlpwlconn.html'>Help</A></TD></TR>");
59 }
60 // done hiding -->
61 </script>
62                   </TBODY></TABLE>
63
64         <P><B>Test the connection to your DSL service provider:</B></p>
65         <TABLE border="1" cellspacing="0" cellpadding="3">
66            <TBODY>
67               <TR>
68                  <TD width="250">Test ADSL synchronization:</TD>
69                  <TD width="50"><B><%ejGetOther(diagnostic, 2)%></B>&nbsp;</TD>
70                  <TD><A href="hlpadslsync.html">Help</A></TD>
71               </TR>
72               <TR>
73 <script type="text/javascript">
74 <!-- hide
75 var diagType = '<%ejGet(diagType)%>';
76 if ( diagType == 'f4' )
77    document.writeln("                        <TD class='hd'>Test ATM OAM segment ping:</TD>");
78 else
79    document.writeln("                        <TD class='hd'>Test ATM OAM F5 segment ping:</TD>");
80 // done hiding -->
81 </script>
82                  <TD><B><%ejGetOther(diagnostic, 3)%></B>&nbsp;</TD>
83                  <TD><A href="hlpatmseg.html">Help</A></TD>
84               </TR>
85               <TR>
86 <script type="text/javascript">
87 <!-- hide
88 if ( diagType == 'f4' )
89    document.writeln("                        <TD class='hd'>Test ATM OAM end-to-end ping:</TD>");
90 else
91    document.writeln("                        <TD class='hd'>Test ATM OAM F5 end-to-end ping:</TD>");
92 // done hiding -->
93 </script>
94                  <TD><B><%ejGetOther(diagnostic, 4)%></B>&nbsp;</TD>
95                  <TD><A href="hlpatmetoe.html">Help</A></TD>
96               </TR>
97                 </TBODY>
98         </TABLE>
99 <script type="text/javascript">
100 <!-- hide
101 var diagPrev = '<%ejGetOther(diagInfo, diagPrev)%>';
102 var diagNext = '<%ejGetOther(diagInfo, diagNext)%>';
103 var GO_PREV = 0;
104 var GO_NEXT = 1;
105
106 function btnGo(where) {
107    var loc = 'diag.cgi?diagCurr=';
108     
109    if ( where == GO_PREV )
110       loc += diagPrev;
111    else
112       loc += diagNext;
113       
114    var code = 'location.assign("' + loc + '")';
115    eval(code);
116 }
117
118 document.writeln("<p>");
119 if ( diagPrev != '' )
120    document.writeln("                  <input type='button' onClick='btnGo(GO_PREV)' value='Previous Connection'>");
121 if ( diagNext != '' )
122    document.writeln("                  <input type='button' onClick='btnGo(GO_NEXT)' value='Next Connection'>");
123 document.writeln("</p>");
124 // done hiding -->
125 </script>
126
127         <p>
128                 <input type='button' onClick='location.href="diag.cgi?diagType=f5"' value='Rerun Diagnostic Tests'>
129                 <input type='button' onClick='location.href="diag.cgi?diagType=f4"' value='Rerun Diagnostic Tests With OAM F4'>
130         </p>
131 </form>
132
133 <script type="text/javascript">
134         writeFooter();
135 </script>
136
137 </body>
138 </html>