HotSpotLogin.rb

Reimplementation in Ruby/Sinatra of the legacy hotspotlogin.cgi script used to authenticate users against ChilliSpot/RADIUS to provide a Captive Portal environment.

This one is strongly based on the CovaChilli JSON API .

Install via RubyGems

http://rubygems.org/gems/hotspotlogin

Usage

http://rubydoc.info/gems/hotspotlogin/file/README.rdoc

Code

http://github.com/gderosa/hotspotlogin.rb

(What you find here is just a mirror of the GitHub repo).

Features

  • You can customize logo, favicon, headline, footer etc.
  • End users get network usage statistics. Auto-refresh interval is configurable by the Admin. Moreover, an auto-refresh is done:
    • when the user logout (so she gets a sort of "summary")
    • at a RADIUS configured Session-Timeout or Idle-Timeout
  • Support for RADIUS Reply-Message

Screenshots

logged_in.jpg (46.5 kB) VEMAR Development, 11/23/2010 06:34 pm

logged_out.jpg (39.7 kB) VEMAR Development, 11/23/2010 06:51 pm

logged_out2.jpg (47.2 kB) VEMAR Development, 11/23/2010 06:51 pm