There are logon / logoff scripts available with the HotSpot (I wish they were available with PPPoE too!) What you are describing should be done by the radius server. Radius server recieves an access request, OKs it, runs a script on the NAS (Mikrotik in this case) to do whatever you want. When the ...