Community discussions

MikroTik App
 
makkan
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Mon Jul 26, 2010 12:38 am

FreeRadius session-time-left

Thu Sep 13, 2012 7:01 pm

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
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: FreeRadius session-time-left

Thu Sep 13, 2012 7:21 pm

Are you returning "Session-Timeout" or "WISPr-Session-Terminate-Time" with the RADIUS Access-Accept when the user logs in?
 
makkan
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Mon Jul 26, 2010 12:38 am

Re: FreeRadius session-time-left

Thu Sep 13, 2012 7:29 pm

I don't know right now, how can I tell?
I'm using Radius Manager.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: FreeRadius session-time-left

Thu Sep 13, 2012 7:40 pm

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
 
makkan
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Mon Jul 26, 2010 12:38 am

Re: FreeRadius session-time-left

Fri Sep 14, 2012 12:35 am

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!
 
alternet
just joined
Posts: 1
Joined: Wed Jun 16, 2010 6:28 am

Re: FreeRadius session-time-left

Wed Jan 15, 2014 3:19 am

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

luck
 
makkan
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Mon Jul 26, 2010 12:38 am

Re: FreeRadius session-time-left

Fri Jan 17, 2014 12:54 pm

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
 
User avatar
amb3r
just joined
Posts: 16
Joined: Fri Oct 31, 2014 8:35 am

Re: FreeRadius session-time-left

Sun Aug 22, 2021 11:22 am

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

Who is online

Users browsing this forum: AshuGite and 22 guests