Accounting assisstance

Timothy M Butterworth timothy.m.butterworth at gmail.com
Mon Apr 28 20:22:28 UTC 2025


On Mon, Apr 28, 2025 at 12:19 PM Alan DeKok <aland at deployingradius.com>
wrote:

> On Apr 28, 2025, at 11:58 AM, Timothy M Butterworth <
> timothy.m.butterworth at gmail.com> wrote:
> > I did not destroy the configuration. I am using the Debian default config
> > plus the additions I made and posted above. Attached is the full config
> > files.
>
>   As per the documentation:  http://wiki.freeradius.org/list-help
>
>   We do not need to see the configuration files.
>
>   We DO need to see the debug output.
>
>   ALL OF THE DEBUG OUTPUT.
>
>   When the documentation says "post all of it and don't edit it", what
> that means is "post all of it and don't edit it".
>
>   Plus, the debug output you posted makes it VERY clear that you edited
> the file sites-available/default, and removed everything related to
> accounting.
>
>   Just read what you posted to the list.  You will see:
>
> * receiving Access-Request
> * processing the Access-Request through all kinds of configuration,
> modules, etc.
> * replying to the Access-Request
>
>   Then for accounting:
>
> * receiving Accounting-Request
> * nothing happens
> * no reply is sent to the client.
>
>   Conclusion: you edited sites-available/default, and removed everything
> related to accounting.  The debug output doesn't lie.
>
>   Now stop arguing, and go fix the configuration.  Use the default
> configuration.  It works.
>

Alan,

Thanks for your help. I think I figured out what the root problem was. I
installed freeradius-mysql by mistake. I purged all of the freeradius
packages and reinstalled and now it works. Is there a way to get FreeRadius
to log commands entered on a Cisco device?

Right now I just get the following entries:
Mon Apr 28 15:54:43 2025
       Acct-Session-Id = "<Removed>"
       User-Name = "tmb"
       Acct-Authentic = RADIUS
       Acct-Terminate-Cause = User-Request
       Acct-Session-Time = 387
       Acct-Status-Type = Stop
       NAS-Port = 0
       NAS-Port-Id = "tty0"
       NAS-Port-Type = Async
       Calling-Station-Id = "async"
       Service-Type = NAS-Prompt-User
       NAS-IP-Address = 10.1.1.1
       Acct-Delay-Time = 0
       Event-Timestamp = "Apr 28 2025 15:54:43 EDT"
       Acct-Unique-Session-Id = "<Removed>"
       Timestamp = 1745870083
<http://voice.google.com/calls?a=nc,%2B11745870083>

Thanks,

Tim



>
>   Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀


More information about the Freeradius-Users mailing list