Re: FW: Radacct table not working properly
Javier Ruiz Escalante wrote: > Look, I should have accounting information about the client (for example all > the attributes I need for disconnection) in the radacct table, right? So... rather than following instructions, you asked another question. > Which > ones? The one I past belowatleast, that at the moment are going to a file in > "/var/log/freeradius/radacct" Ok... that's a step ahead. You know which files it's logging to. What else is going on? Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: FW: Radacct table not working properly
Hello, It's solved, It was from Mikrotik, the option "Accounting" has to be marked. Thanks Alan!! -Original Message- From: freeradius-users-bounces+fruiz002=hotmail@lists.freeradius.org [mailto:freeradius-users-bounces+fruiz002=hotmail@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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
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
RE: FW: Radacct table not working properly
Hello, 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. Thanks Regards -Original Message- From: freeradius-users-bounces+fruiz002=hotmail@lists.freeradius.org [mailto:freeradius-users-bounces+fruiz002=hotmail@lists.freeradius.org] On Behalf Of Alan DeKok Sent: martes, 27 de marzo de 2012 9:58 To: FreeRadius users mailing list Subject: Re: FW: Radacct table not working properly Javier Ruiz Escalante wrote: > My server has installed Chillispot and Freeradius, everything is > working properly and now I want to use Freeradius without Chillispot. > As soon as I uninstall chillispot the radacct table stop working. Can anyody tell me why? If you don't send it RADIUS packets, it doesn't do anything. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: FW: Radacct table not working properly
Javier Ruiz Escalante wrote: > My server has installed Chillispot and Freeradius, everything is working > properly and now I want to use Freeradius without Chillispot. As soon as I > uninstall chillispot the radacct table stop working. Can anyody tell me why? If you don't send it RADIUS packets, it doesn't do anything. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: FW: Radacct table not working properly
Hello, My server has installed Chillispot and Freeradius, everything is working properly and now I want to use Freeradius without Chillispot. As soon as I uninstall chillispot the radacct table stop working. Can anyody tell me why? Thanks Regards - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: FW: Radacct table not working properly
It might be configured...ie you edited sql.conf but did you add 'sql' to the relevant sections in the relevant virtual server? alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: FW: Radacct table not working properly
Hello, SQL is configured as long as I know, and actually before, when I had installed chillispot, I think it was working as I had values in my radacct table. What should I check then, because the data is logged, at least part of it but in a file, not in the radacct table. Regards -Original Message- From: freeradius-users-bounces+fruiz002=hotmail@lists.freeradius.org [mailto:freeradius-users-bounces+fruiz002=hotmail@lists.freeradius.org] On Behalf Of Phil Mayers Sent: sábado, 24 de marzo de 2012 13:02 To: freeradius-users@lists.freeradius.org Subject: Re: FW: Radacct table not working properly On 03/23/2012 11:07 PM, Javier Ruiz Escalante wrote: > I have realized that my radius system does not record the logging > information in my radius Data base, in radacct table, but nevertheless > creates a folder in /var/log/freeradius for every NAS which is called > radacct inside this folder there is another folder with the ip of > the NAS and inside it there is a txt file with the info that I should > have "radacct" or "detail" file logging is configured by default in the server. SQL is not. Have you configured SQL accounting? > in the radacct table, furthermore I get the following error in radius debug: What error? There is no error. All you show is debug output from the server startup. There is no error. > > Module: Instantiating module "attr_filter.access_reject" from file > /etc/freeradius/modules/attr_filter > > attr_filter attr_filter.access_reject { > > attrsfile = "/etc/freeradius/attrs.access_reject" > > Any clue? Any clue about *what*? You need to ask better questions. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: FW: Radacct table not working properly
On 03/23/2012 11:07 PM, Javier Ruiz Escalante wrote: I have realized that my radius system does not record the logging information in my radius Data base, in radacct table, but nevertheless creates a folder in /var/log/freeradius for every NAS which is called “radacct” inside this folder there is another folder with the ip of the NAS and inside it there is a txt file with the info that I should have "radacct" or "detail" file logging is configured by default in the server. SQL is not. Have you configured SQL accounting? in the radacct table, furthermore I get the following error in radius debug: What error? There is no error. All you show is debug output from the server startup. There is no error. Module: Instantiating module "attr_filter.access_reject" from file /etc/freeradius/modules/attr_filter attr_filter attr_filter.access_reject { attrsfile = "/etc/freeradius/attrs.access_reject" Any clue? Any clue about *what*? You need to ask better questions. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Radacct table not working properly
On 03/23/2012 04:16 PM, Javier Ruiz Escalante wrote: Hello, Despite taht my user is authenticated, I don't get the data in RADACCT table, my output is this one. Can anybody help me? Your NAS didn't send any accounting packets. So no accounting packets were logged to the database. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Radacct table not working properly
Sorry but I do not see anything related to my problema in the FAQ, could you please specify a bit more? Maybe the link? Thanks -Original Message- From: freeradius-users-bounces+fruiz002=hotmail@lists.freeradius.org [mailto:freeradius-users-bounces+fruiz002=hotmail@lists.freeradius.org] On Behalf Of Alan DeKok Sent: viernes, 23 de marzo de 2012 20:14 To: FreeRadius users mailing list Subject: Re: Radacct table not working properly Javier Ruiz Escalante wrote: > Despite taht my user is authenticated, I don't get the data in RADACCT > table, This question is answered in the FAQ. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
FW: Radacct table not working properly
From: Javier Ruiz Escalante [mailto:fruiz...@hotmail.com] Sent: viernes, 23 de marzo de 2012 18:49 To: 'freeradius-users@lists.freeradius.org' Subject: RE: Radacct table not working properly Good evening, I have realized that my radius system does not record the logging information in my radius Data base, in radacct table, but nevertheless creates a folder in /var/log/freeradius for every NAS which is called "radacct" inside this folder there is another folder with the ip of the NAS and inside it there is a txt file with the info that I should have in the radacct table, furthermore I get the following error in radius debug: Module: Instantiating module "attr_filter.access_reject" from file /etc/freeradius/modules/attr_filter attr_filter attr_filter.access_reject { attrsfile = "/etc/freeradius/attrs.access_reject" Any clue? Thanks - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Radacct table not working properly
Javier Ruiz Escalante wrote: > Despite taht my user is authenticated, I don't get the data in RADACCT > table, This question is answered in the FAQ. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Radacct table not working properly
Hello, My Radacct table in mysql Freeradius saves only sometimes the values of my users when they log in, does anybody know why? Thanks regards -Original Message- From: freeradius-users-bounces+fruiz002=hotmail@lists.freeradius.org [mailto:freeradius-users-bounces+fruiz002=hotmail@lists.freeradius.org] On Behalf Of Alan DeKok Sent: viernes, 23 de marzo de 2012 13:07 To: FreeRadius users mailing list; FreeRadius users mailing list Subject: Re: Disconnect a Mikrotik NAS client from Daloradius Javier Ruiz Escalante wrote: > I would like to disconnect a client which is connected through a > Mikrotik Hotspot and the command used normally via Chillispot does not > work, I know that I have to use several attributes like session id and > so on, but no clue how to use them. Can somebody give me a clue? Read the mikrotik documentation to see what it needs in order to disconnect a user. Then, configure FreeRADIUS to send those attributes. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html