RE: Acct-Input-Gigawords
how do i use the Acct-Input-Gigawords and Acct-Output-Gigawords Attributes with FreeRADIUS Version 1.1.3 and FreeRADIUS Version 1.0.2 and PPP 2.4.4? I set up the fields in the mysql-table but they do not get filled with data. Those will be filled when the connection goes over the limit of the Octets. See the freeradius homepage for the explanation on this. Is there a way (radius or ppp) to get the Accounting-Data on-the-fly (realtime) or maybe all 2 hours without disconnection the actual session of the user? Depending on your NAS, you can send Accounting updates every 5 minutes ! The attribute that NAS has to accept is called Acct-Interim-Interval. You can set it to 300 ( 5 min ) ! Kind regards, E:S - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Acct-Input-Gigawords
Hi, I set up the fields in the mysql-table but they do not get filled with data. http://wiki.freeradius.org/FAQ#Why_do_Acct-Input-Octets_and_Acct-Output-Octets_wrap_at_4_GB.3F (you need to modify the SQL queries as well, updating the database schema alone isn't enough) Greetings, Stefan Winter -- Stefan WINTER Ingenieur de Recherche Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et de la Recherche 6, rue Richard Coudenhove-Kalergi L-1359 Luxembourg Tel: +352 424409 1 Fax: +352 422473 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Acct-Input-Gigawords
Where can i set it up? I use rp-pppoe-server and ppp 2.4.4 on debian That attribute should be replied by the server in access-accept RADIUS packet. You can define it for each user in your user DB ( SQL, LDAP ) and freeradius should be able to add it to the above mentioned packet. Regards, E:S - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Acct-Input-Gigawords in Exec-Program env
Rob Hartzenberg wrote: I'm having trouble identifying the Acct-Input-Gigawords field in the shell environment of Exec-Program. Does anyone know how to ensure that it is being exported? Read the output of debugging mode. If it's in the packet, it will be exported to any shell program. See doc/variables.txt for documentation on how this happens. This correctly prints out all the env variables to the file as expected. The problem is however that with ADSL traffic regularly exceeding the Gigawords boundaries of Acct-Input-Octets, we rely on the Acct-Input-Gigawords for the overflow. This is unfortunately not showing up in the list of env variables. Anyway to resolve this? Make the NAS send the attribute. If the NAS isn't sending the attribute, how do you expect the server to log it? What value do you expect the server to use? Does it invent the attribute out of thin air? Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html