~ubuntu-branches/ubuntu/karmic/asterisk/karmic

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Jean-Michel Dault, Faidon Liambotis, Tzafrir Cohen
  • Date: 2009-08-20 03:40:08 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090820034008-rg2s51o9ruqvmwml
Tags: 1:1.6.2.0~dfsg~beta4-0ubuntu1
* Merge from Debian.
  - Lsb patches dropped: fixed upstream
  - Patch for LP #350732 dropped: fixed upstream
* Added:
  - Add support for web interface
  - Don't enable voicetronix cards by default
  - Chown /dev/dahdi in init script
  - Add files for potential backports
  - Change maintainer
  - Standards version 3.8.3

* Debian changes

 [ Faidon Liambotis ]
 * Fix FTBFS on armel. (Closes: #532971)

 [ Tzafrir Cohen ]
 * New upstream beta.
 * Patch hardware_dtmf_mute_fix removed: Applied upstream.
 * No need for a separate app_directory_odbc (will use app_voicemail_odbc).
 * Fix name of voicemail 'openssl' dep. (Thomas Renard) (Closes: #539150)

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">
27
27
<BODY >
28
28
 
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"
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="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
 
 &nbsp; <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
 &nbsp; <B>  <A NAME="tex2html3573"
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="SECTION001182300000000000000">
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="tex2html3574"
 
128
  HREF="node225.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="tex2html3570"
 
132
  HREF="node221.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="tex2html3564"
 
136
  HREF="node223.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="tex2html3572"
 
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="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
 &nbsp; <B>  <A NAME="tex2html3573"
 
151
  HREF="node1.html">Contents</A></B> </DIV>
 
152
<!--End of Navigation Panel-->
87
153
<ADDRESS>
88
154
lmadsen
89
 
2009-06-11
 
155
2009-07-28
90
156
</ADDRESS>
91
157
</BODY>
92
158
</HTML>