Building a Wide-area Linux-based Wireless Network, part 2 - page 2
Captive Portal Options
If you don't want to require the hotspot users to login or pay for the service, then using the simple Open-Mesh captive portal should be fine. After logging into your Dashboard, select the SSID #1 tab and make sure Open is marked for the Captive Portal Option. Then scroll down and mark the Enabled checkbox for the Splash Page option.
Figure 1 shows the settings for the internal captive portal.
Before changing any other settings, you should save these: click the Update Network Settings button on the top.
If you want to send the users to a certain Web site after they pass the splash screen, enter a address for the Redirect URL. This is useful, for example, when only displaying the terms and conditions (disclaimer) on the splash page. Then you can still display information about your business or location by taking them to your site. However, it can be very convenient for the
Other Stories on LinuxPlanet
Next, you can set the Client Idle Timeout and Client Force Timeout. One day (or 1440 minutes) is probably fine for both, forcing them to see the splash screen at least every 24 hours. Now you can set the download and upload limits. This is great if you are going to use the private SSID or the same Internet connection. You can try to prevent users from taking all the Internet power or speed, for you and the users' sake. For example, if you have a cable connection that runs up to 4,500 Kbits/sec, you might set the throttle to 400 Kbits/sec, giving the hotspot users speeds compared to traditional DSL connections.
You probably want to leave the Access Control List alone, unless you want to have complete control over who connects. This requires logging into the Dashboard and inputting the MAC address of a device every time you want a new one to connect.
Before you leave the main SSID #1 page, be sure to click the Update Network Settings button on the top to save the settings.
The default splash page template is pretty slick looking, as you can see in Figure 2. However, it is fully customizable and there's a built-in editor. Click the Edit Splash Page button. Then you can make text and formatting changes to the default template, use the tools to make one from scratch, or paste HTML code into the editor when in the Source view. You can't include images or content from the Internet or link to items on the Web since access is blocked until the user passes the splash page. Most captive portals have a walled garden feature where you can input domains to unblock, however, this simple one doesn't. Nevertheless, you can include images or media by uploading it via the editor.
Stay tuned--in the remaining part, we'll experiment the CoovaOM captive portal. Then before we do the install, we'll look into a Web filtering solution.
Eric Geier is an author of many computing and networking books, including Home Networking All-in-One Desk Reference For Dummies (Wiley 2008) and 100 Things You Need to Know about Microsoft Windows Vista (Que 2007).
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 5Linux Top 3: Linux from Scratch, Ubuntu 14.01 Beta and Arch Updates