Installed coova-chilli 1.3.1-svn on Ubiquiti Unifi AC-Lite AP running OpenWrt 18.06.2. When trying to launch chilli with the command:
chilli --debug --fg
I am always getting the following error:
coova-chilli[27966]: options.c: 181: could not generate configuration (/var/run/chilli.27966.cfg.bin), sleeping one second
I have been stuck in this bug for so long. I tried doing changes in the configuration file, installing and reinstalling the coova-chilli package with no avail.
I think you have to run chilli for a first time as a service using
/etc/init.d/chilli start
command.Below is a working chilli init.d service code. If you dont have service startup file, you will do a Copy and paste the below code inside "/etc/init.d/" as a file name "chilli". Then edit the paths for your configuration.
Make sure you installed daemon.If not it shows deamon not found.so install it.