Take a look in the sql.conf file of radius, it has a line to edit:


In

2

(3 replies, posted in Radius Configuration)

Would the following counter do the job with the correct attribute in the radreply table?

sqlcounter noresetcounter {
driver = "rlm_sqlcounter"
counter-name = Max-All-Session-Time
check-name = "Max-All-Session"
sqlmod-inst = sql
key = User-Name
reset = never
query = "SELECT SUM(AcctSessionTime) FROM radacct WHERE UserName='%{%k}'"
}

3

(3 replies, posted in Radius Configuration)

Hi, I'm farily new to Chillispot and radius so forgive me if I ask a sillly question!

Is it possible / how do I limit the amount of time a user is online, and after the are online not let them log back in  again?

I know there is a session-timeout but I can't seem to see where to set this!

I'm using freeradius and mysql for accounting, UAM for autorization.

Thanks

Paul