1

(1 replies, posted in Chillispot Configuration)

SOLVED : it was wrong the way i was shutting down chillispot at my init script

Changed :
killall -KILL chilli > /dev/null 2>&1

to :

killall -TERM chill > /dev/null 2>&1
sleep 2
killall -KILL chilli > /dev/null 2>&1

Hello,
i have configured chiilispot to run a script at ipup and another one at ipdown. When i start chillispot the script at "ipup" directive runs but when i stop it the other one doesn't run.
I turned off tun interface manualy (ifconfig tun0 down) to see what happens but nothing.
Any clues?

Thanx in advance

You must configure your apache to use the SSL protocol
You need a self-signed SSL certificate and then configure the apache vhost to use it

Yeah I think it is debian package because as you can see chillispot is running with PID [3255] and then crashes [segfault] and after that restarts (PID 2840). Try installing from source or try the 'sid' version of the debian package.

By the way I don't see in your chilli.conf the parameter : radiusathport - the port chilli uses to authenticate with freeradius

5

(7 replies, posted in Chillispot Configuration)

This one is in php too and it is a bit more "clean"

http://www.hotspot-ruhr.de/hotspot/doc/hotspotlogin04.php.txt

"kernel: chilli[3266]: segfault" doesn't look very good..
Try the debian package on sid or try to compile it from source...Maybe there is some bug in the 64-bit version..i dunno

If it is not the package's fault check the following:

1) Have you checked/configured the hotspotlogin.cgi??

2) Look the syslog when you are trying to login.Or post any errors from the syslog.
(Before trying yo login run:   tail -f /var/log/syslog and watch the output as you try to login)

3) Check your apache log to see if there is an error at the cgi script in case you modified it and you forgot something

"Someone said that the client IP (***.***.***.***) should be the ip of the AP (ie WRT54GL)"
Yes this is right, You don't call directly the login cgi script but when you are trying to access a web page chilli redirects you to the login cgi script to login
I use freeradius and chillispot that way and it's working flawlessly. Maybe u have another misconfiguration in freeradius??