Re: Accounting assisstance

Timothy M Butterworth <[email protected]>
Newsgroups gmane.comp.freeradius.user
Message-ID <CAO6YxPzNPoW-y2d59U4Mzrk2n3XSCLKP77LjZU=cSFyp3E29aQ@mail.gmail.com>
On Mon, Apr 28, 2025 at 12:19 PM Alan DeKok <[email protected]>
wrote:

> On Apr 28, 2025, at 11:58 AM, Timothy M Butterworth <
> [email protected]> 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/
⠈⠳⣄⠀⠀
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.