FW: Radacct table not working properly

Javier Ruiz Escalante fruiz002 at hotmail.com
Tue Mar 27 11:24:06 CEST 2012


Ok,

Look, I should have accounting information about the client (for example all
the attributes I need for disconnection) in the radacct table, right? Which
ones? The one I past belowatleast, that at the moment are going to a file in
"/var/log/freeradius/radacct"

Tue Mar 27 09:57:42 2012
    Acct-Status-Type = Accounting-On
    NAS-Identifier = "MikroTik"
    Acct-Delay-Time = 0
    NAS-IP-Address = 192.168.1.11
    Acct-Unique-Session-Id = "44c5e5334885d97c"
    Timestamp = 1332835062
    Request-Authenticator = Verified

Tue Mar 27 10:12:10 2012
    Acct-Status-Type = Accounting-On
    NAS-Identifier = "MikroTik"
    Acct-Delay-Time = 0
    NAS-IP-Address = 192.168.1.11
    Acct-Unique-Session-Id = "44c5e5334885d97c"
    Timestamp = 1332835930
    Request-Authenticator = Verified

Tue Mar 27 10:30:48 2012
    Acct-Status-Type = Accounting-On
    NAS-Identifier = "MikroTik"
    Acct-Delay-Time = 0
    NAS-IP-Address = 192.168.1.11
    Acct-Unique-Session-Id = "44c5e5334885d97c"
    Timestamp = 1332837048
    Request-Authenticator = Verified

Tue Mar 27 10:57:16 2012
    Acct-Status-Type = Accounting-On
    NAS-Identifier = "MikroTik"
    Acct-Delay-Time = 0
    NAS-IP-Address = 192.168.1.11
    Acct-Unique-Session-Id = "44c5e5334885d97c"
    Timestamp = 1332838636
    Request-Authenticator = Verified

2nd.

I have Freeradius in debug mode, and the output is attached but I can't see
where is the problem. I hope it's the information you wanted and you can
help me.



Best regards

-----Original Message-----
From: freeradius-users-bounces+fruiz002=hotmail.com at lists.freeradius.org
[mailto:freeradius-users-bounces+fruiz002=hotmail.com at lists.freeradius.org]
On Behalf Of Alan DeKok
Sent: martes, 27 de marzo de 2012 10:53
To: FreeRadius users mailing list
Subject: Re: FW: Radacct table not working properly

Javier Ruiz Escalante wrote:
> I send radius packets, (as long as I know...) I have a hotspot from 
> Mikrotik and I have Radius configured, my client logs on and the 
> information sent by MKT goes to a file but not to radacct table.

  First, figure out exactly what's going on.  "Information" is meaningless.
Do you mean RADIUS accounting packets?  And "goes to a file" is also
meaningless.  Which file?  Why?

  And, AS ALWAYS, run the server in debugging mode to see what's going on.
It's really not that hard.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debugging.rtf
Type: application/msword
Size: 71984 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120327/12cc0919/attachment-0001.doc>


More information about the Freeradius-Users mailing list