Navigation

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

    Daloradius in pfSense

    Installation and Upgrades
    3
    4
    2222
    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.
    • H
      haghighi last edited by

      Hey guys
      When i insert username and password in daloradius and click on login button, server returns this error:

      Warning: include_once(DB.php): failed to open stream: No such file or directory in /usr/local/www/daloradius/library/opendb.php on line 84 Warning: include_once(): Failed opening 'DB.php' for inclusion (include_path='.:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg') in /usr/local/www/daloradius/library/opendb.php on line 84 Fatal error: Class 'DB' not found in /usr/local/www/daloradius/library/opendb.php on line 86

      how can i fix that?!
      tnx

      1 Reply Last reply Reply Quote 0
      • stephenw10
        stephenw10 Netgate Administrator last edited by

        Clearly pfSense is missing some required components. Do you have any links to posts where it has been successfully installed? I can find many posts with errors identical to yours.

        pfSense is deliberately cut down to minimise it's attack surface. If you do get this to run you will probably have to redo all your work every time you update pfSense or stick with an old possible vulnerable version. You would be much better off running a separate machine as an authentication server and running dalo on that.

        Steve

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

          Agreed - it's best to run authentication from a separate machine. I run FreeRadius on a separate Centos server and it works perfectly. Just make sure the Radius server is secured behind a separate firewall which only allows traffic (specifically to the Radius port) from the pfSense box. I have a number of remote sites which also use this same central Radius system for wifi access, otherwise I could operate my Radius server from the trusted network and avoid having to firewall it.

          1 Reply Last reply Reply Quote 0
          • H
            haghighi last edited by

            tnx dear stephenw10 and muswellhillbilly, :)
            unfortunately i have to do that, run a separate server

            1 Reply Last reply Reply Quote 0
            • First post
              Last post