Installation Of Radius Server on Red hat enterprose 5

Discussion regarding the installation and configuration of Linux distributions.

Installation Of Radius Server on Red hat enterprose 5

Postby cyph3r » Tue Dec 30, 2008 5:23 pm

How can i Install radius server on red hat enterprise 5 ????
and configer ??

where i found rpm of radius ????
plz give download link ?
Regards,
Mehmood Ahmed |cyph3r|
(+92)345-2835810
E-mail:cyph3r.07@hotmail.com
cyph3r
Lance Naik
 
Posts: 46
Joined: Tue Jan 22, 2008 1:27 am
WLM: cyph3r.07@hotmail.com

Postby source_code » Tue Dec 30, 2008 6:57 pm

hi,
check out:

http://freeradius.org/

http://wiki.freeradius.org/SQL_HOWTO

http://www.howtoforge.com/authenticatio ... daloradius

http://www.howtoforge.com/wifi-authenti ... on-centos5

Above links should give you more than enough info to get started. Further questions, please ask...
"Any intelligent fool can make things bigger and more complex... it takes a touch of genius - and a lot of courage - to move in the opposite direction."-Albert Einstein
source_code
Lance Naik
 
Posts: 23
Joined: Sun Aug 31, 2008 4:54 am
Website: http://sourcecode.ath.cx:88
Location: Pensacola, Florida

Postby x2oxen » Fri Jan 02, 2009 12:53 pm

Do you want a free one or paid one?
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com
x2oxen
Major General
 
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Website: http://usmanpk.com
WLM: x2oxen@hotmail.com
Yahoo Messenger: x2oxen
Location: Faisalabad

Postby nasacis » Fri Apr 10, 2009 5:45 pm

follow these step by step guide
FreeRADIUS and PPPoE Server Configuration

FreeRADIUS
cd /usr/src
wget ftp://ftp.freeradius.org/pub/freeradius ... 0.5.tar.gz
tar zxvf freeradius-server-2.0.5.tar.gz
./configure --localstatedir=/var --sysconfdir=/etc
make
make install
radiusd -X # to start the server in debugging mode
cp ./redhat/rc.radiusd-redhat /etc/rc.d/init.d/radiusd
cd /etc/rc.d/init.d
vi radiusd # change radius daemon path
from
/usr/sbin/radiusd
to
/usr/local/sbin/radiusd
ln -s /etc/rc.d/init.d/radiusd /etc/rc.d/rc3.d/S92radiusd
/etc/rc.d/init.d/radiusd start

PPPoE
cd /usr/src
wget http://www.roaringpenguin.com/files/dow ... .10.tar.gz
wget ftp://ftp.samba.org/pub/ppp/ppp-2.4.4.tar.gz
wget http://download.opensuse.org/repositori ... 1.i386.rpm
wget http://download.opensuse.org/repositori ... 1.i386.rpm
wget http://download.opensuse.org/repositori ... 1.i386.rpm
tar zxvf rp-pppoe-3.10.tar.gz
tar zxvf ppp-2.4.4.tar.gz
cd ppp-2.4.4
./configure
make
make install
cd ../rp-pppoe-3.10
./configure --enable-plugin=../../ppp-2.4.4
make
make install
cp /usr/src/ppp-2.4.4/pppd/plugins/radius/radius.so /etc/ppp/plugins
cd /etc/ppp
vi pppoe-server-options
# PPP options for the PPPoE server
# LIC: GPL
debug
mtu 1492
mru 1492
require-pap
default-asyncmap
proxyarp
ktune
lcp-echo-interval 20
lcp-echo-failure 2
ms-dns 192.168.2.10
ms-dns 192.168.2.11
plugin radius.so
nobsdcomp
noccp
noendpoint
noipdefault
noipx
novj
receive-all

exit and save

cd /etc/radiusclient
vi radiusclient.conf
auth_order radius
login_tries 4
login_timeout 60
nologin /etc/nologin
issue /etc/ppp/radius/issue
authserver radius_server:1812
acctserver radius_server:1813
servers /etc/ppp/radius/servers
dictionary /etc/ppp/radius/dictionary
login_radius /usr/local/sbin/login.radius
seqfile /var/run/radius.seq
mapfile /etc/ppp/radius/port-id-map
default_realm
radius_timeout 10
radius_retries 3

exit and save

Create file /etc/rc.d/init.d/pppoed
vi pppoed
#!/bin/bash
# init file for rp-pppoe server
#
# description: PPPOE kernel mode server
#
# processname: pppoe-server
# chkconfig: - 45 45
# source function library
. /etc/rc.d/init.d/functions

case "$1" in
start)
echo -n "Starting PPPOE server: "
daemon /usr/sbin/pppoe-server -k -s -I eth0 -L 192.168.10.1 -R 192.168.10.100
#Here eth0 - your pppoe server interface
#192.168.10.1 - IP of PPPoE server
#192.168.10.100 - First IP number of your client
touch /var/lock/subsys/pppoed
echo
;;
stop)
echo -n "Shutting down PPPOE server: "
killproc pppoe-server
rm -f /var/lock/subsys/pppoed
echo
;;
restart)
$0 stop
$0 start
;;
status)
status pppoe-server
;;
*)
echo "Usage: pppoed {start|stop|restart|status}"
exit 1
esac

exit 0

exit and save

chmod 755 pppoed
ln -s /etc/rc.d/init.d/pppoed /etc/rc.d/rc3.d/S93pppoed

restart your linux box
Nafees Ahmed
Cell: +92.300.8653568
UAN: 041-111432432
Nexlinx Faisalabad
www.nexlinx.net.pk
nafees29@gmail.com
nasacis
Battalion Havaldaar Major
 
Posts: 269
Joined: Sat Dec 13, 2003 3:58 pm
ICQ: 22342780
Website: http://www.homepages.com.pk/nafeesahmed
WLM: nafees21
Yahoo Messenger: n_ahmad.rm
Location: Faisalabad


Return to “%s” Installation

Who is online

Users browsing this forum: No registered users and 3 guests

cron