3 <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
4 <link rel="stylesheet" href='stylemain.css' type='text/css'>
5 <link rel="stylesheet" href='colors.css' type='text/css'>
6 <script language="javascript" src="util.js"></script>
7 <script language="javascript">
9 var ses_enable = '<%ejGetWlJS(wlSesEnable)%>';
10 var ses_event = '<%ejGetWlJS(wlSesEvent)%>';
11 var ses_wds_mode = '<%ejGetWlJS(wlSesWdsMode)%>';
12 var ses_cl_enable = '<%ejGetWlJS(wlSesClEnable)%>';
13 var ses_cl_event = '<%ejGetWlJS(wlSesClEvent)%>';
14 var wlRefresh = '<%ejGetWlJS(wlRefresh)%>';
15 var wlInfo = '<%ejGetWlJS(wlInfo)%>';
16 var ssid = '<%ejGetWlJS(wlSsid)%>';
18 if ( wlRefresh == '1' ) {
19 var code = 'location = "wlsesrefresh.wl?wlRefresh=0"';
23 function updateCurSSID() {
24 if (document.getElementById) // DOM3 = IE5, NS6
25 document.getElementById("CurSSID").innerHTML = " Current SSID: " + ssid;
27 if (document.layers == false) // IE4
28 document.all.CurSSID.innerHTML = " Current SSID: " + ssid;
32 function wlSesInfoChange(enabled)
34 with ( document.forms[0] ) {
36 if( sesWdsMode.selectedIndex != 4 || ses_enable == '0' ) {
37 showhide("wlSesInfo", 1);
38 showhide("wlSesWdsInfo", 1);
39 showhide("wlSesClInfo", 0);
41 showhide("wlSesInfo", 0);
42 showhide("wlSesWdsInfo", 1);
43 showhide("wlSesClInfo", 1);
46 showhide("wlSesInfo", 0);
47 showhide("wlSesWdsInfo", 0);
48 showhide("wlSesClInfo", 0);
53 function wlSesCbChange() {
54 with ( document.forms[0] ) {
55 wlSesInfoChange(wlSesEnbl.value);
61 with ( document.forms[0] ) {
62 if ( ses_enable == '1' ) {
63 wlSesEnbl.value = "1";
65 wlSesEnbl.value = "0";
68 sesWdsMode.selectedIndex = ses_wds_mode;
69 wlSesInfoChange(wlSesEnbl.value);
74 function btnApply(mode) {
75 var loc = 'wlses.wl?';
76 with ( document.forms[0] ) {
77 if ( wlSesEnbl.value == "0" ) {
78 loc += 'wlSesEnable=0';
79 loc += '&wlSesEvent=0';
81 loc += 'wlSesEnable=1';
82 loc += '&wlSesEvent='+mode;
83 loc += '&wlSesWdsMode='+ sesWdsMode.selectedIndex;
86 if( sesWdsMode.selectedIndex == 0 || sesWdsMode.selectedIndex == 2 || sesWdsMode.selectedIndex == 3 || wlSesEnbl.value == "0") {
87 loc += '&wlSesClEnable=0';
89 loc += '&wlSesClEnable=1';
92 //alert('loc= "' + loc+ '" (EOM).');
93 var code = 'location = "' + loc + '"';
97 function btnSesWdsApply(mode) {
98 var loc = 'wlses.wl?';
100 with ( document.forms[0] ) {
101 if(!pattern.test(wlInfo) && sesWdsMode.selectedIndex == 4) {
102 sesWdsMode.selectedIndex = 2;
109 function btnClApply(mode) {
110 var loc = 'wlses.wl?';
111 with ( document.forms[0] ) {
112 if( sesWdsMode.selectedIndex != 4 ) {
113 loc += '&wlSesClEnable=0';
114 loc += '&wlSesClEvent=0';
116 loc += '&wlSesClEnable=1';
117 loc += '&wlSesClEvent='+mode;
120 //alert('loc= "' + loc+ '" (EOM).');
122 var code = 'location = "' + loc + '"';
129 <body onLoad='frmLoad()'>
131 <form onSubmit='return false'>
132 <b>Wireless -- SecureEasySetup(SES)</b><br>
134 This page allows you to configure wireless security by SecureEasySetup technology.
135 You may create a secured wireless (SES) network and add wireless clients to the secured network
136 one at a time after SecureEasySetup is enabled.<br>
139 <table border="0" cellpadding="4" cellspacing="0">
141 <td width="180">SES:</td>
142 <td valign="middle" align="center" width="30" height="30" >
143 <select name='wlSesEnbl' size="1" onChange='wlSesCbChange()'>
159 <table border="0" cellpadding="4" cellspacing="0">
161 <td width="180">Create SES network, add clients later:</td>
162 <td><input type=button value=' NewSESNW ' onClick='btnApply(3)'></td>
166 <table border="0" cellpadding="4" cellspacing="0">
168 <td width="180" >Create SES network and add a client:</td>
169 <td><input type=button value='NewSesNWAndOW(Short-Push)' onClick='btnApply(6)'></td>
173 <table border="0" cellpadding="4" cellspacing="0">
175 <td width="180" >Add a client to the current SES network:</td>
176 <td><input type=button value=' OpenWindow ' onClick='btnApply(4)'></td>
180 <table border="0" cellpadding="4" cellspacing="0">
182 <td width="180" >Reset to unsecured open network or abort the current registration:</td>
183 <td><input type=button value='ResetNWToDefault(Long-Push)' onClick='btnApply(7)'></td>
188 <div id='wlSesWdsInfo'>
190 SES has the following modes available:
192 Configurator mode: allow SES AP or SES client to retrieve security parameters from this device.
194 Configurator for SES Client: similar to Configurator mode, but allow only SES client.
196 Configurator for WDS only: similar to Configurator mode, but allow only SES AP.
198 Client mode: retrieve security parameters from an already configured SES AP to form a SES+WDS network.
200 Auto mode: automatically act as Configurator or Client.
204 To create WDS connection between 2 APs:
206 Long-Push on both APs to clean up their SES settings. Choose an AP to be the main AP, Short-Push on the main AP.
207 Wait 2 minutes for the registration period to end. Another alternative is to use the "NewSESNW" button above.
208 Now, short push on the main AP and the other AP in any order. This will create the secure WDS link between them.
210 <table border="0" cellpadding="4" cellspacing="0">
212 <td width="180">SES Mode:</td>
213 <td><select name='sesWdsMode' size="1" onChange='btnSesWdsApply(0)'>
215 Configurator for SES Client
221 Configurator for WDS only
228 <div id='wlSesClInfo'>
229 <table border="0" cellpadding="4" cellspacing="0">
231 <td width="180" >Join existing SES WDS network:</td>
232 <td><input type=button value='SesClGo(Short-Push)' onClick='btnClApply(1)'></td>
236 <table border="0" cellpadding="4" cellspacing="0">
238 <td width="180" >Reset to unsecured open network:</td>
239 <td><input type=button value='ResetNWToDefault(Long-Push)' onClick='btnClApply(4)'></td>