Getting Configuration from RADIUS Server

One of the lesser used features of Coova Chilli (ChilliSpot) seems to be the radconfig stuff. This allows you to store settings in the RADIUS database instead of in the config files. You can even change settings while the server is running, and they will be reloaded roughly every hour (I believe). Documentation for this is rather sparse however.

Firstly, you need an Administrator user in your radcheck tables. For example, we’ll use radmin as our admin user with the password foobar.

Our radcheck table will look something like the following

Username Attribute OP Value
radmin Password := foobar
radmin Service-Type == Administrative-User

Our radreply table can now contain attributes that will configure the hotspot. It might look something like this.

Username Attribute OP Value
radmin ChilliSpot-Config += macpasswd=apples
radmin ChilliSpot-Config += uamallowed=mysite.com
radmin ChilliSpot-Config += uamallowed=sistersite.com
Share
 

3 Responses to ChilliSpot Config

  1. Hello, i have configured grasehotspot 2, the parameter nousergardendata was added automatically to the file /etc/chilli/local.conf; but every time i restart the server, it causes an error in the startup because of this parameter, i have to restart in single mode, remove this parameter then the server restarts correctly, how can i permanently disable that parameter?

    Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.