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

    Can't able to start FreeRadius2 on pfSense 2.1 Beta1

    Scheduled Pinned Locked Moved Development
    11 Posts 3 Posters 7.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.
    • J
      jek
      last edited by

      hi,

      I have installed freeradius2 from available packages in pfSense 2.1 Beat 2.1 , but its status shows "stop" in status->services. Can any one help to solve this problem.

      Thanks in advance!

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

        Did you configure freeradius2 ?
        In general it should start after you add a listening interface.

        If it is not running, enable logging and show what syslog tells you or run freeradius in debug mode from console with:

        radiusd -X

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

          Ya I have configured FreeRadius2 after installation and also assigned listening interface.

          After trying "radiusd -X" to debug… bellow logs generated.

          Feb 15 05:39:31 radiusd[25590]: rlm_eap: SSL error error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
          Feb 15 05:39:31 radiusd[25590]: rlm_eap_tls: Error reading private key file /usr/pbi/freeradius-amd64/etc/raddb/certs/server.pem
          Feb 15 05:39:31 radiusd[25590]: rlm_eap: Failed to initialize type tls
          Feb 15 05:39:31 radiusd[25590]: /usr/pbi/freeradius-amd64/etc/raddb/eap.conf[2]: Instantiation failed for module "eap"
          Feb 15 05:39:31 radiusd[25590]: /usr/pbi/freeradius-amd64/etc/raddb/sites-enabled/default[342]: Failed to find "eap" in the "modules" section.
          Feb 15 05:39:31 radiusd[25590]: /usr/pbi/freeradius-amd64/etc/raddb/sites-enabled/default[277]: Errors parsing authenticate section.

          1 Reply Last reply Reply Quote 0
          • P
            pszafer
            last edited by

            From: http://freeradius.1045715.n5.nabble.com/trouble-seting-up-freeradius-td2768016.html
            Straight answer: Password you put in the configuration file of eap.conf have to be same the as the password used to create the private key.

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

              Now I have configured FreeRadius as per http://doc.pfsense.org/index.php/FreeRADIUS_2.x_package . and its now its working. But while I am enabling SQL Support, Service get Stopped. And also from pfSense terminal, when I am going to connect MySql Server bellow error comes.
              ERROR 2002 (HY000): Can't connect to local MySQL Server through socket /tmp/mysql.sock

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

                @jek:

                Now I have configured FreeRadius as per http://doc.pfsense.org/index.php/FreeRADIUS_2.x_package . and its now its working. But while I am enabling SQL Support, Service get Stopped. And also from pfSense terminal, when I am going to connect MySql Server bellow error comes.
                ERROR 2002 (HY000): Can't connect to local MySQL Server through socket /tmp/mysql.sock

                Please post some more output of "radiusd -X". Before this error there are probably some more logs about mysql.

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

                  Again me,

                  try to change follow this thread:
                  http://forum.pfsense.org/index.php/topic,43675.msg317054.html#msg317054

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

                    Thanks!… I got my mistake..
                    The problem was in database, one column was missing.

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

                      Now I am able to connect to MYSQL RADIUS database. but after creating user when ,I am try to authenticate that user using CP bellow error comes "No valid RADIUS responses received".

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

                        @jek:

                        Now I am able to connect to MYSQL RADIUS database. but after creating user when ,I am try to authenticate that user using CP bellow error comes "No valid RADIUS responses received".

                        Did you configure CP as a NAS/Client and with the correct shared secret ?
                        Try a shared secret without any special characters - for testing

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

                          Thanks!.. Mine mistake was shared secret. Actually I forgot it to configure in CP.

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