Re: Dynamic-Clients

2012-03-28 Thread dulan
these are the testing scenarios which i used to check that issue.
:)

--
View this message in context: 
http://freeradius.1045715.n5.nabble.com/Dynamic-Clients-tp5597709p5599713.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Dynamic-Clients

2012-03-28 Thread dulan
mr. Fajar

i checked this issue using different scenarios.

when i hard-coded 
freeradius-Client-IP-Address, freeradius-Client-Shortname,
freeradius-Client-Secret, freeradius-Client-NAS-Type values it is working.

in my experience i think the problem is sql queries are not work in
dynamic-clients file
but other sql queries are working properly.
if u can please send me a complete document to configure dynamic clients.

Thanking you..

--
View this message in context: 
http://freeradius.1045715.n5.nabble.com/Dynamic-Clients-tp5597709p5599921.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Dynamic-Clients

2012-03-27 Thread dulan
hi,

i configured a radius server using freeradius 2.1.8. then i change some sql
queries as my requirements.it works properly.
then i need to add clients dynamically without clients.conf. i use
/raddb/sites-available/dynamic-clients
configured dynamic-clients as follows.but it is not working.

please help me to configure it.

http://freeradius.1045715.n5.nabble.com/file/n5597709/debug.txt debug.txt 
http://freeradius.1045715.n5.nabble.com/file/n5597709/dynamic-clients
dynamic-clients 

nas table:-

nasname = 10.10.10.161
shortname = 
type = other
ports 1812
secret = testing123
community = 
description = RADIUS Client

Thanking you..

--
View this message in context: 
http://freeradius.1045715.n5.nabble.com/Dynamic-Clients-tp5597709p5597709.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Acct-Interim-Interval session time not working

2012-02-16 Thread dulan
use like follows

*Acct-Interim-Interval := 60*

if you use Database you should insert this data to *radraply *table




On Thu, Feb 16, 2012 at 12:59 PM, oportino [via FreeRadius] 
ml-node+s1045715n5488744...@n5.nabble.com wrote:

 Hello all,

 I am using freeradius 2.1.0 on Ubuntu 10.10 and using rp-pppoe server and
 chillispot server for user login authentication method on same machine and
 set up radius attribute for end user such as
 #-

 *radtest   abc   abc123   127.0.0.1  0   SecretKey*
 Sending Access-Request of id 185 to 127.0.0.1 port 1812
 User-Name = abc
 User-Password = abc123
 NAS-IP-Address = 127.0.1.1
 NAS-Port = 0
 rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=185,
 length=80
 Idle-Timeout = 600
 WISPr-Bandwidth-Max-Down = 1
 WISPr-Bandwidth-Max-Up = 1
 *Acct-Interim-Interval = 60*
 Acct-Status-Type = Interim-Update
 *Session-Timeout = 300*

 ( All  user can login all of session is 5mins )
 #-


 1.After first use logged in  ( with pppoe or chillispot) the user abc
 use the network times 200secs  (left time=100secs) and logged off later.

 2.The user abc  logged in again with radius message
 User-Name = abc
 User-Password = abc123
 NAS-IP-Address = 127.0.1.1
 NAS-Port = 0
 rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=185,
 length=80
 Idle-Timeout = 600
 WISPr-Bandwidth-Max-Down = 1
 WISPr-Bandwidth-Max-Up = 1
 *Acct-Interim-Interval = 60*
 Acct-Status-Type = Interim-Update
 *Session-Timeout = 100*

  During live logged in session , In the radius database and radacct table
 has 2 record insert (first record is first login and *secondary record is
 now login*)

  I delete the first database record (use time= 200secs) so that the
 attribute Acct-Interim-Interval it is  updating  all sessiontime count to 0
 and abc can use the network 300secs. But it is not updating session and
 the user abc was terminate after 100 secs normally  by AcctTerminateCause
  is Session-Timeout .

  What does debug or how?

 Thanking for every thing.



 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://freeradius.1045715.n5.nabble.com/Acct-Interim-Interval-session-time-not-working-tp5488744p5488744.html
  To unsubscribe from FreeRadius, click 
 herehttp://freeradius.1045715.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=2740692code=YWNoaW50aGF1QGdtYWlsLmNvbXwyNzQwNjkyfC0xNDExMDc0NTA0
 .
 NAMLhttp://freeradius.1045715.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml




-- 
Best Regards..
Achintha Udukumbura


--
View this message in context: 
http://freeradius.1045715.n5.nabble.com/Acct-Interim-Interval-session-time-not-working-tp5488744p5489311.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Acct-Interim-Interval session time not working

2012-02-16 Thread dulan
please check chillispot configurations.i think you can configure interim
updates from it.

--
View this message in context: 
http://freeradius.1045715.n5.nabble.com/Acct-Interim-Interval-session-time-not-working-tp5488744p5491403.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Disconnect Online User

2011-07-26 Thread dulan
hi, 

i need to disconnect online user automatically when complete his download
capacity (like prepaid).how can i configure it in freeradius. 

please help me.. 
Thank you...

--
View this message in context: 
http://freeradius.1045715.n5.nabble.com/Disconnect-Online-User-tp4637476p4637476.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html