OpenWrt Forum Archive

Topic: Anyone built a httpd/cgi self contained hotspot

The content of this topic has been archived on 5 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

Are there are self-contained httpd/cgi hotspot apps that keep the whole thing on the wrt, and verify users against a flat file ?

iptables redirect to http cgi
login , alter iptables

Been using wifidog as a captive portal, so perhaps could have that call an onboard cgi auth server.

Ian

To what reason would you like to that?

If you just wanna show a splash page take nocatsplash ...

If you wanna have a hotspot network with more advanced features (ie. to manage captive portal content) there is no other way but using a public auth server ...

Yes people have been fiddling with this off and on for several years. Most people try the hotspot-in-1-box then run into the limits of the box and go back to a distributed system.  It's quite difficult to get all the pieces running well in a tiny router with it's very limited resources.  RADIUS is one of the frequent complaints, it runs multiple processes and was designed running on a full OS and serving hundreds of users on dialup servers, and supports many attributes that you don't need for a hotspot. RADIUS is too fat, but no one has sat down to do a "light" version so far as I know.  Alternative would be coding your hotspot to use a flat-file for authentication.

(Last edited by vincentfox on 17 May 2006, 21:53)

The discussion might have continued from here.