Can't able to start FreeRadius2 on pfSense 2.1 Beta1
-
Did you configure freeradius2 ?
In general it should start after you add a listening interface.If it is not running, enable logging and show what syslog tells you or run freeradius in debug mode from console with:
radiusd -X
-
Ya I have configured FreeRadius2 after installation and also assigned listening interface.
After trying "radiusd -X" to debug… bellow logs generated.
Feb 15 05:39:31 radiusd[25590]: rlm_eap: SSL error error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
Feb 15 05:39:31 radiusd[25590]: rlm_eap_tls: Error reading private key file /usr/pbi/freeradius-amd64/etc/raddb/certs/server.pem
Feb 15 05:39:31 radiusd[25590]: rlm_eap: Failed to initialize type tls
Feb 15 05:39:31 radiusd[25590]: /usr/pbi/freeradius-amd64/etc/raddb/eap.conf[2]: Instantiation failed for module "eap"
Feb 15 05:39:31 radiusd[25590]: /usr/pbi/freeradius-amd64/etc/raddb/sites-enabled/default[342]: Failed to find "eap" in the "modules" section.
Feb 15 05:39:31 radiusd[25590]: /usr/pbi/freeradius-amd64/etc/raddb/sites-enabled/default[277]: Errors parsing authenticate section. -
From: http://freeradius.1045715.n5.nabble.com/trouble-seting-up-freeradius-td2768016.html
Straight answer: Password you put in the configuration file of eap.conf have to be same the as the password used to create the private key. -
Now I have configured FreeRadius as per http://doc.pfsense.org/index.php/FreeRADIUS_2.x_package . and its now its working. But while I am enabling SQL Support, Service get Stopped. And also from pfSense terminal, when I am going to connect MySql Server bellow error comes.
ERROR 2002 (HY000): Can't connect to local MySQL Server through socket /tmp/mysql.sock -
@jek:
Now I have configured FreeRadius as per http://doc.pfsense.org/index.php/FreeRADIUS_2.x_package . and its now its working. But while I am enabling SQL Support, Service get Stopped. And also from pfSense terminal, when I am going to connect MySql Server bellow error comes.
ERROR 2002 (HY000): Can't connect to local MySQL Server through socket /tmp/mysql.sockPlease post some more output of "radiusd -X". Before this error there are probably some more logs about mysql.
-
Again me,
try to change follow this thread:
http://forum.pfsense.org/index.php/topic,43675.msg317054.html#msg317054 -
Thanks!… I got my mistake..
The problem was in database, one column was missing. -
Now I am able to connect to MYSQL RADIUS database. but after creating user when ,I am try to authenticate that user using CP bellow error comes "No valid RADIUS responses received".
-
@jek:
Now I am able to connect to MYSQL RADIUS database. but after creating user when ,I am try to authenticate that user using CP bellow error comes "No valid RADIUS responses received".
Did you configure CP as a NAS/Client and with the correct shared secret ?
Try a shared secret without any special characters - for testing -
Thanks!.. Mine mistake was shared secret. Actually I forgot it to configure in CP.