OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • New Appliance - FreeRADIUS NOT WORKING
« previous next »
  • Print
Pages: [1]

Author Topic: New Appliance - FreeRADIUS NOT WORKING  (Read 1363 times)

NW4FUN

  • Full Member
  • ***
  • Posts: 116
  • Karma: 1
    • View Profile
New Appliance - FreeRADIUS NOT WORKING
« on: March 19, 2022, 05:30:50 pm »
Hello,
I've upped my appliance and had a clean install of OPNsense. Currently running 22.1.3

After having configured everything as it was on the old appliance, I've noticed FreeRADIUS refuses to start giving the below error in its logs:

/usr/local/etc/raddb/mods-enabled/pap[13]: Failed to link to module 'rlm_pap': Cannot open "/usr/local/lib/freeradius-3*/rlm_pap.so"

I have no idea how to fix this and, oddly enough, when I tried to uninstall the plugin and manually deleted via shell /usr/local/etc/raddb when I reinstall FreeRADIUS I find all my settings as well as users back on the GUI

WHAT AM I MISSING???

 :-[
Logged

Marten

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: New Appliance - FreeRADIUS NOT WORKING
« Reply #1 on: July 12, 2022, 02:44:23 pm »
Hi ,

I have patched an test-box to 22.1.10 en then installed FreeRadius, enabled it and have the same issue.

Code: [Select]
/usr/local/etc/rc.d/radiusd debug ends with:

~~~
/usr/local/etc/raddb/mods-enabled/pap[13]: Failed to link to module 'rlm_pap': Cannot open "/usr/local/lib/freeradius-3*/rlm_pap.so"

and
Code: [Select]
ls -lh /usr/local/lib/freeradius-3*/rlm_pap.so
-rwxr-xr-x  1 root  wheel    29K Jul  6 03:24 /usr/local/lib/freeradius-3.0.25/rlm_pap.so
Kind regards Marten



« Last Edit: July 12, 2022, 03:31:24 pm by Marten »
Logged

Marten

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: New Appliance - FreeRADIUS NOT WORKING
« Reply #2 on: July 12, 2022, 03:29:52 pm »
in /usr/local/etc/raddb/radiusd.conf I canged
Code: [Select]
#libdir = /usr/local/lib/freeradius-3*
libdir = /usr/local/lib/freeradius-3.0.25
Then got this notification:
Code: [Select]
/usr/local/etc/rc.d/radiusd debug
/usr/local/etc/raddb/mods-enabled/pap[13]:  \
Failed to link to module 'rlm_pap': /usr/local/lib/freeradius-3.0.25/rlm_pap.so: Undefined symbol "EVP_sha3_224"

That points in the direction of crypto libs...

Since I change most systems from OpenSSL to LibreSSL, changed that back to Open SSL, and now Radius starts...

My gues is that FreeRadius has no LibreSSL included.... 


cheers Marten
« Last Edit: July 12, 2022, 04:12:00 pm by Marten »
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: New Appliance - FreeRADIUS NOT WORKING
« Reply #3 on: July 12, 2022, 05:20:40 pm »
Correct, Freeradius doesnt like libressl
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • New Appliance - FreeRADIUS NOT WORKING
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2