Koozali.org: home of the SME Server

Customising CoovaChilli

Offline abasel

  • ***
  • 74
  • +0/-0
Customising CoovaChilli
« 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

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Customising CoovaChilli
« Reply #1 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/
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.