[lime-dev] Fwd: [Nodogsplash] LuCI page for configuring Nodogsplash

NicoEchániz nicoechaniz at altermundi.net
Wed May 29 16:37:50 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maybe this can be of some use to us... it would also be an excuse to
interact with the Commotion guys.

cheers,
Nico

- -------- Original Message --------
Date: Wed, 29 May 2013 10:03:56 -0400
From: Dan Staples <danstaples at opentechinstitute.org>
To: nodogsplash at ml.ninux.org
Subject: [Nodogsplash] LuCI page for configuring Nodogsplash

Hi all,

As part of another project, I created an OpenWRT LuCI page for
configuring Nodogsplash (similar to luci-app-splash). It lets the
administrator set leasetime, which interfaces/zones to captive portal,
whitelist and blacklist MACs, whitelist IP ranges, and set the splash
page text. It's certainly not all the Nodogsplash options, but enough
for a simple setup.

The Nodogsplash default splash page I include also uses a simple
javascript redirect to point to a LuCI-created splash page, which allows
you to use your router's web interface theme and include LuCI
headers/footers and whatnot on the splash page.

Just wanted to throw it out there in case it would be of use to anyone.
The source is here: https://github.com/opentechinstitute/commotion-splash

I would love feedback on it if anyone has any. I also haven't tried it
on vanilla Attitude Adjustment, I've only used it as part of the
Commotion OpenWRT-based firmware. So the one caveat is that it depends
on a small lua file being present in /usr/lib/lua/, which can be found
here:
https://github.com/opentechinstitute/luci-commotion/blob/master/luasrc/commotion_helpers.lua

cheers,
Dan

- -- 
Dan Staples

Open Technology Institute
https://commotionwireless.net

_______________________________________________
Nodogsplash mailing list
Nodogsplash at ml.ninux.org
http://ml.ninux.org/mailman/listinfo/nodogsplash


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAEBAgAGBQJRpi7dAAoJEPHORz17N0TFOKYIANRQuLr74RU+H0rtXa26KInh
cWOLlrYLi6sjB02NFL1kID7C2pVaWV+F/oYghTs//Z9PZM1EwmqP3OZwm4mB4Vni
EWxN8Ol+Mlf2XVJkntAlSNEShzNFrt9VDt6dz1+eJ43Pwy21IYFdJ1wfXpKvkRQ5
/UkajGkAKk5Pl2jAy7r3WBwIUh74KlpyklEQvQlkbWdTZk1SezErci2HbTGo5VLz
MI69cYtoHNLcDH8ChHQAooTCnTH3OgWEte2t6ZMZBcz03hFpV91PIb+HlKBBtLpS
zrZWDctHal5hoKP37wv582nLPWClr9onc+AtAHs7UTESNI5798xf+5B/S3qjOR4=
=qqdW
-----END PGP SIGNATURE-----



More information about the lime-dev mailing list