Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Freeradius3 accounting bugs

    Scheduled Pinned Locked Moved Captive Portal
    22 Posts 8 Posters 2.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      FrottyZ
      last edited by

      Hi, thanks for the replies.
      I will test Start/Stop radius accounting again, but as I said before, this makes users timeout since Last Activity is broken.

      @jaspras If you say it works for you, the only possibility I can think about is a regression in the update from freeradius2 package to 3.
      Then my only option seems to be a clean reinstall.

      1 Reply Last reply Reply Quote 0
      • M
        mke
        last edited by

        When I paste that exactly as below, freeradius stops working some this must be syntax

        john | Simultaneous-use | := | 1

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan
          last edited by

          @mke:

          When I paste that exactly as below, freeradius stops working some this must be syntax

          john | Simultaneous-use | := | 1

          Pasting where ?  ;D

          I strongly advise you to use phpmyadmin.
          Or you could use the mysql command line to INSERT, the web is filled up with zillion examples how to do that.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 0
          • M
            mke
            last edited by

            here

            ![Screen Shot 2018-04-30 at 7.27.33 PM.png](/public/imported_attachments/1/Screen Shot 2018-04-30 at 7.27.33 PM.png)
            ![Screen Shot 2018-04-30 at 7.27.33 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2018-04-30 at 7.27.33 PM.png_thumb)

            1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan
              last edited by

              This is my source : https://www.google.com/search?client=firefox-b&ei=rCDoWsrZPMamsAGTxL64Bg&q=FreeRadius++Simultaneous-Use&oq=FreeRadius++Simultaneous-Use&gs_l=psy-ab.3..0i7i30i19k1l4j0i7i10i30i19k1j0i7i30i19k1j0i19k1l3j0i30i19k1.7776.7776.0.8408.1.1.0.0.0.0.122.122.0j1.1.0….0...1.1.64.psy-ab..0.1.120....0.LJD31UiPcwU (sorry, you have to read a little bit, many people are posting about how not to do it …)

              So, after some reading, you'll discover that you should add at the top of the "users file" this :

              DEFAULT Simultaneous-Use := 1
               Fall-Through = Yes
              

              This can be done using the FreeRadius package like this (edit the first user !) and then add this : see image.

              Over there is also explained why and how to use the command separator, the "|".

              Btw : another solution would be using a sql table, and setting for each user the "Simultaneous-Use := 1" or assign user to a group and make that group using "Simultaneous-Use := 1". This all works.

              simulusage.PNG
              simulusage.PNG_thumb

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • M
                mke
                last edited by

                The option you did on the screenshot also does not work

                1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan
                  last edited by

                  If you edited the first user on the Radius list, you should have this when you inspect the "users" file :
                  see image.

                  I limit users to 2.

                  edit : I also limit every user to 200 Mbytes a day.

                  radiusfree.PNG
                  radiusfree.PNG_thumb

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  1 Reply Last reply Reply Quote 0
                  • M
                    mke
                    last edited by

                    Yep, it does not work

                    Moreover what I want to accomplish is different limit per user.

                    Also I do have checked "Send RADIUS accounting packets to the primary RADIUS server." and start/stop freeradius

                    ![Screen Shot 2018-05-16 at 2.59.42 PM.png](/public/imported_attachments/1/Screen Shot 2018-05-16 at 2.59.42 PM.png)
                    ![Screen Shot 2018-05-16 at 2.59.42 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2018-05-16 at 2.59.42 PM.png_thumb)

                    1 Reply Last reply Reply Quote 0
                    • ontzuevanhussenO
                      ontzuevanhussen
                      last edited by

                      I think you are must studying how to upload picture on forum negate.

                      1 Reply Last reply Reply Quote 0
                      • F
                        free4 Rebel Alliance
                        last edited by free4

                        When you enjoy digging up burried threads a bit too much
                        alt text

                        1 Reply Last reply Reply Quote 0
                        • KOMK
                          KOM
                          last edited by

                          Those are placeholders from when the old forum transitioned to the new one. Images from old posts were lost.

                          1 Reply Last reply Reply Quote 0
                          • A
                            Aubin @jaspras
                            last edited by

                            @jaspras
                            Can you help me with the settings for accounting with MySQL database?

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.