Posts

Showing posts with the label Radiator Radius

Testing Radiator Radius via PHP Client

1. Install Apache and PHP with radius module. reference : http://freeradius.org/mod_auth_radius/ (XAMPP Package has pre-installed radius module, you can use this for alternative installation) 2. Create a PHP script for the authentication test, use the content below. <html> <head><title>RSA Test</title></head> <body bgcolor=#ffc7 text=#000000> <?php $challenge = false; $loginAccepted = false; $error = false; if (isset($_POST['uname'])) { $radius = radius_auth_open(); if (!radius_add_server($radius,'[IP ADDRESS]',[PORT],'[secret]',60,1)) { $error = radius_strerror($radius); } else if (!radius_create_request($radius,RADIUS_ACCESS_REQUEST)) { $error = radius_strerror($radius); } else { radius_put_attr($radius,RADIUS_USER_NAME,$_POST['uname']); if (isset($_POST['challenge'])) { radius_put_attr($radius,RADIUS_USER_PASSWORD,$_POST['challenge...

Radiator Radius Installation connecting to ORACLE (CentOS)

1. Download and install the Oracle client connectors. http://www.oracle.com/index.html oracle-instantclient-basic-10.2.0.3-1.i386.rpm oracle-instantclient-devel-10.2.0.3-1.i386.rpm oracle-instantclient-sqlplus-10.2.0.3-1.i386.rpm rpm -Uvh oracle-instantclient-basic-10.2.0.3-1.i386.rpm rpm -Uvh oracle-instantclient-devel-10.2.0.3-1.i386.rpm rpm -Uvh oracle-instantclient-sqlplus-10.2.0.3-1.i386.rpm 2. Set the environment variables. # ORACLE_HOME=/usr/lib/oracle/10.2.0.3/client/lib # export ORACLE_HOME # export LD_LIBRARY_PATH=$ORACLE_HOME # TNS_ADMIN=/usr/lib/oracle/10.2.0.3/client/admin # export TNS_ADMIN # mkdir /usr/lib/oracle/10.2.0.3/client/admin 3. Edit /etc/profiles and insert the lines below. ORACLE_HOME=/usr/lib/oracle/10.2.0.3/client/lib export ORACLE_HOME export LD_LIBRARY_PATH=$ORACLE_HOME TNS_ADMIN=/usr/lib/oracle/10.2.0.3/client/admin export TNS_ADMIN 4. Create a file "tnsnames.ora" and insert the settings below. SERVER1= (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = ...