Hi All,
I’m trying to create a simple hotspot system that ties into another API so a username is added into the database and the user can then log in and receive one hour of access before they are disconnected and unable to reconnect. Can anyone help me with what i should be sending in the Access-Accept to do this? I have a feeling it is not that simple, though any help would be appreciated.
Thanks,
Jim
Ok, worked this out (for anyone wondering i was putting the Session-Timeout attribute in the radcheck table rather than radreply).
I now have another question - is there something i can put in my radiusd.conf file or similar so that if the users Acct-Session-Time is more than or equal to their Session-Timeout they cannot log in. I understand the principles here but i’m not sure of the actual code i would need.