Hi,<br><br>Thanks for your answer.<br>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).
<br>So, for each user, I have to calculate the remaining
session-timeout according to the NAS in which the user wishes to
connect to.<br>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.<br>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.
<br>I hope that my explanation is clear.<br><br>Thank you very much for your assistance!!<br>Best regards.<br><br>Khalid<br><br><div><span class="gmail_quote">On 9/1/07, <b class="gmail_sendername"><a href="mailto:freeradius-users-request@lists.freeradius.org">
freeradius-users-request@lists.freeradius.org</a></b> <<a href="mailto:freeradius-users-request@lists.freeradius.org">freeradius-users-request@lists.freeradius.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Send Freeradius-Users mailing list submissions to<br>        <a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit
<br>        <a href="http://lists.freeradius.org/mailman/listinfo/freeradius-users">http://lists.freeradius.org/mailman/listinfo/freeradius-users</a><br>or, via email, send a message with subject or body 'help' to
<br>        <a href="mailto:freeradius-users-request@lists.freeradius.org">freeradius-users-request@lists.freeradius.org</a><br><br>You can reach the person managing the list at<br>        <a href="mailto:freeradius-users-owner@lists.freeradius.org">
freeradius-users-owner@lists.freeradius.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Freeradius-Users digest..."<br><br><br>Today's Topics:<br><br>
   1. Freeradius help (Khaldon manIP)<br>   2. Re: Freeradius help (<a href="mailto:tnt@kalik.co.yu">tnt@kalik.co.yu</a>)<br>   3. Proxy accounting information in a diffrect table (justice obrey)<br>   4. Re: MOTP with freeradius (Alan DeKok)
<br>   5. Re: checkitem problem (Alan DeKok)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Fri, 31 Aug 2007 21:02:44 +0200<br>From: "Khaldon manIP" <
<a href="mailto:manvoip@gmail.com">manvoip@gmail.com</a>><br>Subject: Freeradius help<br>To: <a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a><br>Message-ID:<br>        <
<a href="mailto:f90cb76b0708311202u3b8af7fu43a43e5c84037f56@mail.gmail.com">f90cb76b0708311202u3b8af7fu43a43e5c84037f56@mail.gmail.com</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Hi all,<br>
<br>I have installed a freeradius server and it works perfectly...<br>Now, I want to play with the Session-Timeout attribute. I want to set that<br>value according to the NAS in which the client is connected.<br>For instance, let us assume a user connect himself to a "Group1 NAS" and
<br>have X seconds session-timeout. But if he would be connected to a "Group2<br>NAS", he will have X-10 seconds session-timeout.<br><br>Finally, what I want is:<br>1) to run a script that set a session-timeout value according to the NAS IP
<br>address.<br>2) to run a script when the user log out (when the session-timeout attribute<br>is updated)<br><br>But I don't know how to do so...I thought about launching scripts but if you<br>have a better solution, i'll take it heartily.
<br><br>Thanks a lot.<br><br>ps: I sent that mail but it has not been posted....if it has been posted,<br>sorry in advance...<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="https://lists.freeradius.org/pipermail/freeradius-users/attachments/20070831/17e4e5d7/attachment-0001.html">
https://lists.freeradius.org/pipermail/freeradius-users/attachments/20070831/17e4e5d7/attachment-0001.html</a>><br><br>------------------------------<br><br>Message: 2<br>Date: Fri, 31 Aug 2007 20:25:33 +0100<br>From: <
<a href="mailto:tnt@kalik.co.yu">tnt@kalik.co.yu</a>><br>Subject: Re: Freeradius help<br>To: "FreeRadius users mailing list"<br>        <<a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org
</a>><br>Message-ID: <<a href="mailto:pAGDDK1m.1188588333.3616070.tnt@kalik.co.yu">pAGDDK1m.1188588333.3616070.tnt@kalik.co.yu</a>><br>Content-Type: text/plain; charset=ISO-8859-2<br><br>You can set up DEFAULT entries in users file:
<br><br>DEFAULT   NAS-IP-Address == NAS1IP<br>                 Session-Timeout = X<br><br>Same thing for NAS2.<br><br>Ivan Kalik<br>Kalik Informatika ISP<br><br><br>Dana 31/8/2007, "Khaldon manIP" <<a href="mailto:manvoip@gmail.com">
manvoip@gmail.com</a>> pi?e:<br><br>>Hi all,<br>><br>>I have installed a freeradius server and it works perfectly...<br>>Now, I want to play with the Session-Timeout attribute. I want to set that<br>>value according to the NAS in which the client is connected.
<br>>For instance, let us assume a user connect himself to a "Group1 NAS" and<br>>have X seconds session-timeout. But if he would be connected to a "Group2<br>>NAS", he will have X-10 seconds session-timeout.
<br>><br>>Finally, what I want is:<br>>1) to run a script that set a session-timeout value according to the NAS IP<br>>address.<br>>2) to run a script when the user log out (when the session-timeout attribute
<br>>is updated)<br>><br>>But I don't know how to do so...I thought about launching scripts but if you<br>>have a better solution, i'll take it heartily.<br>><br>>Thanks a lot.<br>><br>>ps: I sent that mail but it has not been posted....if it has been posted,
<br>>sorry in advance...<br>><br>><br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Fri, 31 Aug 2007 14:20:10 -0700 (PDT)<br>From: justice obrey <<a href="mailto:justopee@yahoo.com">justopee@yahoo.com
</a>><br>Subject: Proxy accounting information in a diffrect table<br>To: <a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a><br>Message-ID: <<a href="mailto:461467.71291.qm@web62506.mail.re1.yahoo.com">
461467.71291.qm@web62506.mail.re1.yahoo.com</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>How do you configure freeradius to receive accounting information from a proxy radius server ? Is it possible to store this accounting information in a different table in postgresql database?
<br>  Thanks<br><br><br>---------------------------------<br>Choose the right car based on your needs.  Check out Yahoo! Autos new Car Finder tool.<br>-------------- next part --------------<br>An HTML attachment was scrubbed...
<br>URL: <<a href="https://lists.freeradius.org/pipermail/freeradius-users/attachments/20070831/0094963f/attachment-0001.html">https://lists.freeradius.org/pipermail/freeradius-users/attachments/20070831/0094963f/attachment-0001.html
</a>><br><br>------------------------------<br><br>Message: 4<br>Date: Sat, 01 Sep 2007 08:15:12 +0200<br>From: Alan DeKok <<a href="mailto:aland@deployingradius.com">aland@deployingradius.com</a>><br>Subject: Re: MOTP with freeradius
<br>To: FreeRadius users mailing list<br>        <<a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a>><br>Message-ID: <<a href="mailto:46D90370.8040506@deployingradius.com">
46D90370.8040506@deployingradius.com</a>><br>Content-Type: text/plain; charset=ISO-8859-1<br><br>Gaston Bougie wrote:<br>> Now I would like to build this functionality with freeradius.<br>> I've read that Exec-Program-Wait is ending so I would like to follow
<br>> procedures and start with rlm_exec.<br><br>  You can still use Exec-Program-Wait in 1.1.7.  In 2.0, there's a MUCH<br>easier way of doing it.<br><br>  Alan DeKok.<br><br><br>------------------------------<br>
<br>Message: 5<br>Date: Sat, 01 Sep 2007 08:17:30 +0200<br>From: Alan DeKok <<a href="mailto:aland@deployingradius.com">aland@deployingradius.com</a>><br>Subject: Re: checkitem problem<br>To: FreeRadius users mailing list
<br>        <<a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a>><br>Message-ID: <<a href="mailto:46D903FA.3010405@deployingradius.com">46D903FA.3010405@deployingradius.com
</a>><br>Content-Type: text/plain; charset=windows-1252<br><br>Norbert Wegener wrote:<br>> rlm_ldap: looking for check items in directory...<br>> rlm_ldap: Adding primaryGroupID as Cleartext-Password == "515"
<br><br>  OK...<br><br>>  modcall[authorize]: module "ldap" returns ok for request 11<br>>    users: Matched entry DEFAULT at line 2<br><br>  Yes... because you are telling the server what the clear-text password
<br>is supposed to be.  If you tell the server TWICE, it will say OK twice.<br><br>  What sort of behavior do you expect?  "If cleartext password is<br>already set, don't set it again" ?  Nothing in the ldap or users file
<br>documentation says that they do anything like that.<br><br>  If you want that functionality, see 2.0.<br><br>  Alan DeKok.<br><br><br>------------------------------<br><br>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">
http://www.freeradius.org/list/users.html</a><br><br><br>End of Freeradius-Users Digest, Vol 29, Issue 1<br>***********************************************<br></blockquote></div><br>