add added files
[bcm963xx.git] / userapps / broadcom / cfm / html / diagpppoa.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 </head>
16 <body onload="initMenu('idMenu');">
17
18 <script type="text/javascript">
19         setPageTitle("<%ejGetWl(wlInterface)%>");
20         writeHeader("Diagnostics", "<%ejGet(curUserName)%>", "<%ejGetOther(sysInfo, adslStd)%>", "<%ejGetOther(sysInfo, noBrPrtcl)%>", <%ejGetOther(sysInfo, pppIpExtension)%>, <%ejGetOther(sysInfo, enblFirewall)%>, <%ejGetOther(sysInfo, enblNat)%>, "<%ejGetWl(wlInterface)%>", <%ejGet(enblQos)%>);
21 </script>
22
23 <form>
24         <h3><%ejGetOther(diagInfo, serviceName)%></h3>
25    <P>Your modem is capable of testing your DSL connection. The individual tests are 
26       listed below. If a test displays a fail status, click <b>Rerun Diagnostic 
27       Tests</b> at the bottom of this page to make sure the fail status is 
28       consistent. If the test continues to fail, click <b>Help</b> and follow 
29       the troubleshooting procedures.
30    </P>
31    
32    <P><b>Test the connection to your local network</b></p>
33       <TABLE border="1" cellspacing="0" cellpadding="3">
34          <TBODY>
35         <script type="text/javascript">
36 <!-- hide
37 var dispName = '';
38 if ('<%ejGet(numEnet)%>' == '1') {
39    document.writeln("<TR><TD class='hd' width='250'>Test your Ethernet Connection: </TD>");
40    document.writeln("<TD><B><%ejGetOther(diagnostic, 1)%></B>&nbsp;</TD>");
41    document.writeln("<TD><A href='hlpethconn.html'>Help</A></TD> </TR>");
42 } else {
43    dispName = getUNameByLName('<%ejGet(boardID)%>' + '|eth0');
44    document.writeln(" <TR><TD class='hd' width='250'>Test your " + dispName + " Connection: </TD>");
45    document.writeln(" <TD><B><%ejGetOther(diagnostic, 1)%></B>&nbsp;</TD>");
46    document.writeln(" <TD><A href='hlpethconn.html'>Help</A></TD> </TR>");
47    dispName = getUNameByLName('<%ejGet(boardID)%>' + '|eth1');
48    document.writeln("<TR><TD class='hd' width='250'>Test your " + dispName + " Connection: </TD>");
49    document.writeln("<TD><B><%ejGetOther(diagnostic, 18)%></B>&nbsp;</TD>");
50    document.writeln("<TD><A href='hlpethconn.html'>Help</A></TD> </TR>");
51 }
52 if ('<%ejGet(enblWireless)%>' == '1') {
53    document.writeln("<TR><TD class='hd'>Test your Wireless Connection: </TD>");
54    document.writeln("<TD><B><%ejGetOther(diagnostic, 17)%></B>&nbsp;</TD>");
55    document.writeln("<TD><A href='hlpwlconn.html'>Help</A></TD></TR>");
56 }
57 // done hiding -->
58         </script>
59         </TBODY></TABLE>
60
61         <P><b>Test the connection to your DSL service provider</b></p>
62         <TABLE border="1" cellspacing="0" cellpadding="3">
63            <TBODY>
64               <TR>
65                  <td width="250">Test ADSL synchronization:</TD>
66                  <TD width="50"><B><%ejGetOther(diagnostic, 2)%></B></TD>
67                  <TD><A href="hlpadslsync.html">Help</A></TD>
68               </TR>
69               <TR>
70 <script type="text/javascript">
71 <!-- hide
72 var diagType = '<%ejGet(diagType)%>';
73 if ( diagType == 'f4' )
74    document.writeln("                        <TD class='hd'>Test ATM OAM segment ping:</TD>");
75 else
76    document.writeln("                        <TD class='hd'>Test ATM OAM F5 segment ping:</TD>");
77 // done hiding -->
78 </script>
79                  <TD><B><%ejGetOther(diagnostic, 3)%></B></TD>
80                  <TD><A href="hlpatmseg.html">Help</A></TD>
81               </TR>
82               <TR>
83 <script type="text/javascript">
84 <!-- hide
85 if ( diagType == 'f4' )
86    document.writeln("                        <TD class='hd'>Test ATM OAM end-to-end ping:</TD>");
87 else
88    document.writeln("                        <TD class='hd'>Test ATM OAM F5 end-to-end ping:</TD>");
89 // done hiding -->
90 </script>
91             <TD><B><%ejGetOther(diagnostic, 4)%></B></TD>
92             <TD><A href="hlpatmetoe.html">Help</A></TD>
93          </TR>
94       </TBODY></TABLE>
95
96         <P><B>Test the connection to your Internet service provider</B></p>
97    <TABLE border="1" cellspacing="0" cellpadding="3">
98       <TBODY>
99          <TR>
100             <td width="250">Test PPP server connection:</TD>
101             <TD width="50"><B><%ejGetOther(diagnostic, 6)%></B></TD>
102             <TD><A href="hlppppoasess.html">Help</A></TD>
103          </TR>
104          <TR>
105             <td>Test authentication with ISP:</TD>
106             <TD><B><%ejGetOther(diagnostic, 7)%></B></TD>
107             <TD><A href="hlppppoeauth.html">Help</A></TD>
108          </TR>
109          <script type="text/javascript">
110 <!-- hide
111 var ipExtension = '<%ejGetOther(sysInfo, pppIpExtension)%>';
112
113 if ( ipExtension == '0' ) {
114    document.writeln("<TR>");
115    document.writeln("  <td>Test the assigned IP address: </TD>");
116    document.writeln("  <TD><B><%ejGetOther(diagnostic, 8)%></B></TD>");
117    document.writeln("  <TD><A href='hlppppoeip.html'>Help</A></TD></TR>");
118    document.writeln("<TR>");
119    document.writeln("  <td>Ping default gateway: </TD>");
120    document.writeln("  <TD><B><%ejGetOther(diagnostic, 9)%></B></TD>");
121    document.writeln("  <TD><A href='hlppnggw.html'>Help</A></TD></TR>");
122    document.writeln("<TR>");
123    document.writeln("  <td>Ping primary Domain Name System Server: </TD>");
124    document.writeln("  <TD><B><%ejGetOther(diagnostic, 10)%></B></TD>");
125    document.writeln("  <TD><A href='hlppngdns.html'>Help</A></TD></TR>");
126 }
127 // done hiding -->
128         </script>
129         </TBODY></TABLE>
130
131 <script type="text/javascript">
132 <!-- hide
133 var diagPrev = '<%ejGetOther(diagInfo, diagPrev)%>';
134 var diagNext = '<%ejGetOther(diagInfo, diagNext)%>';
135 var GO_PREV = 0;
136 var GO_NEXT = 1;
137
138 function btnGo(where) {
139    var loc = 'diag.cgi?diagCurr=';
140     
141    if ( where == GO_PREV )
142       loc += diagPrev;
143    else
144       loc += diagNext;
145       
146    var code = 'location.assign("' + loc + '")';
147    eval(code);
148 }
149
150 document.writeln("<p>");
151 if ( diagPrev != '' )
152    document.writeln("                  <input type='button' onClick='btnGo(GO_PREV)' value='Previous Connection'>");
153 if ( diagNext != '' )
154    document.writeln("                  <input type='button' onClick='btnGo(GO_NEXT)' value='Next Connection'>");
155 document.writeln("</p>");
156 // done hiding -->
157 </script>
158         
159         <P>
160                 <input type='button' onClick='location.href="diag.cgi?diagType=f5"' value='Rerun Diagnostic Tests'>
161                 <input type='button' onClick='location.href="diag.cgi?diagType=f4"' value='Rerun Diagnostic Tests With OAM F4'>
162         </p>
163 </form>
164
165 <script type="text/javascript">
166         writeFooter();
167 </script>
168
169 </body>
170 </html>