FreeRadius won't start (differs from MaxC post)
if i have made the port forward on pfsense correct then you can access my webserver and download the file from it
hmm, looks like its still not forwarding right just yet, thanks for your effort to help me out though.
oeps the nated ip mist a 1 so pfsense was sending traffic to a ghost pc
thanks for reporting
I got the file and set the permissions and replaced the old one, they differed by 600 bytes or so. I still get the same error as before, and I started my install fresh, then updated to 12-23, then installed the package, still had the error, tried to replace the file with the one provided above, still has an error. If anyone else can confirm similiar problems, that would be great. Any other suggestions would also be appreciated.
i see there a more files of rlm_exec
i have :
ls -l rlm_exec*
lrwxr-xr-x 1 root wheel 11 Nov 25 22:26 rlm_exec-1.1.3.la -> rlm_exec.la
-rwxr-xr-x 1 root wheel 8676 Nov 25 22:26 rlm_exec-1.1.3.so
-rw-r–r-- 1 root wheel 4326 Nov 25 22:26 rlm_exec.a
-rwxr-xr-x 1 root wheel 880 Nov 25 22:26 rlm_exec.la
lrwxr-xr-x 1 root wheel 17 Nov 25 22:26 rlm_exec.so -> rlm_exec-1.1.3.so
Here is what I see:
lrwxr-xr-x 1 root wheel 11 Dec 3 18:45 rlm_exec-1.1.3.la -> rlm_exec.la
-rwxr-xr-x 1 root wheel 8676 Dec 3 18:40 rlm_exec-1.1.3.so
-rwxrwxrwx 1 root wheel 4326 Dec 28 22:32 rlm_exec.a
-rw-r–r-- 1 root wheel 4914 Dec 3 18:45 rlm_exec.aold
-rwxr-xr-x 1 root wheel 816 Dec 3 18:45 rlm_exec.la
lrwxr-xr-x 1 root wheel 17 Dec 3 18:40 rlm_exec.so -> rlm_exec-1.1.3.so
I did a chmod 777 on it just to see if it had anything to do with permissions, and .aold is the previous rlm_exec.a other than rlm_exec.la it looks like all of them are the same size
can you test if u copy this file to /usr/local/etc/raddb/radiusd.conf
edit this line to youre ip
bind_address = 188.8.131.52
if it then works for you ?
if that works then download
from my website to /usr/local/pkg/freeradius.inc
As a matter of fact it does seem to get a clean startup, I don't see the service start in status > services, but when I try and start it again it says its running and the error is gone. I made some changes in the gui and when the new conf file was created the same error came back, I wonder if there is a problem with how it is being written on the fly. I'll look into it more, thanks again for your help.
if you make a chanche in the gui then it writes the error back
the 2 gui files on my website have the error removed and don't write it to disk
also it add's some extra's
jahonix last edited by
On a vanilla system updated to 2006-12-23 I installed the freeradius package but the service won't start.
Deinstalled from webGUI and trying to manually add:
pkg_add -r freeradius
gives this error:
warning: package 'freeradius-1.1.3_1' requires 'gdbm-1.8.3_3', but 'gdbm-1.8.3_2' is installed
It won't start also but might be a hint…
Just deinstalled the package as I don't need it on this box.
the pfsense freeradius package is talered to pfsense the one from freebsd needs more libs then pfsense has
in the pfsense freeradius gui there is a small gui error
if you replace freeradius.xml and freeradius.inc on location /usr/local/pkg
with the same files from http://wlelystad.homeip.net/pfsense/freeradius/
and then go to freeradius settings on the gui and save then the correct freeradius config is made and freeradius will start
jahonix last edited by
yep, just got it working this way.
Thanks alot - especially for the extended options accessible via webGUI!
Now I can lockout the kids at night when they are supposed to sleep (if it works, haven't tested it yet but I am confident…)
for that option you need to config the captive portal with these options:
Hard timeout leave blank
send RADIUS accounting packets
Reauthenticate connected users every minute
Accounting updates interim update
then pfsense will check every min if the user is still alowed
Well the updates look great, apparently I am still doing something wrong though here is the break down again:
With your updates I am now getting this error :
radiusd.conf Failed to link to module 'rlm_expr': /usr/local/lib/rlm_expr.a: invalid file format
When I use an invalid bind address it does say this:
There appears to be another RADIUS server running on the authentication port 1812
Without jeroen234 upates I got the error on line 226 as previously posted…
It sounds like I may just still have a few bad lib files that aren't being built correclty, even with a fresh radius install, I'm not sure exactly why that is, but I would greatly appreciate if you could post the other lib files on your site for radius as well and I can see what I can do from there. Thanks again for all your help.
i think that you better can try a complete fresh install of pfsense
i can post the 50 or so freeradius files
but if youre hd is not good then that makes no sense
and my libs are the same as that you installed with the pfsense freeradius package
I read sergu a post by sergu and what he did worked for me except I added a step
Uninstall package via gui
delete package with pkg_delete
reinstall the package with pkg_add
Install the package gui again
Currently radiusd is running
why?? I don't know
it works that is good ;D
It seems to be working great, I want to thank you again for all your help. After I got it working I uploaded your package updates, they look great. I do have one question though, what does the Ip-address field do, I know it uses attribute 8, framed-ip, but I'm not sure what its application is, could you give more info on that? Is it supposed to change your ip address dynamically to the on assigned?
I'm going to reload a second drive and see if I can trace the problem down so my 1 million posts can add up to something now. Thanks again!
the ip option is for the Issue IP Addresses via RADIUS server option of the pfsense pppoe server
there was some work going on to get this also in the vpn ptpp server
Well here is the update on the radius package:
go to terminal issue:
(some errors about not being to delete everything will come up, that's fine)
pkg_add -r freeradius
start the service, done deal
Sorry I don't know more than that but it should make it easier for the problem to be fixed, thanks to everyone who helpmed me out.