How can i Install radius server on red hat enterprise 5 ????
and configer ??
where i found rpm of radius ????
plz give download link ?
Installation Of Radius Server on Red hat enterprose 5
-
- Lance Naik
- Posts: 23
- Joined: Sun Aug 31, 2008 4:54 am
- Location: Pensacola, Florida
- Contact:
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...
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
-
- Battalion Havaldaar Major
- Posts: 269
- Joined: Sat Dec 13, 2003 3:58 pm
- Location: Faisalabad
- Contact:
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
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
Cell: +92.300.8653568
UAN: 041-111432432
Nexlinx Faisalabad
www.nexlinx.net.pk
nafees29@gmail.com