<div dir="ltr">Hello & Merry Christmas.<div><br></div><div><br></div><div>I have managed to enable accounting after all and it seems that the module sqlcounter is loaded too.</div><div><br></div><div>Looking at the documentation <a href="https://freeradius.org/radiusd/man/rlm_counter.txt">here</a></div><div><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">The  rlm_counter  module  provides  a general framework to measure total data transferred in a given period. This is very useful in a 'Prepaid Service' situation, where a user has paid for a  finite  amount  of  usage and should not be allowed to use more than that service. </pre>This is perfect as I need exactly that.</div><div><br></div><div>It seems I have to change <span style="color:rgb(0,0,0);white-space:pre-wrap">count_attribute to data usage in order to measure the usage instead of time.</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Nonetheless, I'm very confused how I'm supposed to utilise this module. </span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">I can see the module is loaded when I run it as </span><font color="#000000"><span style="white-space:pre-wrap">freeradius -X.</span></font></div><div><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></div><div><font color="#000000"><span style="white-space:pre-wrap">But how do I set it up to allow each user only 3 GB of data usage within a month?</span></font></div><div><font color="#000000"><span style="white-space:pre-wrap">Or even for testing purposes 100KB on daily basis?</span></font></div><div><font color="#000000"><span style="white-space:pre-wrap">When the month or day has passed, then the user should be allowed access again.</span></font></div><div><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Which config file do I have to edit?</span><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></div><div><font color="#000000"><span style="white-space:pre-wrap"><br></span></font></div><div><font color="#000000"><span style="white-space:pre-wrap">Many Thanks for your advice,</span></font></div><div><font color="#000000"><span style="white-space:pre-wrap">Houman</span></font></div></div>