I deploy CoovaChilli on my new configured openWRT firmware router.
opkg update opkg install coova-chilli opkg install kmod-tun
The problem is that every time I try to start chilli /usr/bin/chilli
I'm getting the following error:
coova-chilli[20987]: options.c: 181: could not generate configuration (/var/run/chilli.20987.cfg.bin)
I noticed that /var is a link to /tmp folder so I done the two following techniques to overcome with the problem but nothing:
- Ensure that it has permission to write at /var/run:
chmod a+rwx /var/run -R
- replace the /var link with a /var folder. (maybe a little risky!)
But nothing happened, so the problem is somewhere else, any hint accepted.
I found that the problem is the configuration:
UNDO_FILE=/var/run/chilli.$TUNTAP.sh
to
UNDO_FILE=/tmp/chilli.$TUNTAP.sh
And as I am working and changing things, I found out that when I have a misconfigurion at
/etc/chilli/defaults
then throws the same error.