Installation guide
Network Setup 4-47
RFS6000#dir flash:/hotspot/wlan2/
Directory of flash:/hotspot/wlan2/
-rw- 6383 Wed Sep 24 12:44:09 2008 header_bg.png
-rw- 18320 Wed Sep 24 12:23:21 2008 bg_nav.jpg
-rw- 2456 Wed Sep 24 12:39:28 2008 logo.png
-rw- 1512 Wed Sep 24 12:38:16 2008 fail.html
-rw- 3866 Wed Sep 24 12:23:20 2008 bg_footer.jpg
-rw- 1601 Wed Sep 24 12:38:15 2008 welcome.html
-rw- 672 Wed Sep 24 12:23:20 2008 bg_body.jpg
-rw- 2688 Wed Sep 24 12:21:50 2008 mainstyle.css
-rw- 2608 Wed Sep 24 12:38:15 2008 login.html
Custom Pages
The critical required components for a customized login, welcome and failed page includes:
Login Page
The login.html page is presented to all unauthenticated users when they connect to the hotspot. The critical
part of this login page is a HTML form which must be included to present the username and password to the
switch.
The following examples show both raw and formatted HTML. You‘ll need to put this in a table somewhere
in the custom login page and include text, such as username/ password etc.
Raw HTML Example
<form name="frmLogin" id="frmLogin" action="/cgi-bin/hslogin.cgi" method="POST" >
<input type="text" size="20" name="f_user">
<input type="password" size="20" name="f_pass">
<input type="submit" name="submit" value="Log In">
</form>
Formatted HTML Example
<table border="0">
<form name="frmLogin" id="frmLogin" action="/cgi-bin/hslogin.cgi" method="POST" >
<tr><td><b>Username:</b></td><td><input type="text" size="20" name="f_user"></td></tr>
<tr><td><b>Password:</b></td><td><input type="password" size="20" name="f_pass"></td></tr>
<tr><td colspan="2" align="center"><input type="submit" name="submit" value="Log In"></td></tr>
</form>
</table>
Welcome Page
The welcome.html page displays upon successful authentication. On the welcome page, you’ll want to
include a simple welcome message, as well as the following URL allowing users to manually disconnect from
the hotspot.
<a href="/cgi-bin/hslogout.cgi">Disconnect</a>