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

    FreeRadius won't start (differs from MaxC post)

    Scheduled Pinned Locked Moved pfSense Packages
    26 Posts 3 Posters 9.6k 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.
    • jahonixJ
      jahonix
      last edited by

      On a vanilla system updated to 2006-12-23 I installed the freeradius package but the service won't start.
      Deinstalled from webGUI and trying to manually add:

      pkg_add -r freeradius

      gives this error:

      warning: package 'freeradius-1.1.3_1' requires 'gdbm-1.8.3_3', but 'gdbm-1.8.3_2' is installed

      It won't start also but might be a hint…
      Just deinstalled the package as I don't need it on this box.

      jahonix

      1 Reply Last reply Reply Quote 0
      • J
        jeroen234
        last edited by

        the pfsense freeradius package is talered to pfsense the one from freebsd needs more libs then pfsense has
        in the pfsense freeradius gui there is a small gui error
        if you replace freeradius.xml and freeradius.inc on location /usr/local/pkg
        with the same files from http://wlelystad.homeip.net/pfsense/freeradius/

        and then go to freeradius settings on the gui and save then the correct freeradius config is made and freeradius will start

        1 Reply Last reply Reply Quote 0
        • jahonixJ
          jahonix
          last edited by

          yep, just got it working this way.
          Thanks alot - especially for the extended options accessible via webGUI!

          Now I can lockout the kids at night when they are supposed to sleep (if it works, haven't tested it yet but I am confident…)

          jahonix

          1 Reply Last reply Reply Quote 0
          • J
            jeroen234
            last edited by

            for that option you need to config the captive portal with these options:
            Hard timeout  leave blank
            send RADIUS accounting packets
            Reauthenticate connected users every minute
            Accounting updates interim update

            then pfsense will check every min if the user is still alowed

            1 Reply Last reply Reply Quote 0
            • J
              Justinw
              last edited by

              Well the updates look great, apparently I am still doing something wrong though here is the break down again:

              With your updates I am now getting this error :

              radiusd.conf[246] Failed to link to module 'rlm_expr': /usr/local/lib/rlm_expr.a: invalid file format

              When I use an invalid bind address it does say this:

              There appears to be another RADIUS server running on the authentication port 1812

              Without jeroen234 upates I got the error on line 226 as previously posted…

              It sounds like I may just still have a few bad lib files that aren't being built correclty, even with a fresh radius install, I'm not sure exactly why that is, but I would greatly appreciate if you could post the other lib files on your site for radius as well and I can see what I can do from there.  Thanks again for all your help.

              1 Reply Last reply Reply Quote 0
              • J
                jeroen234
                last edited by

                i think that you better can try a complete fresh install of pfsense
                http://pfsense.com/~sullrich/1.0.1-SNAPSHOT-12-23-2006/pfSense.iso.gz
                i can post the 50 or so freeradius files
                but if youre hd is not good then that makes no sense
                and my libs are the same as that you installed with the pfsense freeradius package

                1 Reply Last reply Reply Quote 0
                • J
                  Justinw
                  last edited by

                  Working now

                  I read sergu a post by sergu and what he did worked for me except I added a step

                  Uninstall package via gui
                  delete package with pkg_delete
                  reinstall the package with pkg_add
                  Install the package gui again

                  Currently radiusd is running

                  why?? I don't know

                  1 Reply Last reply Reply Quote 0
                  • J
                    jeroen234
                    last edited by

                    it works that is good  ;D

                    1 Reply Last reply Reply Quote 0
                    • J
                      Justinw
                      last edited by

                      It seems to be working great, I want to thank you again for all your help.  After I got it working I uploaded your package updates, they look great.  I do have one question though, what does the Ip-address field do, I know it uses attribute 8, framed-ip, but I'm not sure what its application is, could you give more info on that?  Is it supposed to change your ip address dynamically to the on assigned?

                      I'm going to reload a second drive and see if I can trace the problem down so my 1 million posts can add up to something now.  Thanks again!

                      1 Reply Last reply Reply Quote 0
                      • J
                        jeroen234
                        last edited by

                        the ip option is for the Issue IP Addresses via RADIUS server option of the pfsense pppoe server

                        there was some work going on to get this also in the vpn ptpp server

                        1 Reply Last reply Reply Quote 0
                        • J
                          Justinw
                          last edited by

                          Well here is the update on the radius package:

                          Install Package
                          go to terminal issue:
                          pkg_delete freeradius-1.1.3_1
                          (some errors about not being to delete everything will come up, that's fine)
                          pkg_add -r freeradius
                          start the service, done deal

                          Sorry I don't know more than that but it should make it easier for the problem to be fixed, thanks to everyone who helpmed me out.

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