format input to radclient (or radtest) for EAP-TTLS and EAP-PEAK (MSCHAPv2) test

2010-05-02 Thread bslee (HKBU)
Hi, I am using v2.1.8 in SuSE 11. Question1: I don't have the client and nas environment right now. I want to input "EAP-TTLS" and "EAP-PEAP (MSCHAPv2)" respectively into radclient (or radtest) to test my freeradius configuration. What should be the input to radclient (or radtest) (i.e

freeradius + PHP script

2010-04-29 Thread bslee (HKBU)
Hi, How can I configure freeradius to invoke a PHP script when an authentication request comes? The PHP script will access an MYSQL database and then returns reply to freeradius. Thanks & Regards, BS __ Information from ESET Smart Security, version of virus signature databas

error message connection to MySQL. (Error Message :rlm_sql (sql): There are no DB handles to use! skipped 5, tried to connect 0)

2010-04-28 Thread bslee (HKBU)
Hi, I try to authenticate freeradius 2.1.8 using mysql5.0.26. Information of my system: 1. OS is SuSE Linux SLES10 SP2. 2. I have installed following RPM for FreeRadius 2.1.8: #rpm -qa |grep freeradius freeradius-server-utils-2.1.8-1.1 freeradius-client-libs-1.1.6-4.1 freeradius-server-2.1.8-1