accounting

John Martins jm829580 at gmail.com
Tue Jul 3 01:52:10 CEST 2018


Hello,

The module sql is configured as per wiki, I suppose it's correct. How can I
know if it is properly configured?

have the NAS send the server accounting packets. the NAS is sending
packets, plus I test it also from terminal with radtest.
Can you tell me what do you mean when you say that the NAS is not sending
packets? the NAS is my router, right? it is sending them.

thanks


On Tue, Jul 3, 2018 at 1:41 AM, Alan DeKok <aland at deployingradius.com>
wrote:

> On Jul 2, 2018, at 7:28 PM, John Martins <jm829580 at gmail.com> wrote:
> >   - What you are trying to do: I'm trying to setup radius in order that
> it
> >   inserts data in radacct.
>
>   a) configure the "sql" module
>   b) have the NAS send the server accounting packets.
>
> >   - why you are trying to do it: because it does not insert data despite
> >   it authenticates the users properly.
>
>   authentication != accounting
>
> >   - what you expect the server to do: to insert data in radacct table.
>
>   It only does that when it receives accounting packets.
>
> >   - what the server does instead (i.e. debug output).
>
>   Which shows no accounting packets.  And therefore, nothing to be
> inserted into "radacct".
>
>   The server can't magically invent accounting data.  The NAS *MUST* send
> accounting data to the server.
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/
> list/users.html
>


More information about the Freeradius-Users mailing list