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

    Unable to authenticate even using radtest using freeRADIUS

    Scheduled Pinned Locked Moved pfSense Packages
    15 Posts 3 Posters 7.4k 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.
    • S
      Snailkhan
      last edited by

      i did factory default of pfsense and restored using the configuration file exported earlier via builtin backup/restore ..
      but after restore same isssue .. as in just above update..

      Please help

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        Stop restoring broken configuration, perhaps. There's no such nonsense needed to get FreeRADIUS working really. If you followed some god knows what 3+years old howto, simply restart from scratch.

        1 Reply Last reply Reply Quote 0
        • S
          Snailkhan
          last edited by

          @doktornotor:

          Stop restoring broken configuration, perhaps. There's no such nonsense needed to get FreeRADIUS working really. If you followed some god knows what 3+years old howto, simply restart from scratch.

          i do not see that guide as invalid ..

          so is there anyway to reset the configs of freeradius to default ?

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            Yeah. Edit the stuff out of config.xml backup and restore it.

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              What nano version do you have installed the 4GB one?

              If freerad doesn't start its never going to work..  Really all you should have to do is click click to install the package..  I would have to fire up a copy of the nanobsd image to see if that has issues with installing the package?  If I get a chance to convert it to a vmdk I will boot it on my vm host and see if installs the package ok, etc.

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                Ok, so I converted the img to vmdk, created a 64bit freebsd vm.. Added the disk, booted.. Ran through the config wizard.  Click Click on the freerad2 package.. Created an interface, bing bang zoom up and running.

                Where in that guide does it have you create the nas/client for your host?  You have it listen on 127.0.0.1 (loopback) what IP are you talking from If you went through that guide blind did and not understanding what you were actually doing and just put in 192.168.10.253 like the guide not going to work.. And again if the service never start its never ever going to work..

                freeradonnano.png
                freeradonnano.png_thumb
                authworking.png
                authworking.png_thumb

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                1 Reply Last reply Reply Quote 0
                • S
                  Snailkhan
                  last edited by

                  @johnpoz:

                  Ok, so I converted the img to vmdk, created a 64bit freebsd vm.. Added the disk, booted.. Ran through the config wizard.  Click Click on the freerad2 package.. Created an interface, bing bang zoom up and running.

                  Where in that guide does it have you create the nas/client for your host?  You have it listen on 127.0.0.1 (loopback) what IP are you talking from If you went through that guide blind did and not understanding what you were actually doing and just put in 192.168.10.253 like the guide not going to work.. And again if the service never start its never ever going to work..

                  Immense thanks for your replies .
                  yes i am on nanobsd 4gb image. 2gb ram. 32bit one.
                  ip addressing were obviously as per my setup when i tried to follow that article.

                  i configured nas for my AP but that was not working.

                  i also setup nas for loopback and tried to test as they said in that article but it wont work .

                  i only later found that the service was not runing.

                  it seems that configs are having some issue.

                  i will try to remove freeradius configs from backuped xml file and will try again  Factory defaulting it and restoring with modified backuped file.

                  Also is it necessary to factory default befor restoring the modified configs ? i mean is a restore overwrite function or a merge ?

                  1 Reply Last reply Reply Quote 0
                  • S
                    Snailkhan
                    last edited by

                    @johnpoz:

                    What nano version do you have installed the 4GB one?

                    If freerad doesn't start its never going to work..  Really all you should have to do is click click to install the package..  I would have to fire up a copy of the nanobsd image to see if that has issues with installing the package?  If I get a chance to convert it to a vmdk I will boot it on my vm host and see if installs the package ok, etc.

                    i have installed / uninstalled alot of times.

                    here is a log for reinstal which completes with sucess but cannot start service.

                    Removing freeradius2 components…
                    Tabs items... done.
                    Menu items... done.
                    Services... done.
                    Loading package instructions...
                    Deinstall commands... done.
                    Removing package instructions...done.
                    Auxiliary files... done.
                    Package XML... done.
                    Configuration... done.
                    Beginning package installation for freeradius2 .
                    Downloading package configuration file... done.
                    Saving updated package information... done.
                    Downloading freeradius2 and its dependencies...
                    Checking for package installation... Loading package configuration... done.
                    Configuring package components...
                    Loading package configuration... done.
                    Additional files... done.
                    Loading package instructions...
                    Custom commands...
                    Executing custom_php_install_command()...done.
                    Executing custom_php_resync_config_command()...done.
                    Menu items... done.
                    Integrated Tab items... done.
                    Services... done.
                    Writing configuration... done.

                    Package reinstalled.

                    logs for removal/installaiton wil be posted.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Snailkhan
                      last edited by

                      I formated the thumb drive.
                      Using Rufus copied the 32bit nano bsd 4gb 2.2.5
                      Booted it.

                      Configured interfaces. Changed tmp and var sizes to 250mb.
                      System is 2gb ram and 1.6ghz1.6ghz atom n270

                      Tried to install free radius and after half hour still hanged / stuck at  extracting imageimage.
                      What's doing this? I had been running snort on it and it was working flawlessly once setup.. And was blocking attackes and I had tuned that…

                      Now no extra  package is installed. Also in all of my above tastings  though snort was installed but it was disabled on interfaces..

                      Update :

                      Accessed pfsense gui from another system.  Freeradius is not appearing in ui

                      But I tried the same image in VMware workstation and it worked perfectly.

                      Now it certainly is  local system issue but no idea what is it.

                      I have 4gb Kingston usb write speed 7-8 MBps.

                      In VMware I dd ed the image to a16 gb vmdk harddisk

                      I should have made it 4gb so that after installation of all required packages I could have dded it to my usb..

                      For that I need to make sure my vmdk size matches that of usb..

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by

                        "In VMware I dd ed the image to a16 gb vmdk harddisk"

                        In vm if your using the nano, why would you make it a larger disk..  I just did a convert on the img to vmdk via v2v software.. Booted it..  Not sure why you think you need to change tmp and var sizes??

                        usb of 7-8MBps??  Uggghhh that is slow…  that is not even USB 2 speeds..

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                        1 Reply Last reply Reply Quote 0
                        • S
                          Snailkhan
                          last edited by

                          update:

                          yesterday i saw an update for freeradius and i reinstaleld it and now all is working..  strange  issue …

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