~damg/ubuntu/quantal/asterisk/LP1097687

« back to all changes in this revision

Viewing changes to doc/tex/asterisk/node228.html

  • Committer: Bazaar Package Importer
  • Author(s): Lorenzo De Liso
  • Date: 2010-10-15 22:24:34 UTC
  • mfrom: (1.2.8 upstream) (8.3.8 sid)
  • Revision ID: james.westby@ubuntu.com-20101015222434-iy328q8in3lajzlv
Tags: 1:1.6.2.9-2ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/control:
    + Build-depend on hardening-wrapper
    + Change Maintainer
    + Removed Uploaders field.
    + Removed Debian Vcs-Svn entry and replaced with ubuntu-voip Vcs-Bzr,
      to reflect divergence in packages.
  - debian/rules: Make use of hardening-wrapper
  - debian/asterisk.init: chown /dev/dahdi
  - debian/backports/hardy: add file
  - debian/backports/asterisk.init.hardy: add file
 

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8
8
<HTML>
9
9
<HEAD>
10
 
<TITLE>Install FreeRADIUS Server (Version 1.1.1)</TITLE>
11
 
<META NAME="description" CONTENT="Install FreeRADIUS Server (Version 1.1.1)">
 
10
<TITLE>Configuration of the Radiusclient library</TITLE>
 
11
<META NAME="description" CONTENT="Configuration of the Radiusclient library">
12
12
<META NAME="keywords" CONTENT="asterisk">
13
13
<META NAME="resource-type" CONTENT="document">
14
14
<META NAME="distribution" CONTENT="global">
20
20
 
21
21
<LINK REL="next" HREF="node229.html">
22
22
<LINK REL="previous" HREF="node227.html">
23
 
<LINK REL="up" HREF="node224.html">
 
23
<LINK REL="up" HREF="node225.html">
24
24
<LINK REL="next" HREF="node229.html">
25
25
</HEAD>
26
26
 
27
27
<BODY >
28
28
 
29
29
<DIV CLASS="navigation"><!--Navigation Panel-->
30
 
<A NAME="tex2html3635"
 
30
<A NAME="tex2html3638"
31
31
  HREF="node229.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="tex2html3631"
35
 
  HREF="node224.html">
 
34
<A NAME="tex2html3634"
 
35
  HREF="node225.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="tex2html3625"
 
38
<A NAME="tex2html3628"
39
39
  HREF="node227.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="tex2html3633"
 
42
<A NAME="tex2html3636"
43
43
  HREF="node1.html">
44
44
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45
45
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
46
46
<BR>
47
 
<B> Next:</B> <A NAME="tex2html3636"
48
 
  HREF="node229.html">Configuration of the FreeRADIUS</A>
49
 
<B> Up:</B> <A NAME="tex2html3632"
50
 
  HREF="node224.html">RADIUS</A>
51
 
<B> Previous:</B> <A NAME="tex2html3626"
52
 
  HREF="node227.html">Configuration of the Radiusclient</A>
53
 
 &nbsp; <B>  <A NAME="tex2html3634"
 
47
<B> Next:</B> <A NAME="tex2html3639"
 
48
  HREF="node229.html">Install FreeRADIUS Server (Version</A>
 
49
<B> Up:</B> <A NAME="tex2html3635"
 
50
  HREF="node225.html">RADIUS</A>
 
51
<B> Previous:</B> <A NAME="tex2html3629"
 
52
  HREF="node227.html">Installation of the Radiusclient</A>
 
53
 &nbsp; <B>  <A NAME="tex2html3637"
54
54
  HREF="node1.html">Contents</A></B> 
55
55
<BR>
56
56
<BR></DIV>
57
57
<!--End of Navigation Panel-->
58
58
 
59
 
<H3><A NAME="SECTION001146400000000000000">
60
 
Install FreeRADIUS Server (Version 1.1.1)</A>
 
59
<H3><A NAME="SECTION001146300000000000000">
 
60
Configuration of the Radiusclient library</A>
61
61
</H3>
62
62
 
63
63
<P>
64
 
Download sources tarball from:
65
 
 
66
 
<P>
67
 
<TT><A NAME="tex2html32"
68
 
  HREF="http://freeradius.org/">http://freeradius.org/</A></TT>
69
 
<P>
70
 
Untar, configure, build, and install the server:
71
 
 
72
 
<P>
73
 
<PRE>
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
79
 
</PRE>
80
 
 
81
 
<P>
82
 
All the configuration files of FreeRADIUS server will be in
83
 
        /usr/local/etc/raddb directory.
84
 
 
85
 
<P>
86
 
<BR><HR>
 
64
By default all the configuration files of the radiusclient library will
 
65
        be in /usr/local/etc/radiusclient-ng directory.
 
66
 
 
67
<P>
 
68
File "radiusclient.conf"
 
69
                Open the file and find lines containing the following:
 
70
 
 
71
<P>
 
72
authserver      localhost
 
73
 
 
74
<P>
 
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.
 
78
 
 
79
<P>
 
80
acctserver      localhost
 
81
 
 
82
<P>
 
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.
 
86
 
 
87
<P>
 
88
<SPAN  CLASS="textbf">File "servers"</SPAN>
 
89
 
 
90
<P>
 
91
RADIUS protocol uses simple access control mechanism based on shared
 
92
        secrets that allows RADIUS servers to limit access from RADIUS clients.
 
93
 
 
94
<P>
 
95
A RADIUS server is configured with a secret string and only RADIUS
 
96
        clients that have the same secret will be accepted.
 
97
 
 
98
<P>
 
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.
 
102
 
 
103
<P>
 
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
 
107
        are going to use.
 
108
 
 
109
<P>
 
110
<SPAN  CLASS="textbf">File "dictionary"</SPAN>
 
111
 
 
112
<P>
 
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:
 
119
 
 
120
<P>
 
121
$INCLUDE /path/to/dictionary.digium
 
122
 
 
123
<P>
 
124
 
 
125
<DIV CLASS="navigation"><HR>
 
126
<!--Navigation Panel-->
 
127
<A NAME="tex2html3638"
 
128
  HREF="node229.html">
 
129
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 
130
 SRC="/usr/share/latex2html/icons/next.png"></A> 
 
131
<A NAME="tex2html3634"
 
132
  HREF="node225.html">
 
133
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 
134
 SRC="/usr/share/latex2html/icons/up.png"></A> 
 
135
<A NAME="tex2html3628"
 
136
  HREF="node227.html">
 
137
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 
138
 SRC="/usr/share/latex2html/icons/prev.png"></A> 
 
139
<A NAME="tex2html3636"
 
140
  HREF="node1.html">
 
141
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 
142
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
 
143
<BR>
 
144
<B> Next:</B> <A NAME="tex2html3639"
 
145
  HREF="node229.html">Install FreeRADIUS Server (Version</A>
 
146
<B> Up:</B> <A NAME="tex2html3635"
 
147
  HREF="node225.html">RADIUS</A>
 
148
<B> Previous:</B> <A NAME="tex2html3629"
 
149
  HREF="node227.html">Installation of the Radiusclient</A>
 
150
 &nbsp; <B>  <A NAME="tex2html3637"
 
151
  HREF="node1.html">Contents</A></B> </DIV>
 
152
<!--End of Navigation Panel-->
87
153
<ADDRESS>
88
154
lmadsen
89
 
2010-05-03
 
155
2010-06-17
90
156
</ADDRESS>
91
157
</BODY>
92
158
</HTML>