Dear Charles, 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. cheers Charles wrote:
Hi cktan,
Was looking for a similar solution and never made it work.
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 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.
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 credit left.
I hope this helps.
Charles
----- Original Message ----- *From:* cktan <mailto:cktan@ocesb.com.my> *To:* FreeRadius users mailing list <mailto:freeradius-users@lists.freeradius.org> *Sent:* Monday, November 30, 2009 11:51 AM *Subject:* MPD : mpd-drop-user
Dear all,
Is anyone try this attribute /*mpd-drop-user*/ 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.
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.
Thanks in advance.
________________________________________________________________
5 free Domains with Select Hosting Plans. Get yours!
-- This message has been scanned for viruses and dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is believed to be clean.
------------------------------------------------------------------------ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
________________________________________________________________
5 free Domains with Select Hosting Plans. Get yours!
-- This message has been scanned for viruses and dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is believed to be clean. ------------------------------------------------------------------------
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.