FreeRadius rlm_rest.so not found



  • I'm trying to install openwisp-radius Django app and connect it to pfSense freeradius server.
    It's need to enable rest module by create a soft link like this:

    ln -s /usr/local/etc/raddb/mods-available/rest /usr/local/etc/raddb/mods-enabled/rest
    

    but when I start freeradius by radiusd -X I face the following error:

    /usr/local/etc/raddb/mods-enabled/rest[1]: Failed to link to module 'rlm_rest': Cannot open "/usr/local/lib/freeradius-3.0.20/rlm_rest.so"
    

    Ubuntu/Debian platforms has a freeradius-rest package which I think solves the problem but pfSense/FreeBSD haven't this package.
    So how to solve this problem?



  • Hi,

    Yep , you're right, /usr/local/etc/raddb/mods-available/rest exists, so, when symlinking it it shoudl work ..... if the needed lib existed in the pfSense FreeRadius package.
    Or, it doesn't.

    What about checking the main FreeBSD 11.3 (4 ?) package collection ? The lib comes from there, "as is".


Log in to reply