its a weird world we live in !
Fix the root cause that is making issue , dont always go for workarounds
WORKAROUND :
Add this in in Hotspot > User Profile > Default > Scripts > On Login)
1
2
3
4
5
6
7
8
9
|
# Check if this hotspot user is already logged in on PPPOE on same mikrotik, then kick HOTSPOT :local uname $user; :local u; :foreach u in=[/ppp active find name=$user ] do={ :log warning "$user ID is already active in pppoe. Now disconnecting from HotSpot ... Done!" :foreach i in=[/ip hotspot active find user=$uname] do= { /ip hotspot active remove numbers=$i; } } |
.
With some modification you can add script in pppoe login profile as well, which will check if user is already active in hotspot then kick pppoe or hs user.
Comments
0 comments
Please sign in to leave a comment.