Professional Documents
Culture Documents
This Guide Is Valid For Any Device Running Chilliwrt, Openwrt or DD-WRT Firmware
This Guide Is Valid For Any Device Running Chilliwrt, Openwrt or DD-WRT Firmware
This guide describes how to link a custom page into the hotspot process as ‘Splash Page’. The Splash Page is
the first page the user sees when connected to the hotspot and opening a browser. It is also known as the
‘redirect page’ as this is the page a user will be redirected to when she is not logged in and authenticated
by the hotspot.
Prerequisites: You must have a web server available to you that can host web pages of type .php, that is to
say web pages that can process php code and construct pages based on that code.
1) Create your custom pages
Create three web pages that will facilitate the login process. In our example these are called login.php,
success.php, and failed.php. You can change these names to whatever you as long as:
‐ You keep the .php file extension; and
‐ If you change the name of success.php to , say, sometingelse.php you must update the definition of the
page name in the code of the login.php page (refer to documentation within the login.php sample
page)
We recommend you use the files just as they are to get started and make changes to the content later.
Adapt the configuration section at the top of the login page; two fields must be defined. Explanations are
within the page code. Also, you may want to remove some of the buttons code that is not relevant to you.
For example:
‐ The guest access link should only be included if you have activated the hotspot’s guest access facility
(only relevant in conjunction with the purchase link);
‐ The purchase link should only be included if you sell Internet access online using the hotspot (mutually
exclusive to the next, the free access link);
‐ The free access link should only be included if you grant access to users for free after online
registration (mutually exclusive to the previous, the purchase link);
‐ The voucher link should only be included if you actually issue vouchers to your hotspot clients (free or
against fee)
‐ The login form link MUST always be included
The links or variables on the failed.php and success.php screen are optional but recommended practice.
Chillifire Hotspot Custom Splash Page Guide
This sets up you basic page. How the page actually looks like and how you style the links (e.g. as buttons)
using is entirely up to you and will not affect the working of the hotspot as long as you leave the top code
and the link code intact.
2) Change Hotspot Configuration
Log on to the firmware and go to Hotspot‐>Hotspot Configuration‐>Custom Splash Page
Enter your desired hotspot URL, where you have hosted your pages, in our example login.php, success.php
and failed.php.
Press Apply and Save.
You are done.