Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: abasel on September 10, 2010, 11:43:14 PM

Title: Customising CoovaChilli
Post by: abasel on September 10, 2010, 11:43:14 PM
Quote
/opt/chilli/hotspotlogin-conf.pl  : This file contains some configuration for the hotspot (domain name, contact info, uamsecret, guestaccess). This file is templetized, so if you need to make some change, you should create a custom-template for /etc/e-smith/templates-custom/opt/chilli/hotspotlogin-conf.pl

I made a simple change and created folder /etc/e-smith/templates-custom/opt/chilli/ and put the file there  .... but what else do I do make the site use it?

Also I want to change some of the DB parameters but can't work out where to find them or how to access them
Title: Re: Customising CoovaChilli
Post by: janet on September 26, 2010, 04:05:38 PM
abasel

Quote
created folder /etc/e-smith/templates-custom/opt/chilli/ and put the file there  .... but what else do I do make the site use it?

See the template tutorial howto for guidance re expanding a specific template and restarting a specific service.
Immediately you can do
signal-event post-upgrade
signal-event reboot

which will expand the template and restart the service

Quote
Also I want to change some of the DB parameters but can't work out where to find them or how to access them

See the db command tutorial Howto for generic guidance.
This command
config show chilli
will show you what is set in the database, but to see what the default values are and to see what other db variables are possible, you will need to read the code in the template fragments for the coova-chilli contrib, in the location
/etc/e-smith/templates/opt/chilli/