FreeRadius session-time-left

Hi!

I am having some problems with the “session-time-left”-variable, I can’t make it work when using my FreeRadius central server.

I have opened port 1700 UDP to the NAS, activated “interim updates” and things like that, the FreeRadius server is set to remotely disconnect users etc when limit reached and all is working well. The only problem is that they only see how many minutes this current session has been online, not how many minutes that is left.

Does anyone have a solution for this?

Marcus

Are you returning “Session-Timeout” or “WISPr-Session-Terminate-Time” with the RADIUS Access-Accept when the user logs in?

I don’t know right now, how can I tell?
I’m using Radius Manager.

Normally, you would know. That is an entry in radreply for that user. Unless you are returning one of those values from the RADIUS server, the router will not know about it.

If there is a value in session-time-left, the time remaining will be displayed on the default status.html page. Mine does, and I use WISPr-Session-Terminate-Time.

You can see what is being sent and returned by enabling radius logging, then check the log after a login.

/system logging
add topics=radius,debug action=memory

Thanks for all your help!
I haven’t engaged time enough for all the details of the radius server so I didn’t know about these fields.
I will investigate why its not sending this as it is the most likely reason.

Thanks again!

you must enable this option in “system configuration”
Method of disconnection:
Automatic (NAS)

luck

Hi,

I have that checked already since otherwise the users would not be disconnected until next logon.

However - mine says “Disconnect: Remote” and that is working fine. Only the limits are not working.

Marcus

hello, have you solved this issue with session time left while using radiusmanager dma softlab?