<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Charles,<br>
<br>
Thank for your suggestion and in fact I've my last option whereby I
will write a simple telnet session to terminate the session if the
usage is over. However, I'm looking to have this option work if
possible.<br>
<br>
cheers<br>
<br>
Charles wrote:
<blockquote cite="mid:009001ca71a5$9eb75d00$6401a8c0@mordekai"
 type="cite">
  <meta content="text/html; charset=iso-8859-1"
 http-equiv="Content-Type">
  <meta name="GENERATOR" content="MSHTML 8.00.6001.18702">
  <style></style>
  <div><font face="Arial" size="2">Hi cktan,</font></div>
  <div> </div>
  <div><font face="Arial" size="2">Was looking for a similar solution
and never made it work.</font></div>
  <div> </div>
  <div><font face="Arial" size="2">Basically, in my setup i have users 
buy airtime for using the internet. I also sell access to video clips,
when user downloads the video clip, an entry is made in </font></div>
  <div><font face="Arial" size="2">radacct table. What I wanted to is
for the NAS to re-authenticate every minute to check if more entries
were added to radacct table.</font></div>
  <div> </div>
  <div><font face="Arial" size="2">My solution was to us M0n0wall as my
NAS, it has an option in the captive portal where you set it to
re-authenticate every minute and to disconnect if user has no more </font></div>
  <div><font face="Arial" size="2">credit left.</font></div>
  <div> </div>
  <div><font face="Arial" size="2">I hope this helps.</font></div>
  <div> </div>
  <div><font face="Arial" size="2">Charles</font></div>
  <blockquote
 style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;">
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
    <div
 style="background: rgb(228, 228, 228) none repeat scroll 0%; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"><b>From:</b>
    <a moz-do-not-send="true" title="cktan@ocesb.com.my"
 href="mailto:cktan@ocesb.com.my">cktan</a> </div>
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b>
    <a moz-do-not-send="true"
 title="freeradius-users@lists.freeradius.org"
 href="mailto:freeradius-users@lists.freeradius.org">FreeRadius users
mailing list</a> </div>
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Monday, November 30, 2009 11:51 AM</div>
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b>
MPD : mpd-drop-user</div>
    <div><br>
    </div>
Dear all,<br>
    <br>
Is anyone try this attribute <i><b>mpd-drop-user</b></i> in freeradius
with Mysql? MPD support this attribute to check the status of account
during it update the accounting and if the value for this attribute
become non-zero, it will disconnect the session for the user. <br>
    <br>
We use MPD to setup a PPPoE server with freeradius to provide
authentication to users and we have come across to drop the session if
the user's account suspended but we have no luck to make it work.
Currently we try to put this attribute in radreply table and it doesn't
work for us. Looking for your kind information in this matter. <br>
    <br>
Thanks in advance.<br>
    <br>
________________________________________________________________
    <div style="border: 0px none ; width: 468px;"> <br>
    <MailScannerForm24035 form="" method="get"
 action="http://order.1and1.com/dcjump" target="_blank"> </MailScannerForm24035>
    <p align="center">5 free Domains with Select Hosting Plans. Get
yours!</p>
    <center>
    <table border="0" width="320">
      <tbody>
        <tr>
          <td class="form"><input value="25085883" name="k_id"
 type="reset"> <input maxlength="500" name="domain"> </td>
          <td>
          <select style="width: 60px;" name="tld">
          <option selected="selected" value="com">com</option>
          <option value="net">net</option>
          <option value="org">org</option>
          <option value="info">info</option>
          <option value="us">us</option>
          <option value="name">name</option>
          <option value="biz">biz</option>
          <option value="cc">cc</option>
          <option value="tv">tv</option>
          <option value="ws">ws</option>
          <option value="mobi">mobi</option>
          </select>
          </td>
          <td>  </td>
          <td><input value="Check Domain" name="Submit" type="reset"> </td>
        </tr>
      </tbody>
    </table>
    </center>
    </div>
    <br>
-- <br>
This message has been scanned for viruses and <br>
dangerous content by <a moz-do-not-send="true"
 href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is <br>
believed to be clean.
    <p> </p>
    <hr> -<br>
List info/subscribe/unsubscribe? See
<a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a></blockquote>
________________________________________________________________
  <div style="border: 0px none ; width: 468px;"><br>
  <MailScannerForm24035 form="" method="get" target="_blank"
 action="http://order.1and1.com/dcjump"></MailScannerForm24035>
  <p align="center">5 free Domains with Select Hosting Plans. Get yours!</p>
  <center>
  <table border="0" width="320">
    <tbody>
      <tr>
        <td class="form">
        <input name="k_id" value="25085883" type="reset"><input
 size="20" maxlength="500" name="domain" type="reset">
        </td>
        <td>
        <select style="width: 60px;" name="tld">
        <option value="com">com</option>
        <option value="net">net</option>
        <option value="org">org</option>
        <option value="info">info</option>
        <option value="us">us</option>
        <option value="name">name</option>
        <option value="biz">biz</option>
        <option value="cc">cc</option>
        <option value="tv">tv</option>
        <option value="ws">ws</option>
        <option value="mobi">mobi</option>
        </select>
        </td>
        <td>
 
        </td>
        <td>
        <input name="Submit" value="Check Domain" type="reset"></td>
      </tr>
    </tbody>
  </table>
  </center>
  </div>
  <br>
-- <br>
This message has been scanned for viruses and
  <br>
dangerous content by
  <a moz-do-not-send="true" href="http://www.mailscanner.info/"><b>MailScanner</b></a>,
and is
  <br>
believed to be clean.
  <pre wrap="">
<hr size="4" width="90%">
-
List info/subscribe/unsubscribe? See <a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a></pre>
</blockquote>
</body>
<br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</html>