Captive Portal Service Starting & Stopping from console
-
Hi all,
I need to start and stop captive portal service with cron, Because I want to share internet connection without any download/user limit during 20:00PM till 7:00AM. I couldn't find a way to stop and start captive portal service from console.Thanks
-
There isn't a single easy command that does so. You can check what functions get run when enabling and disabling CP entirely and put together a small script to do that.
-
when i tried to run the page to stop service from console via
php /usr/local/www/status_services.php mode=stopservice service=captiveportal
I got error :
i got Potential DNS Rebind attack detected, see http://en.wikipedia.org/wiki/DNS_rebinding Try accessing the router by IP address instead of by hostname.
Can you suggest me a way to do it? Thanks