[Chilli] Coova Chilli with no login

Ryan Day ryan.day at cirrusworks.net
Mon Jan 2 15:10:52 UTC 2012


On 01/02/2012 10:00 AM, Fernando Macedo wrote:
> Is there any to use Coova Chilli without login to any user? I want to
> use it just to have the connections shaped and have accounting.
>


You can create a radius user with your desired bandwidth settings, and
have your login page autoredirect to your hotspotlogin script with that
radius user's credentials. There will be a slight delay while the
redirect happens, but users won't be asked for credentials when logging
in. I use this at one customer site, however I had to implement a hacky
workaround to handle browser-less devices.

<script type="text/javascript">
   function subform() {
    document.logonform.submit();
   }
   setTimeout(subform, 500);
</script>

<form name="logonform" method="POST" action="http://host/hotspotlogin.php">
  <input type="hidden" name="UserName" size="20" maxlength="255"
id="UserName" value="raduser">
  <input type="hidden" name="Password" size="20" maxlength="255"
value="radpass">
</form>


More information about the Chilli mailing list