--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+ (c) 2005 U.S. Robotics Corporation
+-->
+<html>
+<head>
+ <title></title>
+
+ <link href="usr_main.css" rel="stylesheet" type="text/css">
+ <script src="usr_menus.js" type="text/javascript"></script>
+ <script src="usr_common.js" type="text/javascript"></script>
+
+ <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
+
+ <script type="text/javascript" src="util.js"></script>
+ <script type="text/javascript">
+<!-- hide
+
+setPageTitle("<%ejGetWl(wlInterface)%>");
+
+var addr = '<%ejGet(ethIpAddress)%>';
+var mask = '<%ejGet(ethSubnetMask)%>';
+var prtcl = '<%ejGetOther(memInfo, ntwkPrtcl)%>';
+
+function frmLoad() {
+ with ( document.forms[0] ) {
+ ethIpAddress.value = addr;
+ ethSubnetMask.value = mask;
+ }
+}
+
+function btnNext() {
+ var ifc = '<%ejGetWl(wlInterface)%>';
+ var loc = '';
+
+ if ( ifc == '1' )
+ loc = 'wlsetup.cgi?';
+ else
+ loc = 'ntwksum2.cgi?';
+
+ with ( document.forms[0] ) {
+ if ( isValidIpAddress(ethIpAddress.value) == false ) {
+ alert('Address "' + ethIpAddress.value + '" is invalid IP address.');
+ return;
+ }
+ if ( isValidIpAddress(ethSubnetMask.value) == false ) {
+ alert('Subnet mask "' + ethSubnetMask.value + '" has invalid IP address.');
+ return;
+ }
+ loc += 'ethIpAddress=' + ethIpAddress.value;
+ loc += 'ðSubnetMask=' + ethSubnetMask.value;
+ }
+
+ var code = 'location.assign("' + loc + '")';
+ eval(code);
+}
+
+function btnBack() {
+ var loc = 'enblbridge.html';
+
+ if ( prtcl == 'PPPoE' || prtcl == 'PPPoA' )
+ loc = 'enblservice.html';
+
+ var code = 'location.assign("' + loc + '")';
+ eval(code);
+}
+
+// done hiding -->
+</script>
+ <base target="_self">
+ </head>
+ <body onload="initMenu('idMenu'); frmLoad();">
+
+<script type="text/javascript">
+ writeHeader("Device Setup", "<%ejGet(curUserName)%>", "<%ejGetOther(sysInfo, adslStd)%>", "<%ejGetOther(sysInfo, noBrPrtcl)%>", <%ejGetOther(sysInfo, pppIpExtension)%>, <%ejGetOther(sysInfo, enblFirewall)%>, <%ejGetOther(sysInfo, enblNat)%>, "<%ejGetWl(wlInterface)%>", <%ejGet(enblQos)%>);
+</script>
+
+<form>
+<p>Configure the router IP address and subnet mask for your local area network (LAN).</p>
+
+ <table border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><label for="ethIpAddress">IP address:</label></td>
+ <td><input type='text' name='ethIpAddress' id='ethIpAddress'></td>
+ </tr>
+ <tr>
+ <td><label for="ethSubnetMask">Subnet mask:</label></td>
+ <td><input type='text' name='ethSubnetMask' id='ethSubnetMask'></td>
+ </tr>
+ </table>
+
+<p><input type='button' onClick='btnBack()' value='Back'> <input type='button' onClick='btnNext()' value='Next'></p>
+</form>
+
+<script type="text/javascript">
+ writeFooter();
+</script>
+
+</body>
+</html>