coova / coova-chilli

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

Chilli can't be started with nfcoova and chill_redir #100

Open geohuz opened 9 years ago

geohuz commented 9 years ago

Using the most recent github version(yesterday), compiled --with-nfcoova, and running with:

redir kname=on

But the log file is filled with full of lines: Oct 9 20:40:24 vyos coova-chilli[3799]: Having to re-launch chilli_redir... PID 16674 exited Oct 9 20:40:24 vyos coova-chilli[3799]: Having to re-launch chilli_redir... PID 16676 exited Oct 9 20:40:24 vyos coova-chilli[3799]: Having to re-launch chilli_redir... PID 16677 exited Oct 9 20:40:24 vyos coova-chilli[3799]: Having to re-launch chilli_redir... PID 16678 exited Oct 9 20:40:24 vyos coova-chilli[3799]: Having to re-launch chilli_redir... PID 16679 exited Oct 9 20:40:25 vyos coova-chilli[3799]: Having to re-launch chilli_redir... PID 16680 exited Oct 9 20:40:25 vyos coova-chilli[3799]: Having to re-launch chilli_redir... PID 16681 exited Oct 9 20:40:25 vyos coova-chilli[3799]: Having to re-launch chilli_redir... PID 16682 exited Oct 9 20:40:25 vyos coova-chilli[3799]: Having to re-launch chilli_redir... PID 16683 exited

Can somebody give me a hint on this?

gbaligh commented 8 years ago

Can you recompile coova with debug2 and debug options active. And attach the log, if possible.

nzamps commented 8 years ago

Shouldn't that be "kname chilli" in the config

gbaligh commented 8 years ago

kname is just the name of coova table in kernel module. I think it's for multi instances support. In @geohuz case, he must create rules for table 'on'

geohuz commented 8 years ago

I understand kname is a switch, like kname=on/off, so I have made a wrong usage?