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

    FreeRaidus2 Extremely Slow or not working?

    Scheduled Pinned Locked Moved Captive Portal
    2 Posts 2 Posters 941 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.
    • M Offline
      mystycs
      last edited by

      I setup Captive Portal and FreeRadius2

      I setup Captive Portal on Wan Side with " Disable MAC filtering"

      And the radius settings below

      IP: 127.0.0.1 Secret Key: test

      I left radius protocol as PAP.

      In Radius2 under services i setup these settings.

      Interfaces I setup 127.0.0.1

      NAS/Clients: I setup 127.0.0.1 and test secret key.

      And user i setup a user with 10 minutes per day.

      Everything works i get the login screen. Bbut when i login. Its really really slow and sometimes i cant even load a webpage.

      Is something being limited?

      1 Reply Last reply Reply Quote 0
      • N Offline
        Nachtfalke
        last edited by

        This does not really sound like a freeradius2 problem.

        You can try to run freeradius2 in debug mode to see what is going on and if it takes long to proceed requests.
        For this stop freeradius service on GUI.
        Go to pfsense console or SSH and type:

        
        radiusd -X
        
        

        Then try to authenticate a user through your CaptivePortal. Yo will see the request and this should be done really fast.

        Further you should try without accounting enabled and restart freeradius and CP. Then try again.
        Accounting information will be written to

        /var/log/radacct/
        

        And the checks for simultaneous use will be done here:

        /var/log/radutmp
        

        So if your HDD is slow or you have to many users then it could be possible that you should connect your freeradius server to an external sql database and do the accounting there.

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