Like every other website on the planet, SmallNetBuilder uses cookies. Our cookies track login status, but we only allow admins to log in anyway, so those don't apply to you. Any other cookies you pick up during your visit come from advertisers, which we don't control.
If you continue to use the site, you agree to tolerate our use of cookies. Thank you!

Router Charts

Click for Router Charts

Router Ranker

Click for Router Ranker

NAS Charts

Click for NAS Charts

NAS Ranker

Click for NAS Ranker

More Tools

Click for More Tools

Wireless How To

Setting Up NoCatSplash

So that you end up with at least one working solution from this How To, I'll walk through setting up NoCatSplash.

Before configuring the settings, you need to create a web page (.html file) for the splash screen. You can then upload it to the router or host it on a website. After connecting to the hotspot, a user must click the button (such as I agree) on your splash screen before browsing the web.

Use code similar to the following to create a form on the splash page:

<p><b><font size="5">Welcome to $GatewayName!</font></b></p>
<p><b><font size="2">Read the following terms and conditions,
and hit the I Agree to proceed.</font></b></p>

 <p><font size="2">...</font></p>

<form name="login" method="post" action="http://192.168.1.1:5280/">
<input type="hidden" name="accept_terms" value="yes" />      
<input type="hidden" name="redirect" value="$redirect">
<input type="hidden" name="mode_login">
<input type="submit" value="I Agree">
</form>

You can use the $redirect variable to send users to a site of your choice (instead of the URL they originally tried to access) after they "authenticate" by clicking the "I Agree" button.

Another optional variable is $GatewayName, which displays the value of the Gateway Name (defined later in the settings) on the splash page.

Now you need to configure the settings:

Example of the NoCatSplash settings in DD-WRT.
Click to enlarge image

Figure 5: Example of the NoCatSplash settings in DD-WRT.

Gateway Name: This value can be displayed on the splash page when using the optional variable, $GatewayName.

Home Page: Enter your website address, if you have one.

Allowed Web Hosts: List of domains (separated by a single-space) that users can access before hitting the button. If the splash page is on a website, you must enter its domain.

Document Root: The directory on the router where the SplashForm (or splash webpage) is located. If you’re hosting the splash page on a website you can ignore this field.

Splash URL: Enter the webpage address of your splash page, if hosting on a website; otherwise leave blank if uploading to the router.

Exclude Ports: Specify TCP ports (such as 25 for SMTP) to block from the hotspot users. Separate each port number by a single-space.

MAC White List: List of MAC addresses (separated by a single-space) that have unrestricted access. You can for example, enter the MAC addresses of your radio cards so you are not blocked from any ports you’ve excluded.

Login Timeout: Specifies how often (in seconds) the splash screen is displayed. For example, you could set this to 86400 seconds, so every 24 hours the user will see the splash page and have to click the button again.

Verbosity: This specifies the amount of actions that’s written to the syslogd log. The default value of 5 logs most actions and should be fine for most situations. However to log everything set this to 10, or 0 to disable logging.

Route Only: When enabled, your router won’t run NAT. Unless you have a strictly routed network, the default setting (disabled) should be fine.

Figure 6 shows the end result of the splash page created with the code given earlier and the settings configured in Figure 5.

Example of the DD-WRT splash page

Figure 6: Example of the DD-WRT splash page.

More Wireless

Wi-Fi System Tools
Check out our Wi-Fi System Charts, Ranker and Finder!

Support Us!

If you like what we do and want to thank us, just buy something on Amazon. We'll get a small commission on anything you buy. Thanks!

Over In The Forums

Hi, Is there anyway to select LAN ports from 5-8 when doing Dual WAN?My LAN ports 1-4 are fried and so is the WAN port.Luckily, I was able to use the ...
I just put these two fans on the back of my AC86U router (left). The bigger one is 140mm and the smaller one is 120mm. These were spare fans from my ...
I decided to try to improve my home network by adding MOCA adaptors to reduce the number of devices connected to WiFi. My setup is pretty typical and ...
I have an ASUS AC-1900P bought at best buy and using in Japan.Initially my iphone does find the 5Ghz band but after a while stops recognizing the 5GHz...
HiBeem testing on two different providers (Nord, Express) and seem to be getting DNS leaks. It appears that I am connected to the correct server when ...

Don't Miss These

  • 1
  • 2
  • 3