I am on a bandwidth-restricted connection (satellite). To manage
this, I have everyone on a hotspot running two separate Users in
the Hotspot setup - one that runs all the time (Resident), and
one that is enabled for 3 hours in the morning and 3 in the evening
(Guest). Both of them have daily data limits and session limits to
keep folks from “parking” their device and having it spew all kinds
of stuff eating up bandwidth.
I manage the Guest access with scripts that run at the proper times
with commands like:
/ip hotspot user enable Guest
/ip hotspot user disable Guest
where Guest is a Hotspot User entry. This works fine except for a user
who is logged in when the script runs to disable - that user can still
stay on the system until the session time limit expires.
I would like to log all users on the Guest account ONLY off the network
when the script runs to disable the Guest user.
I am aware of the
/ip hotspot active remove
command but need it to do very specific things:
Log out all users on the Guest account when the script runs while
leaving any users on the Resident account unaffected.
Possible?
Thanks.