Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save duckinator/266325 to your computer and use it in GitHub Desktop.
Save duckinator/266325 to your computer and use it in GitHub Desktop.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- <HTML><HEAD><TITLE>Basic Wireless Settings</TITLE> -->
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=expires content=0>
<META http-equiv=cache-control content=no-cache>
<META http-equiv=pragma content=no-cache>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<LINK href="style.css" type=text/css rel=stylesheet>
<STYLE fprolloverstyle>A:hover {
COLOR: #00ffff
}
.small A:hover {
COLOR: #00ffff
}
</STYLE>
<SCRIPT src="common.js"></SCRIPT>
<SCRIPT language="javascript" type="text/javascript" src="capasg.js"></SCRIPT>
<SCRIPT language="javascript" type="text/javascript" src="share.js"></SCRIPT>
<SCRIPT language=JavaScript>
var EN_DIS = '1';
function SelWL()
{
var F=document.wireless;
var num=document.wireless.Mode.selectedIndex;
if (num == 0)
I = '0';
else
I = '1';
wl_enable_disable(F,I);
ShowFreq(num);
}
function ShowFreq(wlanmode){
var F=document.forms[0];
var channelAry;
/*if(wlanmode==2){
channelAry=new Array("5.180GHz-Channel36","5.200GHz-Channel40","5.220GHz-Channel44","5.240GHz-Channel48","5.260GHz-Channel52","5.280GHz-Channel56","5.300GHz-Channel60","5.320GHz-Channel64","5.745GHz-Channel149","5.765GHz-Channel153","5.785GHz-Channel157","5.805GHz-Channel161","5.825GHz-Channel165","Smart Select");
}
else{
channelAry=new Array("2.412GHz-Channel1","2.417GHz-Channel2","2.422GHz-Channel3","2.427GHz-Channel4","2.432GHz-Channel5","2.437GHz-Channel6","2.442GHz-Channel7","2.447GHz-Channel8","2.452GHz-Channel9","2.457GHz-Channel10","2.462GHz-Channel11","Smart Select");
}*/
if(document.wireless.layout.value=="de"){
channelAry=new Array("1 - 2,412 GHz","2 - 2,417 GHz","3 - 2,422 GHz","4 - 2,427 GHz","5 - 2,432 GHz","6 - 2,437 GHz","7 - 2,442 GHz","8 - 2,447 GHz","9 - 2,452 GHz","10 - 2,457 GHz","11 - 2,462 GHz","12 - 2,467 GHz","13 - 2,472 GHz","14 - 2,484 GHz");
}
else if(document.wireless.layout.value=="fr"){
channelAry=new Array("1 - 2,412GHz","2 - 2,417GHz","3 - 2,422GHz","4 - 2,427GHz","5 - 2,432GHz","6 - 2,437GHz","7 - 2,442GHz","8 - 2,447GHz","9 - 2,452GHz","10 - 2,457GHz","11 - 2,462GHz","12 - 2,467GHz","13 - 2,472GHz","14 - 2,484GHz");
}
else{
channelAry=new Array("1 - 2.412GHz","2 - 2.417GHz","3 - 2.422GHz","4 - 2.427GHz","5 - 2.432GHz","6 - 2.437GHz","7 - 2.442GHz","8 - 2.447GHz","9 - 2.452GHz","10 - 2.457GHz","11 - 2.462GHz","12 - 2.467GHz","13 - 2.472GHz","14 - 2.484GHz");
}
var i,oOption;
for(i=F.channelno.value;i>=0;i--){
F.Freq.options[i]=null;
}
if(F.Mode.value==5){
oOption=document.createElement("OPTION");
oOption.text=channelAry[5];
oOption.value=6;
F.Freq.options[0]=new Option(channelAry[5],6);
oOption=document.createElement("OPTION");
oOption.text=channelAry[11];
oOption.value=12;
F.Freq.options[1]=new Option(channelAry[11],12);
if((F.channel.value==6) || (F.channel.value=="12"))
F.Freq.value=F.channel.value;
else
F.Freq.value=6;
}
else{
for(i=0;i<F.channelno.value;i++){
F.Freq.options[i]=new Option(channelAry[i],(i+1));
}
F.Freq.value=F.channel.value;
}
}
function wl_enable_disable(F,I)
{
EN_DIS = I;
if( I == "0"){
choose_disable(F.SSID);
choose_disable(F.Freq);
choose_disable(F.wl_closed[0]);
choose_disable(F.wl_closed[1]);
}else{
choose_enable(F.SSID);
choose_enable(F.Freq);
choose_enable(F.wl_closed[0]);
choose_enable(F.wl_closed[1]);
}
if(parseInt(F.sesMode.value) == 1 && I != "0"){
choose_enable(F.B1);
choose_enable(F.B2);
}else{
choose_disable(F.B1);
choose_disable(F.B2);
}
}
function Set_SES_Short_Push()
{
var F = document.wireless
if(F.Mode.selectedIndex != 0 && F.OldWirelessMode.value != 0){
if(parseInt(F.sesMode.value) == 1){
if (confirm(hwireless.phase32)) {
F.submit_type.value = "Set_SES_Short_Push"
return true
}else{
return false
}
}else{
alert(hwireless.phase36)
return false
}
}else{
return false
}
}
function Set_SES_Long_Push(F)
{
if (confirm(hwireless.phase33)) {
F.submit_type.value = "Set_SES_Long_Push";
F.submit();
}else{
return false;
}
}
function to_submit(F)
{
if(F.SSID.value == ""){
alert(errmsg.err62);
F.SSID.focus();
return false;
}
F.submit();
}
function init()
{
var F = document.wireless
document.title=titlewireless.basicset;
F.save.value=sbutton.save;
F.cancel.value=sbutton.cancel;
var index = F.OldWirelessMode.value==0? 0:F.OldWirelessMode.value==3? 1:F.OldWirelessMode.value==1? 2:3
F.Mode.options[index].selected = true
SelWL();
}
></SCRIPT>
</HEAD>
<BODY onload=init()>
<DIV align=center>
<FORM name=wireless action="WBasic.tri" method=post>
<INPUT type="hidden" name="submit_type">
<TABLE cellSpacing=0 cellPadding=0 width=809 border=0>
<TBODY>
<TR>
<TD width=95><IMG height=57 src="UILinksys.gif" width=165
border=0></TD>
<TD vAlign=bottom align=right width=714 bgColor=#6666cc><FONT
style="FONT-SIZE: 7pt" color=#ffffff><FONT face=Arial><script>Capture(share.firmwarever)</script>:&nbsp;v1.02.0 &nbsp;&nbsp;&nbsp;</FONT></FONT></TD></TR>
<TR>
<TD width=808 bgColor=#6666cc colSpan=2><IMG height=11
src="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><script>Capture(bmenu.wireless)</script></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><script>Capture(share.productname)</script>&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>WRT54G</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>&nbsp;</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
style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; FONT-WEIGHT: normal; FONT-SIZE: 1pt; BORDER-LEFT: medium none; COLOR: black; BORDER-BOTTOM: medium none; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-VARIANT: normal"
align=middle bgColor=#6666cc>
<TD width=83 height=1><IMG height=10
src="UI_06.gif" width=83 border=0></TD>
<TD width=73 height=1><IMG height=10
src="UI_07.gif" width=83 border=0></TD>
<TD width=113 height=1><IMG height=10
src="UI_06.gif" width=83 border=0></TD>
<TD width=103 height=1><IMG height=10
src="UI_06.gif" width=103 border=0></TD>
<TD width=85 height=1><IMG height=10
src="UI_06.gif" width=100 border=0></TD>
<TD width=115 height=1><IMG height=10
src="UI_06.gif" width=115 border=0></TD>
<TD width=74 height=1><IMG height=10
src="UI_06.gif" width=79 border=0></TD></TR>
<TR>
<TD align=middle bgColor=#000000 height=20><FONT
style="FONT-WEIGHT: 700" color=#ffffff><A
style="TEXT-DECORATION: none"
href="basic.htm"><script>Capture(bmenu.setup)</script></A></FONT></TD>
<TD align=middle bgColor=#6666cc height=20><FONT
style="FONT-WEIGHT: 700" color=#ffffff><script>Capture(bmenu.wireless)</script></FONT></TD>
<TD align=middle bgColor=#000000 height=20><FONT
style="FONT-WEIGHT: 700" color=#ffffff><A
style="TEXT-DECORATION: none"
href="Firewall.htm"><script>Capture(bmenu.security)</script></A></FONT></TD>
<TD align=middle bgColor=#000000 height=20><FONT
style="FONT-WEIGHT: 700" color=#ffffff><A
style="TEXT-DECORATION: none"
href="Filters.htm"><script>Capture(bmenu.accrestriction)</script></A></FONT></TD>
<TD align=middle bgColor=#000000 height=20>
<P style="MARGIN-BOTTOM: 4px"><FONT style="FONT-WEIGHT: 700"
color=#ffffff><A style="TEXT-DECORATION: none"
href="Forward.htm"><script>Capture(bmenu.applications)</script> <BR>&amp;
<script>Capture(bmenu.gaming)</script></A>&nbsp;&nbsp;&nbsp;&nbsp;</FONT></P></TD>
<TD align=middle bgColor=#000000 height=20>
<P style="MARGIN-BOTTOM: 4px"><FONT style="FONT-WEIGHT: 700"
color=#ffffff><A style="TEXT-DECORATION: none"
href="Manage.htm"><script>Capture(bmenu.admin)</script></A>&nbsp;&nbsp;&nbsp;&nbsp;</FONT></P></TD>
<TD align=middle bgColor=#000000 height=20>
<P style="MARGIN-BOTTOM: 4px"><FONT style="FONT-WEIGHT: 700"
color=#ffffff><A style="TEXT-DECORATION: none"
href="StaRouter.htm"><script>Capture(bmenu.statu)</script></A>&nbsp;&nbsp;&nbsp;&nbsp;</FONT></P></TD></TR>
<TR>
<TD width=643 bgColor=#6666cc colSpan=7 height=21>
<TABLE borderColor=black height=21 cellSpacing=0 cellPadding=0
width=548>
<TBODY>
<TR align=middle>
<TD class=small width=220><FONT
style="COLOR: white"><script>Capture(wlantopmenu.basicset)</script></FONT></TD>
<TD width=1>
<P class=bar><FONT color=white><B>|</B></FONT></P></TD>
<TD class=small width=220><A
href="WSecurity.htm">&nbsp;<script>Capture(wlantopmenu.security)</script></A></TD>
<TD width=1>
<P class=bar><FONT color=white><B>|</B></FONT></P></TD>
<TD class=small width=220><A
href="WFilter.htm">&nbsp;<script>Capture(wlantopmenu.macfilter)</script></A></TD>
<TD width=1>
<P class=bar><FONT color=white><B>|</B></FONT></P></TD>
<TD class=small width=220><A
href="WAdv.htm"><script>Capture(wlantopmenu.advwireless)</script>
</A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE height=5 cellSpacing=0 cellPadding=0 width=806 bgColor=black border=0>
<TBODY>
<TR>
<TD borderColor=#e7e7e7 width=163 bgColor=#e7e7e7 height=1><IMG height=15
src="UI_03.gif" width=164 border=0></TD>
<TD width=646 height=1><IMG height=15 src="UI_02.gif"
width=645 border=0></TD></TR></TBODY></TABLE>
<TABLE id=AutoNumber9 style="BORDER-COLLAPSE: collapse" borderColor=#111111
height=23 cellSpacing=0 cellPadding=0 width=809 border=0>
<TBODY>
<TR>
<TD width=633>
<TABLE cellSpacing=0 cellPadding=0 width=633 border=0>
<TBODY>
<TR>
<TD width=156 bgColor=#000000 colSpan=3 height=25>
<P align=right><B><FONT style="FONT-SIZE: 9pt" face=Arial
color=#ffffff><script>Capture(wlanleftmenu.wirelessnet)</script></FONT></B></P></TD>
<TD width=8 bgColor=black height=25>&nbsp;</TD>
<TD width=6>&nbsp;</TD>
<TD width=7>&nbsp;</TD>
<TD width=8>&nbsp;</TD>
<TD width=156>&nbsp;</TD>
<TD width=262>&nbsp;</TD>
<TD width=15>&nbsp;</TD>
<TD width=15 background=UI_05.gif>&nbsp;</TD></TR>
<TR>
<TD align=right width=156 bgColor=#e7e7e7 colSpan=3
height=25>&nbsp;</TD>
<TD width=8 background=UI_04.gif height=25>&nbsp;</TD>
<TD width=21 colSpan=3 height=25>&nbsp;</TD>
<TD width=156 height=25>&nbsp;<FONT style="FONT-SIZE: 8pt"
face=Arial><script>Capture(wlansetup.networkmode)</script>:</FONT>
<INPUT type="hidden" name="channelno" value="11">
<INPUT type="hidden" name="OldWirelessMode" value="3">
</TD>
<TD width=262 height=25>&nbsp;&nbsp;<FONT face=verdana size=2><B><SELECT onchange="SelWL()" name="Mode" size=1>
<script language="javascript">
document.write("<OPTION value=0>"+share.disabled+"</OPTION>");
document.write("<OPTION value=3>"+wlansetup.mixed+"</OPTION>");
document.write("<OPTION value=1>"+wlansetup.bonly+"</OPTION>");
document.write("<OPTION value=2>"+wlansetup.gonly+"</OPTION>");
</script>
</SELECT></B></FONT></TD>
<TD width=15 height=25>&nbsp;</TD>
<TD width=15 background=UI_05.gif height=25>&nbsp;</TD></TR>
<TR>
<TD align=right width=156 bgColor=#e7e7e7 colSpan=3 height=25>&nbsp;</TD>
<TD width=8 background=UI_04.gif height=25>&nbsp;</TD>
<TD width=21 colSpan=3 height=25>&nbsp;</TD>
<TD width=156 height=25>&nbsp;<FONT style="FONT-SIZE: 8pt"
face=Arial><script>Capture(wlansetup.ssid)</script>:</FONT></TD>
<TD width=262 height=25>&nbsp;&nbsp;<INPUT
onblur="valid_name(this,'SSID',this.defaultValue)" maxLength=32 value="mjrouter"
name="SSID"></FONT></TD>
<TD width=15 height=25>&nbsp;</TD>
<TD width=15 background=UI_05.gif height=25>&nbsp;</TD></TR>
<TR>
<TD align=right width=156 bgColor=#e7e7e7 colSpan=3 height=25>&nbsp;</TD>
<TD width=8 background=UI_04.gif height=25>&nbsp;</TD>
<TD width=21 colSpan=3 height=25>&nbsp;</TD>
<TD width=156 height=25>&nbsp;<FONT style="FONT-SIZE: 8pt"
face=Arial><script>Capture(wlansetup.channel)</script>:</FONT>
<input type="hidden" name="channel" value="1">
</TD>
<TD width=262 height=25>&nbsp;&nbsp;<SELECT onfocus=check_action(this,0) name=Freq>
</SELECT></TD>
<TD width=15 height=25>&nbsp;</TD>
<TD width=15 background=UI_05.gif height=25>&nbsp;</TD></TR>
<TR>
<TD align=right width=156 bgColor=#e7e7e7 colSpan=3 height=25>&nbsp;</TD>
<TD width=8 background=UI_04.gif height=25>&nbsp;</TD>
<TD width=21 colSpan=3 height=25>&nbsp;</TD>
<TD width=156 height=25>&nbsp;<FONT style="FONT-SIZE: 8pt"
face=Arial><script>Capture(wlansetup.ssidbroadcast)</script>:</FONT></TD>
<TD width=262 height=25>
<TABLE id=AutoNumber17
style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-COLLAPSE: collapse; BORDER-RIGHT-WIDTH: 0px"
borderColor=#111111 cellSpacing=0 cellPadding=0 width=262
border=1><TBODY>
<TR>
<TD
style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none"
width=262 height=25>
<INPUT type=radio CHECKED value=1 name=wl_closed><B><script>Capture(share.enable)</script></B>
<INPUT type=radio value=0 name=wl_closed><B><script>Capture(share.disable)</script></B></TD></TR></TBODY></TABLE></TD>
<TD width=15 height=25>&nbsp;</TD>
<TD width=15 background=UI_05.gif height=25>&nbsp;</TD></TR>
<TR>
<TD align=right width=156 bgColor=#e7e7e7 colSpan=3 height=25>&nbsp;</TD>
<TD width=8 background="UI_04.gif" height=25>&nbsp;</TD>
<TD width=21 colSpan=3 height=25>&nbsp;</TD>
<TD width=418 bgColor=#ffffff colSpan=2 height=79>
<P align=center><a href="javascript:document.wireless.submit()" onclick="return Set_SES_Short_Push()"><INPUT type=image height=50 width=50 src="SES-button-color.gif" name=B2></a>
<BR><FONT style="FONT-SIZE: 8pt" face=Arial><B>
<SCRIPT>Capture(bmenu.statu)</SCRIPT>
:</B>
<script>Capture(wlansetup.defaults)</script>
</FONT></P></TD>
<TD width=15 height=25>&nbsp;<INPUT type="hidden" value="1" name="sesMode"></TD>
<TD width=15 background="UI_05.gif" height=25>&nbsp;</TD></TR>
<TR>
<TD align=right width=156 bgColor=#e7e7e7 colSpan=3 height=25>&nbsp;</TD>
<TD width=8 background="UI_04.gif" height=25>&nbsp;</TD>
<TD width=21 height=25 colSpan=3>&nbsp;</TD>
<TD width=418 bgColor=#ffffff colSpan=2 height=25>
<P align=center>
<SCRIPT>document.write("<input type=button name=B1 value=\"" + wlansetup.resetsec + "\" onClick='Set_SES_Long_Push(this.form)'>");</SCRIPT>
</P></TD>
<TD width=15 height=25>&nbsp;</TD>
<TD width=15 background="UI_05.gif" height=25>&nbsp;</TD></TR>
<TR>
<TD align=right width=156 bgColor=#e7e7e7 colSpan=3 height=25></TD>
<TD width=8 background=UI_04.gif height=25>&nbsp;</TD>
<TD width=21 colSpan=3 height=25>&nbsp;</TD>
<TD width=156 height=25>&nbsp;</TD>
<TD width=262 height=25>&nbsp;</TD>
<TD width=15 height=25>&nbsp;</TD>
<TD width=15 background=UI_05.gif height=25>&nbsp;</TD></TR>
<TR>
<TD align=right width=156 bgColor=#e7e7e7 colSpan=3 height=25></TD>
<TD width=8 background=UI_04.gif height=25>&nbsp;</TD>
<TD width=21 colSpan=3 height=25>&nbsp;</TD>
<TD width=156 height=25>&nbsp;</TD>
<TD width=262 height=25><INPUT type="hidden" value="en" name="layout"></TD>
<TD width=15 height=25>&nbsp;</TD>
<TD width=15 background=UI_05.gif height=25>&nbsp;</TD></TR>
</TBODY></TABLE></TD>
<TD vAlign=top width=176 bgColor=#6666cc>
<TABLE cellSpacing=0 cellPadding=0 width=176 border=0>
<TBODY>
<TR>
<TD width=11 bgColor=#6666cc height=25>&nbsp;</TD>
<TD width=156 bgColor=#6666cc height=25><FONT color=#ffffff><SPAN><br>
<script>Capture(hwireless.phase29)</script>
<b><A href="HWireless.htm" target=_blank><script>Capture(share.more)</script></A></b></SPAN></FONT></TD>
<TD width=9 bgColor=#6666cc
height=25>&nbsp;</TD></TR>
</TBODY></TABLE></TD></TR>
<TR>
<TD width=809 colSpan=2>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD width=156 bgColor=#e7e7e height=30>&nbsp;</TD>
<TD width=8 background=UI_04.gif>&nbsp;</TD>
<TD width=454></TD>
<TD width=15 background=UI_05.gif>&nbsp;</TD>
<TD width=176 bgColor=#6666cc height=58 rowSpan=2><IMG height=64
src="UI_Cisco.gif" width=176 border=0></TD></TR>
<TR>
<TD width=156 bgColor=#000000>&nbsp;</TD>
<TD width=8 bgColor=#000000>&nbsp;</TD>
<TD align=right width=454 bgColor=#6666cc>
<SCRIPT>document.write("<input type=button name=save" + " value=\"" + sbutton.save + "\" onClick=to_submit(this.form)>");</SCRIPT>
&nbsp;
<script language="javascript">
document.write("<INPUT type=reset onclick=window.location.replace('Wireless.htm') value="+sbutton.cancel+" name=cancel>")
</script>
&nbsp;&nbsp; </TD>
<TD width=15 bgColor=#000000
height=33>&nbsp;</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FORM></DIV></BODY></HTML>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment