Hi again
I added this to radcheck
insert into radcheck (UserName, Attribute, Op, Value) values 
('user','Session-Octets-Limit',':=','100');
but when i start radius -X it says rlm_sql : Failed to creat the pair unknow attributes
Session-Octets-Limit
rlm_sql : error getting data from database..!

On 5/29/06, Mordor Networks < [EMAIL PROTECTED]> wrote:
Hi edvin
sorry for asking too much but do i think i can add fieldsin sql "radreply" so i can make it works with mysql since i use radius + mysql? and if so how i do that
thanks a lot



On 5/29/06, Seferovic Edvin <[EMAIL PROTECTED] > wrote:









Hi,

 

yes – the reply attributes should be in the dictionary file ! The freeradius should sent a value ( integer value = bytes count ) to your pppoe server which uses radius client. Look at the debug output of the freeradius server to see if those attributes are in the reply message !


Regards,

 

Edvin

 


From: Mordor Networks [mailto:[EMAIL PROTECTED]]
Sent: Montag, 29. Mai 2006 10:14
To: [EMAIL PROTECTED]; freeradius-users@lists.freeradius.org
Subject: Re: Help!

 

Hello!
If you just want to send reply attributes of type Session-Octets-Limit
add this to your dictionary
file (located probably in /usr/local/share/freeradius):

# Limit session traffic

ATTRIBUTE       Session-Octets-Limit    227     integer
# What to assume as limit - 0 in+out, 1 in, 2 out, 3 max(in,out)
ATTRIBUTE       Octets-Direction        228     integer

i tried this and its not working can u please tell me what i doing wrong?
 


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to