WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: default install of freeradius fails  (Read 4271 times)

Offline littleknowledge

  • Newbie
  • *
  • Posts: 11
default install of freeradius fails
« 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.


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: default install of freeradius fails
« Reply #1 on: September 11, 2012, 11:01:38 PM »
Hi littleknowledge
Did you start radius using:
Code: [Select]
sudo /usr/local/etc/init.d/freeradius startor
Code: [Select]
sudo RADDBDIR=/path/to/your/dir /usr/local/etc/init.d/freeradius start

Offline littleknowledge

  • Newbie
  • *
  • Posts: 11
Re: default install of freeradius fails
« Reply #2 on: September 12, 2012, 12:24:35 PM »
Yes, i have tried that, its the same error. :(

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: default install of freeradius fails
« Reply #3 on: September 12, 2012, 02:22:10 PM »
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.

Offline littleknowledge

  • Newbie
  • *
  • Posts: 11
Re: default install of freeradius fails
« Reply #4 on: September 12, 2012, 06:46:35 PM »
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?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: default install of freeradius fails
« Reply #5 on: September 12, 2012, 09:30:40 PM »
Hi littleknowledge
Quote
.... 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.

Offline littleknowledge

  • Newbie
  • *
  • Posts: 11
Re: default install of freeradius fails
« Reply #6 on: September 13, 2012, 10:48:34 AM »
Thank you Rich, I have requested the update as suggested.

http://forum.tinycorelinux.net/index.php/topic,14025.0.html

Thank you once again for your help.