add added files
[bcm963xx.git] / userapps / broadcom / cfm / html / diagmer.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("Diagnostics", "<%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><%ejGetOther(diagInfo, serviceName)%></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.
32         </P>
33
34         <P><b>Test the connection to your local network</b></p>
35    <TABLE border="1" cellspacing="0" cellpadding="3">
36       <TBODY>
37 <script type="text/javascript">
38 <!-- hide
39 var dispName = '';
40 if ('<%ejGet(numEnet)%>' == '1') {
41    document.writeln("<TR><TD class='hd' width='250'>Test your Ethernet Connection: </TD>");
42    document.writeln("<TD><B><%ejGetOther(diagnostic, 1)%></B>&nbsp;</TD>");
43    document.writeln("<TD><A href='hlpethconn.html'>Help</A></TD> </TR>");
44 } else {
45    dispName = getUNameByLName('<%ejGet(boardID)%>' + '|eth0');
46    document.writeln(" <TR><TD class='hd' width='250'>Test your " + dispName + " Connection: </TD>");
47    document.writeln(" <TD><B><%ejGetOther(diagnostic, 1)%></B>&nbsp;</TD>");
48    document.writeln(" <TD><A href='hlpethconn.html'>Help</A></TD> </TR>");
49    dispName = getUNameByLName('<%ejGet(boardID)%>' + '|eth1');
50    document.writeln("<TR><TD class='hd' width='250'>Test your " + dispName + " Connection: </TD>");
51    document.writeln("<TD><B><%ejGetOther(diagnostic, 18)%></B>&nbsp;</TD>");
52    document.writeln("<TD><A href='hlpethconn.html'>Help</A></TD> </TR>");
53 }
54 if ('<%ejGet(enblWireless)%>' == '1') {
55    document.writeln("<TR><TD class='hd'>Test your Wireless Connection: </TD>");
56    document.writeln("<TD><B><%ejGetOther(diagnostic, 17)%></B>&nbsp;</TD>");
57    document.writeln("<TD><A href='hlpwlconn.html'>Help</A></TD></TR>");
58 }
59 // done hiding -->
60 </script>
61                   </TBODY></TABLE>
62
63         <P><b>Test the connection to your DSL service provider</b></p>
64         <TABLE border="1" cellspacing="0" cellpadding="3">
65            <TBODY>
66               <TR>
67                  <td width="250">Test ADSL Synchronization:</TD>
68                  <TD width="50"><B><%ejGetOther(diagnostic, 2)%></B></TD>
69                  <TD><A href="hlpadslsync.html">Help</A></TD>
70               </TR>
71               <TR>
72 <script type="text/javascript">
73 <!-- hide
74 var diagType = '<%ejGet(diagType)%>';
75 if ( diagType == 'f4' )
76    document.writeln("                        <TD class='hd'>Test ATM OAM segment ping:</TD>");
77 else
78    document.writeln("                        <TD class='hd'>Test ATM OAM F5 segment ping:</TD>");
79 // done hiding -->
80 </script>
81                  <TD><B><%ejGetOther(diagnostic, 3)%></B></TD>
82                  <TD><A href="hlpatmseg.html">Help</A></TD>
83               </TR>
84               <TR>
85 <script type="text/javascript">
86 <!-- hide
87 if ( diagType == 'f4' )
88    document.writeln("                        <TD class='hd'>Test ATM OAM end-to-end ping:</TD>");
89 else
90    document.writeln("                        <TD class='hd'>Test ATM OAM F5 end-to-end ping:</TD>");
91 // done hiding -->
92 </script>
93                  <TD><B><%ejGetOther(diagnostic, 4)%></B></TD>
94                  <TD><A href="hlpatmetoe.html">Help</A></TD>
95               </TR>
96            </TBODY></TABLE>
97
98         <P><B>Test the connection to your Internet service provider</B></p>
99         <TABLE border="1" cellspacing="0" cellpadding="3">
100            <TBODY>
101               <TR>
102                  <td width="250">Ping default gateway:
103                  </TD>
104                  <TD width="50"><B><%ejGetOther(diagnostic, 9)%></B></TD>
105                  <TD><A href="hlppnggw.html">Help</A></TD>
106               </TR>
107               <TR>
108                  <td>Ping primary Domain Name System server:</TD>
109                  <TD><B><%ejGetOther(diagnostic, 10)%></B></TD>
110                  <TD><A href="hlppngdns.html">Help</A></TD>
111               </TR>
112            </TBODY></TABLE>
113 <script type="text/javascript">
114 <!-- hide
115 var diagPrev = '<%ejGetOther(diagInfo, diagPrev)%>';
116 var diagNext = '<%ejGetOther(diagInfo, diagNext)%>';
117 var GO_PREV = 0;
118 var GO_NEXT = 1;
119
120 function btnGo(where) {
121    var loc = 'diag.cgi?diagCurr=';
122     
123    if ( where == GO_PREV )
124       loc += diagPrev;
125    else
126       loc += diagNext;
127       
128    var code = 'location.assign("' + loc + '")';
129    eval(code);
130 }
131
132 document.writeln("<p>");
133 if ( diagPrev != '' )
134    document.writeln("                  <input type='button' onClick='btnGo(GO_PREV)' value='Previous Connection'>");
135 if ( diagNext != '' )
136    document.writeln("                  <input type='button' onClick='btnGo(GO_NEXT)' value='Next Connection'>");
137 document.writeln("</p>");
138 // done hiding -->
139 </script>
140
141         <P>
142                 <input type='button' onClick='location.href="diag.cgi?diadType=f5"' value='Rerun Diagnostic Tests'>
143                 <input type='button' onClick='location.href="diag.cgi?diadType=f4"' value='Rerun Diagnostic Tests with OAM F4'>
144         </p>
145 </form>
146
147 <script type="text/javascript">
148         writeFooter();
149 </script>
150
151 </body>
152 </html>