use like follows<div><br></div><div><b>Acct-Interim-Interval := 60</b></div><div><br></div><div>if you use Database you should insert this data to <b>radraply </b>table </div><div><br></div><div><br></div><div> <br><br><div class="gmail_quote">
On Thu, Feb 16, 2012 at 12:59 PM, oportino [via FreeRadius] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=5489311&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello all,
<br><br>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
<br>#-------------------------------------------------------------------------------------
<br><b>radtest abc abc123 127.0.0.1 0 SecretKey</b><br>Sending Access-Request of id 185 to 127.0.0.1 port 1812
<br> User-Name = "abc"
<br> User-Password = "abc123"
<br> NAS-IP-Address = 127.0.1.1
<br> NAS-Port = 0
<br>rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=185, length=80
<br> Idle-Timeout = 600
<br> WISPr-Bandwidth-Max-Down = 100000000
<br> WISPr-Bandwidth-Max-Up = 100000000
<br> <b>Acct-Interim-Interval = 60</b><br> Acct-Status-Type = Interim-Update
<br> <b>Session-Timeout = 300</b><br><br>( All user can login all of session is 5mins )
<br>#-------------------------------------------------------------------------------------
<br><br>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.
<br><br>2.The user "abc" logged in again with radius message
<br> User-Name = "abc"
<br> User-Password = "abc123"
<br> NAS-IP-Address = 127.0.1.1
<br> NAS-Port = 0
<br>rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=185, length=80
<br> Idle-Timeout = 600
<br> WISPr-Bandwidth-Max-Down = 100000000
<br> WISPr-Bandwidth-Max-Up = 100000000
<br> <b>Acct-Interim-Interval = 60</b>
<br> Acct-Status-Type = Interim-Update
<br> <b>Session-Timeout = 100</b><br><br> During live logged in session , In the radius database and radacct table has 2 record insert (first record is first login and <i>secondary record is now login</i>)
<br><br> 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" .
<br><br> What does debug or how?
<br><br>Thanking for every thing.
<br><br>
<br>
<br>
<hr noshade size="1" color="#cccccc">
<div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
<a href="http://freeradius.1045715.n5.nabble.com/Acct-Interim-Interval-session-time-not-working-tp5488744p5488744.html" target="_blank" rel="nofollow" link="external">http://freeradius.1045715.n5.nabble.com/Acct-Interim-Interval-session-time-not-working-tp5488744p5488744.html</a>
</div>
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from FreeRadius, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
<a href="http://freeradius.1045715.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
</div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best Regards..<br>Achintha Udukumbura<br><br>
</div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://freeradius.1045715.n5.nabble.com/Acct-Interim-Interval-session-time-not-working-tp5488744p5489311.html">Re: Acct-Interim-Interval session time not working</a><br/>
Sent from the <a href="http://freeradius.1045715.n5.nabble.com/FreeRadius-User-f2740693.html">FreeRadius - User mailing list archive</a> at Nabble.com.<br/>