How to use RADACCT in freeradius?
Hi, My lecturer had give me an assignment to setup a freeradius server on ubuntu and print out an accounting report from the server. i have success setup this marvellous server with this tutorial link * http://www.howtoforge.com/setting-up-a-freeradius-based-aaa-server-with-mysq... * and this *http://www.youtube.com/watch?v=fVRDbAxKcqw* : ) thanks 4 the great tutorial. The problem is i dont know what data to fill in the attribute in radacct phpmyadmin table and also don't know how to create a basic accounting report such as client start time connect, what is client ip, mac, etc.. can somebody help me for this matter? your help would be much appreciated. i am sorry for my stupidity and my broken English. plsss help me sir...
As Alan said: A radacct row is inserted automatically by FreeRADIUS for each user session. The session information is sent by the NAS when the user logs out. The following are the most important field: UserName - self explanatory AcctStartTime - session start time AcctStopTime - session stop time AcctSessionTime - session time in seconds AcctInputOctects - the amount of data sent by the user AcctOutputOctects - the amount of data received by the user CalledStationId - the ID of the NAS which handled the session AcctTerminationCause - what caused the user to be logged out CalledStationID - the MAC address of the device from which the user logged in FramedIPAddress - the IP address of the device from which the user logged in On Tue, May 29, 2012 at 1:02 PM, Alan DeKok <aland@deployingradius.com>wrote:
faizal ghazali wrote:
The problem is i dont know what data to fill in the attribute in radacct phpmyadmin table
You don't. The server does this automatically when it receives accounting packets.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (3)
-
Alan DeKok -
DOMINIE.ORG -
faizal ghazali