<div>How to make checkrad, if disable all in "session" section? acct-stop packets is lost sometimes and sql think that customer is online, but he didn't.<br clear="all"></div><div><br></div><div>Regards,</div>
<div>Alexander.</div>
<br><br><div class="gmail_quote">2011/12/21 Fajar A. Nugraha <span dir="ltr"><<a href="mailto:list@fajar.net">list@fajar.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Wed, Dec 21, 2011 at 12:56 PM, Alexander Kosykh <<a href="mailto:avkosykh@gmail.com">avkosykh@gmail.com</a>> wrote:<br>
> Hi.<br>
><br>
> I knew how to make all you wrote above.<br>
<br>
</div>Are you sure?<br>
<div class="im"><br>
> I need to know how to accept<br>
> customer, when sim-use rejected him.<br>
<br>
</div>Cause if you do, you wouldn't ask that.<br>
<br>
Easiest way: simply remove "sql" (or "radutmp", depends on what you<br>
use) from "session" section. Then simultaneous-use check will be<br>
disabled (e.g. user will be accepted no matter whether they're already<br>
logged in or not).<br>
<br>
You will still be able to examine user status and limit using unlang<br>
from "%{control:Simultanenous-Use}" (which gets its value from<br>
radcheck/radgroupcheck) and "%{sql:<br>
whatever-you-find-as-simul_count_query-on-sql/mysql/dialup.conf}".<br>
Using those two values you add reply items (either vlan assignment,<br>
IP/DNS assignment, and so on).<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Fajar<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>