coova / coova-chilli

CoovaChilli is an open-source software access controller for captive portal hotspots.
Other
518 stars 260 forks source link

Could not generate configuration #387

Open alonsodelaq opened 7 years ago

alonsodelaq commented 7 years ago

Hello,

When I run (as root) chilli -c /etc/chilli/config (as a copy of defaults with my configuration) I get the following error:

coova-chilli: unrecognized option '--HS_WANIF=enp3s0' chilli[1836]: could not generate configuration (/usr/var/run/chilli.1836.cfg.bin), sleeping one second chilli[1836]: PID 1836 reloaded binary options file

Please, I'r really appreciate your help.

Thanks in advanced.

gbaligh commented 7 years ago

Hi,

Could you share your configuration file ? It seems that something is missing, and the HS_WANIF is definitely not a direct option to chilli !!

gbaligh commented 7 years ago

Try : /etc/init.d/chilli start

ajanta2689 commented 6 years ago

Hello,

If you are passing an argument for -c, the file should be chilli.conf. "config" file copied from "defaults" generates three conf files main.conf, hs.conf and local.conf which are included in chilli.conf.

For only generationg the mentioned three file here's the command, /etc/init.d/chilli radconfig

Hope it helps !!

brooqs commented 4 years ago

Hello I try to install Archlinux but the Archlinux using systemd how to run initscript?

hel8er commented 2 weeks ago

Hello,

When I run (as root) chilli -c /etc/chilli/config (as a copy of defaults with my configuration) I get the following error:

coova-chilli: unrecognized option '--HS_WANIF=enp3s0' chilli[1836]: could not generate configuration (/usr/var/run/chilli.1836.cfg.bin), sleeping one second chilli[1836]: PID 1836 reloaded binary options file

Please, I'r really appreciate your help.

Thanks in advanced.

I got same problem. Any solution? Iinstalled chilli from github repo on debian 12. Chiili throws error for every config option of default config

sevan commented 2 weeks ago

Hello,

If you are passing an argument for -c, the file should be chilli.conf. "config" file copied from "defaults" generates three conf files main.conf, hs.conf and local.conf which are included in chilli.conf.

For only generationg the mentioned three file here's the command, /etc/init.d/chilli radconfig

Hope it helps !!

Does this help ^^

hel8er commented 2 weeks ago

Hello, If you are passing an argument for -c, the file should be chilli.conf. "config" file copied from "defaults" generates three conf files main.conf, hs.conf and local.conf which are included in chilli.conf. For only generationg the mentioned three file here's the command, /etc/init.d/chilli radconfig Hope it helps !!

Does this help ^^

Nothing( LOG