Do you need a logout for your hotspot?

Hi,

One of the problems of hotspot is that user remains connected until you press the “logout” button (or other timeout/idle counters). This effect annoying especially when you manage school networks: the student of the second hour get computer still connected to the Internet because previous student does not have correctly logged out but simply “logout of MS windows”.

If you are looking for a solution here is the link:

https://bitbucket.org/vittorezen/routeroslogout/overview

It is a small program written in C that logs out from all hospot using the ip default gateway.

Just put this executable in scripts folder that are run when user log in and you’re done. Login scripts are preferred to logout scripts because these scripts are obligatory points of passage for every new user using the workstation.


Italian version on my blog: http://www.zen.pn.it/2016/01/hotspot-logout/

Forks bitbucket repository and make your changes and improvements.

Thanks.
v.