-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
freeradius3-default: radiusd does not start #23188
Comments
PCRE issues are not related, now it is built against libc RE support. |
Note that the file |
Thanks, @odi79, for your helpful post: I can't reach to fix the third issue. Do I need to download the version which has that commit version you said? |
Glad that I'm not the only one attempting to get freeradius working under OpenWrt, @morales-alex . The missing file
Does anybody know the root cause of the second issue and can fix it? The content of |
Situation unchanged with OpenWrt 23.05.3 :-( |
Found out most probably second issue solution :
or edit /etc/freeradius3/mods-available/eap on running OpenWrt , this is found after digging through the alpinelinux's freeradius package , not really sure on why commenting in "client" variable is still being evaluated by freeradius. On short test, no more error with second issue. [EDIT] |
Thanks for looking into it @trippleflux and posting your findings! |
Found out why the first parsing error occurs. The rfc4072 is incorrectly not included in the release.
|
Have you progressed on this ticket? |
When downloading a current OpenWRT 23.05.5 and installing freeradius3-default on it, one still faces the same issues as at the beginning of this year. However, I hope that we now collected all needed steps/resolutions in this ticket to allow one of the maintainers/developers to fix the issues. Does anybody know who this ticket should be assigned to? |
Same issue. Can we bump this up? Been a while. |
@sqrammi Can we have an updated version that includes that RFC? Or is there a way to build it by ourselves, with complete details on how to build one? Thanks! |
@qzhwang Here is a better-formatted patch. You patch the freeradius Makefile, like this:
|
Thanks @sqrammi for the diff! But I've been kinda trying not to build it myself. I mean if the build is broken 'coz of this, can we patch the Makefile and create a new package that can be installed by opkg? |
@qzhwang I'm not involved with the openwrt build boxes. You would need to provide this as a patch and PR for the openwrt team to accept into their mainline code, and then eventually the default packages from openwrt would work, once they build packages based on the changes. |
@sqrammi ohh, I see. Thought you were a maintainer. Never mind. Thanks for the help anyways! |
Dear @LucileQ, @dangowrt, @tohojo, @champtar, @hauke, @cotequeiroz, @Robby-, @yangfl, @audricschiltknecht, @ja-pa, @jefferyto, @uedvt359, @hnyman, @ematsu, @odmdas, @neheb, @zhaojh329, @crza, @predators46, @esaaprillia, You have contributed in the past about freeradius in OpenWrt, can you look this ticket? Thanks in advance. |
as explained above overcomes this problem. I have tried quickly radiusd -X everything works as desired. i have added perl module to freeradius
|
@predators46 Could you help post some details on how you get 3.2.6 working on OpenWrt? I'm only getting PS, not sure how this is related to Perl... |
If you use OpenWRT version 21 you don't need libopenssl-legacy. but if you use openwrt version 23 you need libopenssl-legacy. but if you want to use pcre in freeradius you can build it in openwrt version 21 and don't need libopenssl-legacy. If you want to use pcre2 in freeradius you need to wait for freeradius4 to be released in the stable branch how to test freeradius3 is running as desired you need to install freeradius3-default and use the radiusd -X command in terminal/putty notes : perl has nothing to do with this problem |
Thanks @predators46 . I just installed |
Again, I'm getting |
|
Maintainer: none?
Environment: tested with openwrt-23.05.2-x86-64-generic (and also with ath79-generic-glinet_gl-ar750)
Description:
radiusd fails to start after installing the basic freeradius3 packages using "opkg install freeradius3-default".
Back in October 2023 (at times of openwrt-23.05.0-rc4), everything was working.
Currently the following steps/workarounds are needed to get started:
1)
to avoid
This is issue #21428.
2)
Comment out some lines in
/etc/freeradius3/sites-available/default
(e.g. by usingsed -i '/^\tif (EAP-Key-Name/,+4 s/^/#/' /etc/freeradius3/sites-available/default
)to avoid
Note that this is just a quick workaround to get rid of the message and not a solution. What is the root cause of this error?
3)
Add missing file
/etc/freeradius3/mods-config/attr_filter/coa
to avoidThis was already fixed by @predators46 in repository (master branch) with 104098c but is not yet available in the downloadable package.
With 1) to 3),
radiusd -X
starts again.I don't know whether it is related, but freeradius3 issues started for me with https://forum.openwrt.org/t/freeradius3-packages-missing/176271/2 caused by #22006 and further tracked in #22532. However, #22670/ #22666 made the package compile/build again.
Currently issue #22576 is still open. It might improve something...?
In my opinion, "freeradius3" is a pretty basic package and should work properly out-of-the-box in the currently released OpenWrt version. It is unfortunate that it does not work for weeks now. Happy for everybody who can help fix it!
The text was updated successfully, but these errors were encountered: