Requiring a Code for Access
How to use the guest authentication system to generate and use time-limited access codes.
Navigate to the guest authentication system overview.
Name your new guest authentication system.
For more information on basic authentication system settings, see the online documentation chapter titled "Creating a new Authentication System".
Configure guest authentication settings.
- Leave "Allow DHCP login?" unchecked since you want users to log in via captive portal.
- Check "Require an Access Code" to force users to enter a valid access code before logging onto the internet.
- Select a "Guest Expiration Interval" if you want to set an amount of time after which the user will need to log in again. This is useful if you have an advertising-driven site and want to force periodic viewing of the captive portal.
- Select "Guest Blackout Period" if you want to set an amount of time during which users will be prevented from logging in again after their initial session expires (based on client MAC address).
- Check "Display Greeting?" if you want to show a greeting on the captive portal's login form.
- Enter text or HTML into the "Greeting Text " field. This text is show above the login field/button.
- Enter text or HTML into the "Proceed Prompt" field. This text is shown to the left of the login button.
- Enter text into the "Proceed Label" field. This will appear in the login button. You have complete control over the appearance of the login button. See the online documentation chapter titled "Advanced Captive Portal Techniques" for more information.
Click "Update Configuration" to apply your new settings.
Adding access codes one at a time.
View your access codes.
It's easy to search for specific access codes or groups of codes.
IMPORTANT: use the percent (%) symbol as a wild-card character to enclose the string you are searching for. For example, if you want to find all of the codes that include "VB", your search would be "%VB%. Searches are case sensitive.
If you need to delete an access code, select it, then click "Delete Selected Codes".
Create access codes in a spreadsheet.
Generating random access codes.
The web site www.random.org is a useful place to generate any number of random access codes.
Formatting access code dates.
Save your access code spreadsheet as a csv file.
Upload your access codes to SputnikNet.
Review your new access codes.
Access code summary.
Apply your guest authentication system to one or more captive portals.
Apply the captive portal to one or more Sputnik-powered devices.
Select a Sputnik-powered device ("router"), and choose a captive portal from the "Portal" pop-up menu. In this example, we're applying the Transfair 1 captive portal to the Sputnik-powered device named "Transportation Trade Show East". The codes we generated will now be required for network access for users connecting to this Sputnik-powered device.