Community discussions

MikroTik App
 
RazorN
just joined
Topic Author
Posts: 9
Joined: Thu Feb 05, 2015 7:02 am

How to add hotspotuser to Active by script

Wed May 20, 2015 3:49 pm

Hi!!!
My situation:
I use hotspot with radius authentication? and dont want that users often goes to login page. one time in week to be good. So i use Hotspot Cookie. But this solution have one problem. after reconnect when user goes to any url(except https. https links before authentication not work) hу redirect to :
http://172.16.3.1/login?dst=http%3A%2F% ... ail.com%2F

with this content:
({ 'logged_in' : 'yes', 'link_login_only' : 'http://172.16.3.1/login' })

and only after this can go to internet, and onle after this his profile adds to hotspot active tab.
Now question:
is it abble using script or by another way(firewall rule) to add user(if he was on cookie) to active after his just connected to WiFi??

Who is online

Users browsing this forum: No registered users and 29 guests