Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: littleknowledge on September 11, 2012, 04:25:51 PM
-
Good day,
I have been trying to get an install of tiny core with freeradius working but there seems to be an outdated dependency and I dont know enough about re compiling code to fix it.
when i do a fresh install and install freeradius.tcz, in theory it should grab all the dependencies required and start, which it does. But when I run the program (radiusd -X) the bootstrap script to create certificates (which runs when its a fresh install) times itself out and doesnt create the proper certificates.... This was easily fixed when i went into /usr/local/etc/raddb directory and started (sudo ./bootstrap) the script manually. However after creating the (default) certificates I get this error when running radiusd -X:
rlm_eap: SSL error error:06074079:digital envelope routines:EVP_PBE_CipherInit:unknown pbe algorithm
I went one step further and downloaded the latest freeradius and compiled from source (using the very basic configure, make, make install) and this worked flawlessly (after satisfying the dependencies)... but I could not keep it between reboots... I have searched for the error (mentioned above) and no one else has come across it, so perhaps its something I am over looking.... Any suggestions would be appreciated it.
-
Hi littleknowledge
Did you start radius using:
sudo /usr/local/etc/init.d/freeradius start
or
sudo RADDBDIR=/path/to/your/dir /usr/local/etc/init.d/freeradius start
-
Yes, i have tried that, its the same error. :(
-
Hi littleknowledge
I read on one site that the first time you run radiusd -X it has to be run as root so that it has proper permissions
for setting up certificates or something.
-
Hi Rich, thanks for your response. I have tried to run as root and as normal user.
I am thinking that the module used by freeradius is outdated.... one reason i think that is because a direct dependency of freeradius.tcz is libssl-0.9.8 but the other dependencies (looking through freeradius.tcz.dep) use openssl-1.0.0 (the latest) as a co dependency.... which is why i think the freeradius module to read certificates cannot 'decipher' the certificate created.
.... is there a tiny-core-approved way to contact the author of an extension and ask/beg to update?
-
Hi littleknowledge
.... is there a tiny-core-approved way to contact the author of an extension and ask/beg to update?
Yes, start a thread under TCE Talk->Extension Requests requesting an update. Include a link to this thread
since it shows what you tried and why you think it needs an update.
-
Thank you Rich, I have requested the update as suggested.
http://forum.tinycorelinux.net/index.php/topic,14025.0.html (http://forum.tinycorelinux.net/index.php/topic,14025.0.html)
Thank you once again for your help.