Hi,<br><br>according to doc:<br>===================================================<br><pre style="word-wrap: break-word; white-space: pre-wrap; " data-mce-style="word-wrap: break-word; white-space: pre-wrap;">3. IMPLEMENTATION

  The server keeps a list of logged-in users in the /var/log/radutmp file.
  This is also called "the session database". When you execute "radwho",
  all that radwho really does is list the entries in this file in a pretty
  format. Only when someone tries to login who _already_ has an active
  session according to the radutmp file, the server executes the perl
  script /usr/local/sbin/checkrad (or /usr/sbin/checkrad, it checks for
  the presence of both and in that order). This script queries the terminal
  server to see if the user indeed already has an active session.

  The script uses SNMP for Livingston Portmasters and Ciscos, finger for
  Portslave, Computone and Ascend, and Net::Telnet for USR/3Com TC.

  Since the script has been witten in perl, it's easy to adjust for
  any type of terminal server. There are implementations in the script for
  checks using SNMP, finger, and telnet, so it should be easy to add
  your own check routine if your terminal server is not supported yet.

  You can find the script in the file src/checkrad.pl.

  You need to set the correct type in the file /etc/raddb/naslist so that
  checkrad KNOWS how it should interrogate the terminal server. At this
  time you can define the following types:
</pre><div>=====================================================<br><br>my  /usr/local/etc/raddb doesn't has naslist ans naspassword files.<br><br>If i configure them manually, so freeradius will connect to NAS (we use cisco) via snmp and check user session? </div>So, in such way i don't need script?<br><br>thanks.<br><br><br>02 декабря 2011, 13:53 от "Fajar A. Nugraha-2 [via FreeRadius]" <<a href="/user/SendEmail.jtp?type=node&node=5041384&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>>:<br><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;" class="mailru-blockquote"><div id="class_1322820324">

        <div class="js-helper">
        
        <div id="style_13228196210000000243" class="mr_read__body">
                <base target="_self" href="http://e.mail.ru/cgi-bin/">
                
                        <div id="style_13228196210000000243_BODY">

        2011/12/2 Толик Шавловский <<a link="external" rel="nofollow" target="_top">[hidden email]</a>>:
<br>> Dear Alan,
<br><br>I assume you want help from anyone, not just Alan, so I'll add some
<br>comments here.
<br><br>>
<br>> i am not good acquainted with freeradius. So, from doc/Simultaneous-use i understood that freeradius requres script, which will connect to NAS and check user session. Am i right?
<br><br>That's one way to do that (and possibly the most accurate way). But
<br>not the ONLY way.
<br><br>You can make it work without the script, if you store accounting data
<br>in sql. See (for example) raddb/sql/mysql/dialup.conf, look for
<br>"simul_count_query" and "simul_verify_query". But again, you need to
<br>store accounting data for it to work.
<br><br>-- 
<br>Fajar
<br><div class="style_13228196210000000243shrinkable-quote"><div class='shrinkable-quote'><br>>
<br>>
<br>> 02 декабря 2011, 12:43 от "Fajar A. Nugraha" <<a link="external" rel="nofollow" target="_top">[hidden email]</a>>:
<br>>> On Fri, Dec 2, 2011 at 3:37 PM, <a link="external" rel="nofollow" target="_top">[hidden email]</a>
<br>>> <<a link="external" rel="nofollow" target="_top">[hidden email]</a>> wrote:
<br>>> > Dear Alan,
<br>>> >
<br>>> > i added  Simultaneous-Use = 1 to user profile in users file.
<br>>>
<br>>> Did you read the doc? Or the reply I sent earlier?
<br>>>
<br>>> It requires MORE than just that.
<br>>>
</div><br><br><br><br><br><br><br><br><br><br><br><br></div><br>-
<br>List info/subscribe/unsubscribe? See <a link="external" rel="nofollow" target="_top" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a><br>
        
        <br>
        <br>
        <hr noshade="noshade" color="#cccccc" size="1">
        <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 target="_blank" href="http://freeradius.1045715.n5.nabble.com/configuration-freeradius-for-no-simultaneous-use-tp5040887p5041277.html" rel="nofollow" link="external">http://freeradius.1045715.n5.nabble.com/configuration-freeradius-for-no-simultaneous-use-tp5040887p5041277.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 configuration freeradius for no simultaneous use, <a target="_blank" href="" rel="nofollow" link="external">click here</a>.<br>
                <a rel="nofollow" target="_blank" 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.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" style="font:9px serif" link="external">NAML</a>
        <br></div>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></div>
                        
                
                <base target="_self" href="http://e.mail.ru/cgi-bin/">
        </div>
</div>



</div></blockquote><br>

        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://freeradius.1045715.n5.nabble.com/configuration-freeradius-for-no-simultaneous-use-tp5040887p5041384.html">Re[6]: configuration freeradius for no simultaneous use</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/>