Accounting

Phil Mayers p.mayers at imperial.ac.uk
Tue Aug 12 16:45:44 CEST 2008


Jonathan Gazeley wrote:
> Phil Mayers wrote:
>> Your NAS needs to support interim accounting.
>>
>> If it does already, it might be as simple as adding:
>>
>> DEFAULT
>>     Acct-Interim-Interval = 1800,
>>     Fall-Through = yes
>>
>> ...to the "users" file; modify as appropriate of course for your config.
> 
> I have added the lines above to my "users" file, replacing 1800 with a 
> value of 20. However, the updates do not occur every 20 minutes. Do I 
> also need to enable something on my NAS (Cisco WiSMs) to allow it to 
> provide accounting on demand?

Not sure. It definitely works; we have it working here.

Are you getting *any* accounting from the WISM? You'll need:

  radius acct add $server_id $server 1813 ascii secret
  wlan radius_server acct add $wlan_id $server_id

I notice we've got:

  wlan session-timeout $wlan_id 1800

...statements in our config, but I'm not an expert on the WISMs so I 
don't know if that's required.

> 
> I did also try to edit the config on my WiSMs to push the accounting 
> every 20 minutes but was unable to get that to work. The guy who 
> primarily looks after the WiSMs is away at the moment.
> 
> How is interim accounting normally done? I don't mind if the accounting 
> is pushed or pulled, whatever works.

Accounting is always pushed from the NAS to the Radius server.

> 
> Thanks,
> Jonathan
> 
> ----------------------------
> Jonathan Gazeley
> Systems Support Specialist
> ResNet | Wireless & VPN Team
> Information Services
> University of Bristol
> ----------------------------
> 
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html




More information about the Freeradius-Users mailing list