<!--- <% show_sysinfo(); %> --->
<HTML><HEAD><TITLE><% nvram_get("router_name"); %> - Status</TITLE>
<% no_cache(); %>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="style.css">
<style fprolloverstyle>
A:hover {color: #00FFFF}
.small A:hover {color: #00FFFF}
</style>
</HEAD>
<BODY vLink=#b5b5e6 aLink=#ffffff link=#b5b5e6>
<DIV align=center>
<TABLE cellSpacing=0 cellPadding=0 width=809 border=0>
  <TBODY>
  <TR>
    <TD width=95><IMG src="image/UI_Linksys.gif" border=0 width="165" height="57"></TD>
    <TD vAlign=bottom align=right width=714 bgColor=#6666cc><FONT
      style="FONT-SIZE: 7pt"><FONT face=Arial><font color=#AAAAAA><br>Firmware version:&nbsp;</font><FONT Color=#FFFFFF><% get_firmware_version(); %>&nbsp;&nbsp;&nbsp;</font></FONT></TD></TR>
  <TR>
    <TD width=808 bgColor=#6666cc colSpan=2><IMG height=11 src="image/UI_10.gif" width=809 border=0></TD>
  </TR>
</TBODY>
</TABLE>
    
    
    
    
<TABLE height=77 cellSpacing=0 cellPadding=0 width=809 bgColor=black border=0>
  <TBODY>
  <TR>
    <TD style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: black; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-VARIANT: normal" borderColor=#000000 align=middle width=163 height=49><H3 style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px"><FONT style="FONT-SIZE: 15pt" face=Arial color=#ffffff>Sys-Info</FONT></H3></TD>
    <TD style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: black; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-VARIANT: normal" vAlign=center borderColor=#000000 width=646 bgColor=#000000 height=49>
    <TABLE style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: black; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; BORDER-COLLAPSE: collapse; FONT-VARIANT: normal" height=33 cellSpacing=0 cellPadding=0 bgColor=#6666cc border=0>
       <TBODY>
        <TR>
          <TD style="FONT-WEIGHT: bolder; FONT-SIZE: 10pt" align=right bgColor=#6666cc height=33><FONT color=#ffffff>Wireless-G Broadband Router&nbsp;&nbsp;</FONT></TD>
          <TD borderColor=#000000 borderColorLight=#000000 align=middle width=109 bgColor=#000000 borderColorDark=#000000 height=12 rowSpan=2><FONT color=#ffffff><SPAN style="FONT-SIZE: 8pt"><B><% nvram_get("router_name"); %></B></SPAN></FONT></TD>
        </TR>
        <TR>
          <TD style="FONT-WEIGHT: normal; FONT-SIZE: 1pt; COLOR: black; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-VARIANT: normal" width=537 bgColor=#000000 height=1></TD></TR>
        <TR>
          <TD width=646 bgColor=#000000 colSpan=2 height=32>
            <TABLE id=AutoNumber1 style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: black; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; BORDER-COLLAPSE: collapse; FONT-VARIANT: normal" height=6 cellSpacing=0 cellPadding=0 width=637 border=0>
            <TBODY>

              <TR>
                <TD width=643 bgColor=#6666cc colSpan=7 height=21 align=right>&nbsp;<font color=#DDDDDD><% get_uptime(); %></font></TD>
  	      </TR>
  	    </TBODY>
  	    </TABLE>
  	   </TD>
  	  </TR>
  	  </TBODY>
  	 </TABLE>
  	</TD>
       </TR>
  </TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=809 bgColor=#e7e7e7 border=0>
  <TBODY>
  <TR>
	<TD height=2 colspan=3 background="image/UI_06.gif"></TD>
  </TR>
  <TR>
		<td valign=top width=250>
			<li>WRT Info<br><br>
			<table width=200 border=0>
				<tr>
					<td>RouterName:</td>
					<td><B><% nvram_get("router_name"); %></B></td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td></td>
				</tr>
				<tr>
					<td>LAN MAC:</td>
          				<TD><B><% nvram_get("lan_hwaddr"); %></B></FONT></TD>
				</tr>
				<tr>
					<td>WAN MAC:</td>
          				<TD><B><% nvram_get("wan_hwaddr"); %></B></FONT></TD>
				</tr>
				<tr>
					<td>Wireless MAC:</td>
          				<TD><B><% nvram_get("wl0_hwaddr"); %></B></FONT></TD>
				</tr>
			</table>
		</td>
		<td valign=top width=250>
		<li>Wireless Info<br><br>
			<table width=200 border=0>
				<tr>
					<td>SSID</td>
					<td><B><font color=#0033FF><% nvram_get("wl_ssid"); %></font></B></td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td></td>
				</tr>
				<tr>
					<td>Mode:</td>
          				<TD><B><% nvram_match("wl_mode", "wet", "Client"); %><% nvram_match("wl_mode", "ap", "AP"); %></B></FONT></TD>
				</tr>
				<tr>
					<td>Network:</td>
          				<TD><B><% nvram_match("wl_gmode", "1", "Mixed"); %><% nvram_match("wl_gmode", "2", "G-Only"); %><% nvram_match("wl_gmode", "-1", "Disabled"); %><% nvram_match("wl_gmode", "0", "B-Only"); %></B></FONT></TD>
				</tr>
				<tr>
					<td>DHCP Server:</td>
          				<TD><B><% nvram_match("lan_proto", "dhcp", "Enabled"); %><% nvram_match("lan_proto", "static", "Disabled"); %></B></FONT></TD>
				</tr>
				<tr>
					<td>Channel:</td>
          				<TD><B><% get_curchannel(); %></B></FONT></TD>
				</tr>
				<tr>
					<td>Rate (mbps):</td>
          				<TD><B><font color=#0033FF><% get_currate(); %></font></B></FONT></TD>
				</tr>
			</table>
		</td>
		<td valign=top width=250 >
		<li>IP Info<br>
		<table width=200 border=0>
				<tr>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td width=200>WAN IP</td>
					<td><B><% nvram_status_get("wan_ipaddr"); %></B></td>
				</tr>
				<tr>
					<td>LAN IP</td>
					<td><B><% nvram_get("lan_ipaddr"); %></B></td>
				</tr>
				<tr>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td>WRT-radauth</td>
					<td><B>
					<% nvram_match("wl_mode", "wet", "<nobr>only AP Mode</nobr><!--"); %>
					<% nvram_match("wl_mode", "infra", "<nobr>only AP Mode</nobr><!--"); %>
					
					<% nvram_match("wl_radauth","0","<font color=#FF3300>Disabled"); %><% nvram_match("wl_radauth","1","<font Color=#0033FF>Active"); %></font>
					
					<% nvram_match("wl_mode", "wet", "-->"); %>
					<% nvram_match("wl_mode", "infra", "-->"); %>
					
					</B></td>
				</tr>
				<tr>
					<td>WRT-rflow</td>
					<td><B><% nvram_match("rflow_enable","0","<font color=#FF3300>Disabled"); %> <% nvram_match("rflow_enable","1","<font color=#0033FF>Active"); %></font></B></td>
				</tr>
				<tr>
					<td>MAC-udp</td>
					<td><B><% nvram_match("macupd_enable","0","<font color=#FF3300>Disabled"); %> <% nvram_match("macupd_enable","1","<font color=#0033FF>Active"); %></font></B></td>
				</tr>
				<tr>
					<td>Samba Mount</td>
					<td><B><% nvram_match("samba_mount","0","<font color=#FF3300>Disabled"); %><% nvram_match("samba_mount","1","<font color=#0033FF>Active"); %></font></B></td>
				</tr>
		</table>
		</td>
		
	</tr>
   </TBODY>
</table>
<TABLE cellSpacing=0 cellPadding=0 width=809 bgColor=#e7e7e7 border=0>
  <TBODY>
  	<tr bgcolor=#e7e7e7>
  		<td colspan=2>&nbsp;</td>
  	</tr>
	<TR bgcolor=#e7e7e7>
		<TD height=1 colspan=4><IMG height=1 src="image/UI_06.gif" width=809 border=0></TD>
	</tr>
  	
	<tr>
		<td valign=top width=400 align=center>
			<table width=80% border=0>
						<form name="Eingabe">
						<input type="hidden" name="Feld" value='<% active_wireless(''); %><% active_wds(); %>'>
						<input type="hidden" name="FeldMEM" value='<% wl_packet_get(); %>'>
						
				<tr>
					<td><br>
					<b><li>&nbsp;&nbsp;<% nvram_match("wl_mode", "wet", "Connected AP"); %>
							   <% nvram_match("wl_mode", "infra", "Connected Clients"); %>
							   <% nvram_match("wl_mode", "ap", "Wireless Clients"); %>
							   </b><br><br>
						<script language=javascript>
						function replace_list(list,von,nach)
						{
							Ergebnis = list.search(von);
    							while(Ergebnis != -1)
	     							{ 
     								list = list.replace(von,nach);
     								Ergebnis = list.search(von);
     								}
     							return list						
						}
						var clients = this.document.Eingabe.Feld.value;
						clients=replace_list(clients,'Clients:','');
						clients=replace_list(clients,'WDS Signal:','');
						clients=replace_list(clients,'width=156 bgColor=#e7e7e7','width=0');
						clients=replace_list(clients,'width=8 background=image/UI_04.gif','width=0');
						clients=replace_list(clients,'colSpan=3','');
						clients=replace_list(clients,'width=13','width=0');
						clients=replace_list(clients,'width=15 background=image/UI_05.gif','width=0');
						clients=replace_list(clients,'height=25','');
						clients=replace_list(clients,'rssi ','</td><td></b><i>rssi</i>&nbsp;&nbsp;&nbsp;&nbsp;<b>');
						
						this.document.write("<table border=0 width=300>");						
						this.document.write("<TBODY>");						
						this.document.write("<TR>");
						this.document.write("<TD colspan=5 bgcolor=#CCCCCC><b>MAC-Address</b></td>");
						this.document.write("<TD colspan=1 bgcolor=#CCCCCC align=left><b>Pegel</b></td>");
						this.document.write("<TD colspan=2 bgcolor=#CCCCCC></td>");
						this.document.write("</tr>");						
						this.document.write(clients);
						this.document.write("<TBODY>");						
						this.document.write("</table>");
						</script>
					</td>
				</tr>
					
			</table>
		</td>
		<td valign=top align=center>
<% nvram_match("wl_mode", "wet", "<!--"); %>
			<table width=80% border=0>
				<tr>
					<td><br>
					<b><li>&nbsp;&nbsp;DHCP Client List</b><br><br>
					<table width=300 border=0>
						<TBODY>
						<tr bgcolor=#CCCCCC>
							<td><b>PC</b>
							</td>
							<td align=center><b>IP</b>
							</td>
							<td align=center><b>MAC</b>
							</td>
							<td align=center><b>Dauer</b>
							</td>
						</tr>
						<script language=javascript>
						var table = new Array(
						<% dumpleases(""); %>
						);
						var i = 0;
						var count = 0;
						for(;;){
							if(!table[i]){
								if(i == 0){
									document.write("<tr align=middle>");
									document.write("<td>None</td>");
									document.write("<td>None</td>");
									document.write("<td>None</td>");
									document.write("<td>None</td>");
									document.write("<td>&nbsp;</td></tr>");
									}
									break;
								}
								document.write("<tr align=middle>");
								document.write("<td>"+table[i]+"</td>");
								document.write("<td>"+table[i+1]+"</td>");
								document.write("<td><b>"+table[i+2]+"</b></td>");
								document.write("<td>"+table[i+3]+"</td>");
								document.write("</tr>");
								count ++;
								i = i + 5;
								}
						</script>
						</TBODY>
					</table>
				</td>
			</table>
<% nvram_match("wl_mode", "wet", "-->"); %>
			
		</td>
	</tr>
  	<tr bgcolor=#e7e7e7>
  		<td colspan=2>&nbsp;</td>
  	</tr>
	<!-- ***********************Schlusszeile-->
	<tr>
		<td width=809 colspan=2>
			<TABLE cellSpacing=0 cellPadding=0 border=0 width=100%>
        			<TBODY>
        			<TR>
          				<TD width=222 bgColor=#e7e7e7 height=31 colspan=2>
          					<nobr><b>Packet Info: </b><font color=#888888>
						<script language=javascript>
						function replace_list(list,von,nach)
						{
							Ergebnis = list.search(von);
    							while(Ergebnis != -1)
	     							{ 
     								list = list.replace(von,nach);
     								Ergebnis = list.search(von);
     								}
     							return list						
						}
						var clients = this.document.Eingabe.FeldMEM.value;
						clients=replace_list(clients,';',' ');
						clients=replace_list(clients,'SWRXgoodPacket=',' RXg=');
						clients=replace_list(clients,'SWRXerrorPacket=','RXe=');
						clients=replace_list(clients,'SWTXgoodPacket=',' TXg=');
						clients=replace_list(clients,'SWTXerrorPacket=','TXe=');
						
						this.document.write(clients);
						    </script>
          					
          					
          					</font></nobr>
          					<br>
          					<nobr><b>Mem Info&nbsp;: </b><font color=#888888><% show_meminfo(); %></font></nobr>
          				
          				</TD>
          			
          				<TD width=176 bgColor=#e7e7e7 rowSpan=2>
                        <a href="http://dd-wrt.gruftie.com/">
                        <IMG src="image/UI_CiscoinfoDD-WRT.gif" border=0 width="176" height="70"></a></TD>
          			</TR>
        			<TR>
          				<TD width=222 bgColor=#000000 height=33>&nbsp;</TD>
          				<TD width=411 bgColor=#6666cc align=right><a href='index.asp'><b>Admin Link</b></a>&nbsp;&nbsp;</TD>
          			
  				</TR>
  				</TBODY>
  				</TABLE>
	
	
		</td>
	</tr></form>
</TBODY>
</table>
<TABLE cellSpacing=0 cellPadding=0 width=809 border=0>
  <TBODY>
  <TR>
    <TD vAlign=bottom align=left width=430 bgColor=#6666cc>
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
						<input type="hidden" name="cmd" value="_xclick">
						<input type="hidden" name="business" value="sebastian.gottschall@advis.de">
						<input type="hidden" name="item_name" value="DD-WRT Development Support">
						<input type="hidden" name="no_note" value="1">
						<input type="hidden" name="currency_code" value="EUR">
						<input type="hidden" name="tax" value="0">
						<input type="image" src="image/x-click-but04.gif" border="0" name="submit" width="62" height="31">
						</form>
    <p align="left"><span style="font-size: 7pt">This firmware was developed 
    under GPL and is free or donation ware. Selling is strictly forbidden</span></td>
    <td width=150  bgColor=#6666cc valign=bottom>
    <FONT face=Arial style="FONT-SIZE: 15pt"><font color=#DDDDDD><i>developed by</i></font>
    </td>
    <td width=100  bgColor=#6666cc>
    <b>
    <li>programming:<br>
    <li>webinterface:<br>
    <li>testing:
    </b>
    </td>
    <td bgColor=#6666cc width=129 valign=right>
    &nbsp;<a href="mailto:brainslayer@braincontrol.org">BrainSlayer</a><br>
    &nbsp;Minori&nbsp;&nbsp;<br>
    &nbsp;Everyone&nbsp;&nbsp;
    </font>
    </td>
    </tr>
  <TR>
    <TD width=808 bgColor=#6666cc colSpan=4><IMG height=11 src="image/UI_10.gif" width=809 border=0></TD>
  </TR>
</TBODY>
</table>
<br><br>




</body>
</HTML>