<div>Ok</div>
<div>thanks for your information. Now i can confidently use other method to get the accounting data from Radius server. It is good & easy for me to get whole radacct log file in NAS (using rsync) for now and use it accordingly.</div>

<div>Can you send me a good link to integrate accounting data on Radius server to a database server like MySQL. So that i can unrestrict the use of NAS radiusclient to others radius server also.</div>
<div> </div>
<div>Thanks for helping.<br><br></div>
<div class="gmail_quote">On Sat, Jan 16, 2010 at 11:05 PM, Phil Mayers <span dir="ltr"><<a href="mailto:p.mayers@imperial.ac.uk">p.mayers@imperial.ac.uk</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">Rahul Panwar wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Thanks for a quick response,<br><br> > You can't. FreeRadius has no such facility.<br><br> > Use a database server, or write a script process the radacct file. You can put accounting into both the radacct & database if you want.<br>
<br>What is the use of Acct-Interim-Interval? Is it not possible to get the update using this? Is it the received from radius server as a Authentication/Accounting response? or NAS has to send it as a request?<br><br></blockquote>
<br></div>Acct-Interim-Interval is a value, sent from the radius server to the NAS, in the authentication response.<br><br>It instructs the NAS to send interim accounting packets to the radius server, at the interval given. For example:<br>
<br>NAS: access-reqest<br>Srv: access-accept Acct-Interim-Interval = 300 (5 minutes)<br>NAS: Accounting-Start<br><300 second gap><br>NAS: Accoounting-Alive inbytes=10000 outbytes=10000<br><300 seconds gap><br>
NAS: Accoounting-Alive inbytes=20000 outbytes=20000<br><br>...<br><br>NAS: Accounting-Stop<br><br><br>If the radius server doesn't give Acct-Interim-Interval, the NAS may have a default value, or may not send interim accounting at all.<br>
<br>To repeat the answer to your original question: there is no mechanism in radius (or extension in FreeRadius) for a NAS to query a radius server for accounting.<br><br>Accounting is one-way - NAS -> Radius server.<br>
<br>You will need to use another method (query the files, or query a database) to do what you asked. 
<div>
<div></div>
<div class="h5"><br>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br></div></div></blockquote></div><br>