MySQL: don't logging to radacct
Felipe Neuwald
felipe at neuwald.biz
Tue Dec 12 20:04:15 CET 2006
Hi Dennis and Thibault,
I redirected some users of my old radius to this new radius and I still
have no accounting. I redirected traffic in firewall directly from ISP
to old server to new server.
And here the results of radclient:
[root at mercury /tmp]# cat radius.teste | radclient 127.0.0.1 auth teste
Received response ID 198, code 2, length = 20
[root at mercury /tmp]# cat radius.teste | radclient 127.0.0.1 acct teste
radclient: no response from server for ID 204
no response from an acct command.
Any idea?
Thank you,
Felipe Neuwald.
Thibault Le Meur escreveu:
>
>> -----Message d'origine-----
>> De :
>> freeradius-users-bounces+thibault.lemeur=supelec.fr at lists.free
>> radius.org
>> [mailto:freeradius-users-bounces+thibault.lemeur=supelec.fr at li
>> sts.freeradius.org] De la part de Felipe Neuwald
>> Envoyé : mardi 12 décembre 2006 18:06
>> À : freeradius-users at lists.freeradius.org
>> Objet : MySQL: don't logging to radacct
>>
>>
>> Hi Folks,
>>
>> I'm using freeradius-1.1.3_1 on FreeBSD 6.2-PRERELEASE and
>> mysql-server-5.0.27.
>>
>> My database connection is ok, and I'm sucessfully
>> authorizeing on MySQL
>> databse. After user connection, a entry is added on radpostauth table.
>>
>> My problem is cause there is no entry on radacct table. Here is an
>> authentication:
>>
>> [root at mercury /usr/local/etc/raddb]# radtest brt adsl
>> 127.0.0.1 0 teste Sending Access-Request of id 206 to
>> 127.0.0.1 port 1812
>> User-Name = "brt"
>> User-Password = "adsl"
>> NAS-IP-Address = 255.255.255.255
>> NAS-Port = 0
>> rad_recv: Access-Accept packet from host 127.0.0.1:1812,
>> id=206, length=20
>>
>>
>> Does somebody knows why there is no entry on my radacct table?
>>
>
> Yes, look at your logs...
> radtest sends only an Access Request packet not an Accounting packet: that's
> why no accounting entry is added to raddact.
>
> Try radclient in order to send an accounting packet
>
> HTH,
> Thibault
>
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
More information about the Freeradius-Users
mailing list