On Tue, 1 Jun 2004, Rick Smith wrote: > > OK, I have several Mikrotik based hotspots out there. They auth users > via RADIUS. I'm now running FreeRadius 1.0.0. > > I right now can auth users on them via FreeRadius - works great - and > I'm using MySQL which is even better. > > Only problem is, right now they all get non-expiring sessions when they > paid for half-hour increments :) > > Mikrotik expects "Session-Timeout" back as a clue on when to kick the > user to pay for more time. > > How do I tell FreeRadius that "User x" bought 15 minutes on a hotspot, > and tell Mikrotik to kick him when his time's up ? > > I understand about putting the Session-Timeout value in the radcheck > table - that works. Just need to figure out how to update that > Session-Timeout value every time the user logs in and out ....
Check out the rlm_counter module > > > Thanks, > > Rick > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 210 7721861 'Go back to the shadow' Gandalf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

