29
29
<DIV CLASS="navigation"><!--Navigation Panel-->
30
<A NAME="tex2html3567"
30
<A NAME="tex2html3574"
31
31
HREF="node225.html">
32
32
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33
33
SRC="/usr/share/latex2html/icons/next.png"></A>
34
<A NAME="tex2html3563"
34
<A NAME="tex2html3570"
35
35
HREF="node221.html">
36
36
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37
37
SRC="/usr/share/latex2html/icons/up.png"></A>
38
<A NAME="tex2html3557"
38
<A NAME="tex2html3564"
39
39
HREF="node223.html">
40
40
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41
41
SRC="/usr/share/latex2html/icons/prev.png"></A>
42
<A NAME="tex2html3565"
42
<A NAME="tex2html3572"
44
44
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45
45
SRC="/usr/share/latex2html/icons/contents.png"></A>
47
<B> Next:</B> <A NAME="tex2html3568"
48
HREF="node225.html">Configuration of the FreeRADIUS</A>
49
<B> Up:</B> <A NAME="tex2html3564"
50
HREF="node221.html">Steps to follow in</A>
51
<B> Previous:</B> <A NAME="tex2html3558"
52
HREF="node223.html">Configuration of the Radiusclient</A>
53
<B> <A NAME="tex2html3566"
47
<B> Next:</B> <A NAME="tex2html3575"
48
HREF="node225.html">Install FreeRADIUS Server (Version</A>
49
<B> Up:</B> <A NAME="tex2html3571"
50
HREF="node221.html">RADIUS</A>
51
<B> Previous:</B> <A NAME="tex2html3565"
52
HREF="node223.html">Installation of the Radiusclient</A>
53
<B> <A NAME="tex2html3573"
54
54
HREF="node1.html">Contents</A></B>
57
57
<!--End of Navigation Panel-->
59
<H3><A NAME="SECTION001182300000000000000">
60
Install FreeRADIUS Server (Version 1.1.1)</A>
59
<H3><A NAME="SECTION001146300000000000000">
60
Configuration of the Radiusclient library</A>
64
Download sources tarball from:
67
<TT><A NAME="tex2html32"
68
HREF="http://freeradius.org/">http://freeradius.org/</A></TT>
70
Untar, configure, build, and install the server:
74
root@localhost:/usr/local/src# tar xvfz freeradius-1.1.1.tar.gz
75
root@localhost:/usr/local/src# cd freeradius-1.1.1
76
root@localhost"/usr/local/src/freeradius-1.1.1# ./configure
77
root@localhost"/usr/local/src/freeradius-1.1.1# make
78
root@localhost"/usr/local/src/freeradius-1.1.1# make install
82
All the configuration files of FreeRADIUS server will be in
83
/usr/local/etc/raddb directory.
64
By default all the configuration files of the radiusclient library will
65
be in /usr/local/etc/radiusclient-ng directory.
68
File "radiusclient.conf"
69
Open the file and find lines containing the following:
75
This is the hostname or IP address of the RADIUS server used for
76
authentication. You will have to change this unless the server is
77
running on the same host as your Asterisk PBX.
83
This is the hostname or IP address of the RADIUS server used for
84
accounting. You will have to change this unless the server is running
85
on the same host as your Asterisk PBX.
88
<SPAN CLASS="textbf">File "servers"</SPAN>
91
RADIUS protocol uses simple access control mechanism based on shared
92
secrets that allows RADIUS servers to limit access from RADIUS clients.
95
A RADIUS server is configured with a secret string and only RADIUS
96
clients that have the same secret will be accepted.
99
You need to configure a shared secret for each server you have
100
configured in radiusclient.conf file in the previous step. The shared
101
secrets are stored in /usr/local/etc/radiusclient-ng/servers file.
104
Each line contains hostname of a RADIUS server and shared secret
105
used in communication with that server. The two values are separated
106
by white spaces. Configure shared secrets for every RADIUS server you
110
<SPAN CLASS="textbf">File "dictionary"</SPAN>
113
Asterisk uses some attributes that are not included in the
114
dictionary of radiusclient library, therefore it is necessary to add
115
them. A file called dictionary.digium (kept in the contrib dir)
116
was created to list all new attributes used by Asterisk.
117
Add to the end of the main dictionary file
118
/usr/local/etc/radiusclient-ng/dictionary the line:
121
$INCLUDE /path/to/dictionary.digium
125
<DIV CLASS="navigation"><HR>
126
<!--Navigation Panel-->
127
<A NAME="tex2html3574"
129
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
130
SRC="/usr/share/latex2html/icons/next.png"></A>
131
<A NAME="tex2html3570"
133
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
134
SRC="/usr/share/latex2html/icons/up.png"></A>
135
<A NAME="tex2html3564"
137
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
138
SRC="/usr/share/latex2html/icons/prev.png"></A>
139
<A NAME="tex2html3572"
141
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
142
SRC="/usr/share/latex2html/icons/contents.png"></A>
144
<B> Next:</B> <A NAME="tex2html3575"
145
HREF="node225.html">Install FreeRADIUS Server (Version</A>
146
<B> Up:</B> <A NAME="tex2html3571"
147
HREF="node221.html">RADIUS</A>
148
<B> Previous:</B> <A NAME="tex2html3565"
149
HREF="node223.html">Installation of the Radiusclient</A>
150
<B> <A NAME="tex2html3573"
151
HREF="node1.html">Contents</A></B> </DIV>
152
<!--End of Navigation Panel-->