Kostas Kalevras wrote:
That's it! Thanks very much. This is a now working setup:The counter module should come *after* the files module so that Max-Daily-Session has been set when it runs. Also add the counter module in the instantiate section.
radiusd.conf
------------
...
authorize {
preprocess
## counter
suffix
files
counter
}
accounting {
detail
counter
radutmp
}
I had to update to freeradius-0.8 to have an instantiate-section:
instantiate {
expr
counter
}
...
Maybe it makes sense, to change the order of the counter-module in the distributed radiusd.conf.
In the users file I found two different setups working:
DEFAULT Max-Daily-Session := 3600
Fall-Through = 1
or
John_D Max-Daily-Session := 3600, Password = "sdfh8shdf", NAS-IP-Address = "210.39.36.78", Simultaneous-Use = 1
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-IP-Address = 255.255.255.254,
Framed-MTU = 1500,
Idle-Timeout = 3600,
Port-Limit = 1
Kind regards
Oliver
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
