Igor Karolesky
Igor Karolesky

Reputation: 75

Setting up freeRadius accounting

I'm completely new to this. My accounting data only update when the user disconnect i want to know how to set up a acct-interim-interval to harvest the acct data without needing to disconnect my users. I have like 2k users How do i do that ?

Upvotes: 2

Views: 4250

Answers (3)

Igor Karolesky
Igor Karolesky

Reputation: 75

Go to your radgroupreply table:

Add a row

ID: Auto increment

groupname: Name of the group that you want to monitor (use accounting without disconnecting users)

attribule: Acct-Interim-Interval

op: := (Note-> it's := not = not == just :=)

value: Time in seconds of your updates (Default is 60 or 120 secs i guess)

PS: You also need to enable Accouting inside your mikroktik. Go to PPP menu -> Secrets -> PPP Authentiction&Accouting and select Accounting -> Select Use Radius and Accounting

Now you are ready to go!

Upvotes: 4

Radhakrishna Rayidi
Radhakrishna Rayidi

Reputation: 47

Go to IP > Hotspot > Server Profiles >

Double click on your profile and then select RADIUS tab, under this tab you'll find Accounting option just tick it and you'll find Interim update underneath you can enter any value but recommended value is between 00:01:00 to 00:09:00.

Upvotes: 0

Prathmesh
Prathmesh

Reputation: 191

Looks like acct-interim-interval is not set when the user is authenticated. Most of the cases acct-interim-interval is 180 seconds that means Freeradius is receiving accounting request of every user in 180 seconds and not required to user logout.

Which captive portal you are using? Captive portal send acct-interim-interval or u can configure it in Freeradius default configuration file.

Upvotes: 0

Related Questions