Daily counter and options to extend

Russell Mike radius.sir at gmail.com
Wed Oct 22 12:20:32 CEST 2014


Hi

i deliberately did not mentioned earlier, because it was hard to make all
that work together. I have Top-Up working, weather Top-up time or Volume
Quota. You can only do it, if you are good in these  MySQL DBMS, PHP,
NODE.js, JAVA. PM2(small utility to auto start node.js scripts on server
reboot or restart node.js script if change is detected)..

1.) As soon as user login a pop-up window will open to enable you log off
2.) You cannot close Log off window unless you have logged off. Else, It
would re pop-up again. Feature to prevent accidentally closing log off so
that cannot log off again.
3.) Seconds Count down timer shows on log off window
3a.) Remaining time && || bandwidth quota appears on Log off window
4.) This is multi-tenancy system runs over VLANs, Serving about 380
hotspots across the city from ISP data center from single machine. Layer2 &
layer3 MIX instances
5.) admin interface to restart individual instance for troubleshoot
purpose, CPU Usage, RAM Usage, Total concurrent active users from 380
hotspots, FreeRADIUS status
6.) Node.js is also used to push adverts to cafes
7.) Application to top-up airtime on mobile device, because there is no
pop-up feature in iPhone browsers
8.) Bandwidth Quota scalable up to 4000 Tera Bytes.
9.) more.. more.. more..

let me know how can i help.
Thanks / Prabhpal Singh



On Sun, Oct 19, 2014 at 7:47 PM, Matej Žerovnik <matej at zunaj.si> wrote:

>  I guess running a crontab every day at midnight and erasing all
> Max-Daily-Session entries suddenly sounds like a good idea:)
>
> Matej
>
>
> On 19.10.2014 14:41, Russell Mike wrote:
>
> You are looking for top-up feature. i don't think you would be able to do
> this.
>
> On Sat, Oct 18, 2014 at 8:15 PM, Matej Žerovnik <matej at zunaj.si> wrote:
>
>> Hello!
>>
>> I'm trying to achieve something, but not sure for to do it...
>>
>> What I want is to have a fixed daily limit for all users set to 1h. That
>> is no problem, since I set Max-Daily-Session for all users via group check.
>> But sometimes I would like to extend that limit to 2 or more hours for
>> certain users. I could set Max-Daily-Session for that certain user, but
>> that setting would not get reset at the end of the way. I would have to run
>> a cronjob to purge settings in sql...
>>
>> Is there a nicer/proper way of achieving that?
>>
>> Matej
>>
>> --
>> ---
>> Matej Zerovnik
>>
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>>
>
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
> --
> ---
> Matej Zerovnik
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20141022/9f2edeb8/attachment.html>


More information about the Freeradius-Users mailing list