[CoovaChilli] Configuration files in coovachilli

Hrishikesh Barman hrishikeshbman at gmail.com
Fri Mar 8 14:08:43 GMT 2019


Hello,

I am using: https://aur.archlinux.org/packages/coova-chilli-arch/

I was trying to get coovachilli working with hostapd, following the man pages and the various tutorials on the web
I guess there are two ways to configure coovachilli:

1. /etc/chilli.conf
2. /etc/chilli/defaults --> /etc/chilli/config

So when and how are these configuration files used.

It's apparent that the syntax for the configuration files are different, but a lot of the configuration options are the same:

For eg.
/etc/chilli/config:
> HS_UAMHOMEPAGE=http://\$HS_UAMLISTEN:\$HS_UAMPORT/www/coova.html

/etc/chilli.conf:
> uamhomepage https://192.168.43.68/welcome.html

Why are there two different configuration files here?




Another issue I faced was the changing the DHCP pool and NAS-Identifier:
Following is the radius log when coovachilli is started:

> Ready to process requests
> (0) Received Accounting-Request Id 1 from 127.0.0.1:38192 to 127.0.0.1:1813 length 118
> (0)   ChilliSpot-Version = "1.4"
> (0)   Attr-26.14559.10 = 0x00000002
> (0)   Event-Timestamp = "Mar  8 2019 19:06:26 IST"
> (0)   Acct-Terminate-Cause = 0
> (0)   Acct-Status-Type = Accounting-Off
> (0)   NAS-Port-Type = Wireless-802.11
> (0)   Calling-Station-Id = "00-00-00-00-00-00"
> (0)   Called-Station-Id = "1C-39-47-FE-C0-09"
> (0)   NAS-IP-Address = 192.168.182.1
> (0)   NAS-Identifier = "nas01"

I found a related thread to the DHCP pool here () but I am not sure about the NAS-Identifier.

HostAPd has a option to set nas_identifier as follows:
> nas_identifier=w_ap

I think there should be some way to tell coovachilli to use a differnt NAS-Identifier than nas01


Best
Hrishikesh Barman
GPG Key: 286783F83BB6403B77143C3673DD3094CD25F1CF
https://geekodour.github.io


More information about the CoovaChilli mailing list