FR 3.0.x Head + coova chilli + mysql Volume Limit
"Edvin Seferovic | Kolpinghaus St. Pölten"
edvin.seferovic at kolp.at
Thu Oct 30 10:38:35 CET 2014
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).
Basically, check you SQL configuration (as Alan DeKok already wrote).
Kind regards,
E:S
On 30.10.2014 08:14, Abdullah wrote:
> Sorry my problem is persisting. I need your help. Kindly reply please
> I have Set up qouta of 5GB for a user
> He downloads 2 GB and disconnects
> When he logins again, he should disconnect after 3GB but he doesnt get
> disconnected rather he gets disconnected after 5Gb
> I think NAS only stores volume for current session and freeradius has
> the db which saves all session's volume.
>
> On Thu, Oct 30, 2014 at 12:27 AM, Alan DeKok
> <aland at deployingradius.com <mailto:aland at deployingradius.com>> wrote:
>
> Abdullah wrote:
> > need advice please as to what am i doing wrong
>
> Read the debug output. The server looks in SQL for the user,
> and then
> runs the dailycounter module. The Max-Daily-Session attribute isn't
> found by the counter module.
>
> So... that attribute isn't being returned from SQL.
>
> You can run the queries yourself to see what is being returned from
> SQL. The debug output shows you the queries.
>
> It's not difficult. Set the Max-Daily-Session attribute in the
> "users" file, and it will work. Therefore, it should also work with
> SQL. If it doesn't work with SQL, it's because you configured SQL
> wrong.
>
> Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
>
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list