<div dir="ltr"><div><div>i have set the quota limit attribute to a user<br></div>What i get from queries.conf files is that every time a new record is added, it is putting in 0 for acctinput and acctoutput octets<br></div>Does that need to be changed some how?  <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 30, 2014 at 2:38 PM, "Edvin Seferovic | Kolpinghaus St. Pölten" <span dir="ltr"><<a href="mailto:edvin.seferovic@kolp.at" target="_blank">edvin.seferovic@kolp.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You should run freeRadius in debbuging mode and look what attributes are sent to NAS. I have a feeling that you have "hard-coded" the limit which is sent back to the NAS instead of sending the limit minus quota usage (which is again read from the db).<br>
<br>
Basically, check you SQL configuration (as Alan DeKok already wrote).<br>
<br>
Kind regards,<br>
E:S<span class=""><br>
<br>
On 30.10.2014 08:14, Abdullah wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Sorry my problem is persisting. I need your help. Kindly reply please<br>
I have Set up qouta of 5GB for a user<br>
He downloads 2 GB and disconnects<br>
When he logins again, he should disconnect after 3GB but he doesnt get disconnected rather he gets disconnected after 5Gb<br>
 I think NAS only stores volume for current session and freeradius has the db which saves all session's volume.<br>
<br></span><span class="">
On Thu, Oct 30, 2014 at 12:27 AM, Alan DeKok <<a href="mailto:aland@deployingradius.com" target="_blank">aland@deployingradius.com</a> <mailto:<a href="mailto:aland@deployingradius.com" target="_blank">aland@deployingradius.<u></u>com</a>>> wrote:<br>
<br>
    Abdullah wrote:<br>
    > need advice please as to what am i doing wrong<br>
<br>
      Read the debug output.  The server looks in SQL for the user,<br>
    and then<br>
    runs the dailycounter module.  The Max-Daily-Session attribute isn't<br>
    found by the counter module.<br>
<br>
      So... that attribute isn't being returned from SQL.<br>
<br>
      You can run the queries yourself to see what is being returned from<br>
    SQL.  The debug output shows you the queries.<br>
<br>
      It's not difficult.  Set the Max-Daily-Session attribute in the<br>
    "users" file, and it will work.  Therefore, it should also work with<br>
    SQL.  If it doesn't work with SQL, it's because you configured SQL<br>
    wrong.<br>
<br>
      Alan DeKok.<br>
    -<br>
    List info/subscribe/unsubscribe? See<br>
    <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/<u></u>list/users.html</a><br>
<br>
<br>
<br>
<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/<u></u>list/users.html</a><br>
</span></blockquote><div class="HOEnZb"><div class="h5">
<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/<u></u>list/users.html</a><br>
</div></div></blockquote></div><br></div>