Hi, Thanks for your answer. Actually, I need a more "dynamic" solution. I will have an agreement with a hotspot agregator (like Boingo...) and I will have about 60 millions NAS. The thing is that each NAS have different rates(10 to 20 cent/mn). So, for each user, I have to calculate the remaining session-timeout according to the NAS in which the user wishes to connect to. When the user logs in, I have to run a script which set the session-timeout attribute ( e.g how long the user is allowed to be connected to that specific NAS). When the user logs out, I have to run a script which updates the remaining connection time. I have installed freeradius and phpmyprepaid (with sql_counter module) and everything is working well. The problem with phpmyprepaid is that we invoice the user regardless the NAS in which (s)he is connected to. I hope that my explanation is clear. Thank you very much for your assistance!! Best regards. Khalid On 9/1/07, freeradius-users-request@lists.freeradius.org < freeradius-users-request@lists.freeradius.org> wrote:
Send Freeradius-Users mailing list submissions to freeradius-users@lists.freeradius.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.freeradius.org/mailman/listinfo/freeradius-users or, via email, send a message with subject or body 'help' to freeradius-users-request@lists.freeradius.org
You can reach the person managing the list at freeradius-users-owner@lists.freeradius.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Freeradius-Users digest..."
Today's Topics:
1. Freeradius help (Khaldon manIP) 2. Re: Freeradius help (tnt@kalik.co.yu) 3. Proxy accounting information in a diffrect table (justice obrey) 4. Re: MOTP with freeradius (Alan DeKok) 5. Re: checkitem problem (Alan DeKok)
----------------------------------------------------------------------
Message: 1 Date: Fri, 31 Aug 2007 21:02:44 +0200 From: "Khaldon manIP" <manvoip@gmail.com> Subject: Freeradius help To: freeradius-users@lists.freeradius.org Message-ID: <f90cb76b0708311202u3b8af7fu43a43e5c84037f56@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1"
Hi all,
I have installed a freeradius server and it works perfectly... Now, I want to play with the Session-Timeout attribute. I want to set that value according to the NAS in which the client is connected. For instance, let us assume a user connect himself to a "Group1 NAS" and have X seconds session-timeout. But if he would be connected to a "Group2 NAS", he will have X-10 seconds session-timeout.
Finally, what I want is: 1) to run a script that set a session-timeout value according to the NAS IP address. 2) to run a script when the user log out (when the session-timeout attribute is updated)
But I don't know how to do so...I thought about launching scripts but if you have a better solution, i'll take it heartily.
Thanks a lot.
ps: I sent that mail but it has not been posted....if it has been posted, sorry in advance...