Search code examples
freeradius

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 ?


Solution

  • 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!