<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>Re: FreeRADIUS + DHCP config</title>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
body {
  margin: 5px 5px 5px 5px;
  background-color: #ffffff;
}
/* ========== Text Styles ========== */
hr { color: #000000}
body, table /* Normal text */
{
 font-size: 9pt;
 font-family: 'Courier New';
 font-style: normal;
 font-weight: normal;
 color: #000000;
 text-decoration: none;
}
span.rvts1 /* Heading */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-weight: bold;
 color: #0000ff;
}
span.rvts2 /* Subheading */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-weight: bold;
 color: #000080;
}
span.rvts3 /* Keywords */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-style: italic;
 color: #800000;
}
a.rvts4, span.rvts4 /* Jump 1 */
{
 font-size: 10pt;
 font-family: 'Arial';
 color: #008000;
 text-decoration: underline;
}
a.rvts5, span.rvts5 /* Jump 2 */
{
 font-size: 10pt;
 font-family: 'Arial';
 color: #008000;
 text-decoration: underline;
}
span.rvts6
{
 font-size: 11pt;
 font-family: 'tahoma';
 font-weight: bold;
 color: #ffffff;
 background-color: #0000ff;
}
span.rvts7
{
 font-size: 11pt;
 font-family: 'tahoma';
}
span.rvts8
{
 font-size: 8pt;
 font-family: 'arial';
 font-style: italic;
 color: #c0c0c0;
}
a.rvts9, span.rvts9
{
 font-size: 8pt;
 font-family: 'arial';
 color: #0000ff;
 text-decoration: underline;
}
/* ========== Para Styles ========== */
p,ul,ol /* Paragraph Style */
{
 text-align: left;
 text-indent: 0px;
 padding: 0px 0px 0px 0px;
 margin: 0px 0px 0px 0px;
}
.rvps1 /* Centered */
{
 text-align: center;
}
--></style>
</head>
<body>

<p>Здравствуйте, Ale.</p>
<p><br></p>
<p>Вы писали 11 января 2010 г., 18:51:30:</p>
<p><br></p>
<div><table border=0 cellpadding=1 cellspacing=2>
<tr valign=top>
<td width=12 style="background-color: #0000ff;">
<p><span class=rvts6>></span></p>
</td>
<td width=920 style="background-color: #ffffff;">
<p><span class=rvts7>Hello to all.... </span></p>
<p><br></p>
<p><span class=rvts7>I'm new in linux & RADIUS,  first I configure a FreeRADIUS 2.1.7 in the most basic way  and it runs very well but now I'm trying to configure a FreeRADIUS 2.1.8 with DHCP server and I need somebody to point me in the right direction to configure it... the steps I took to configure were </span></p>
<p><br></p>
<p><span class=rvts7>root@servidor1-desktop:/home/servidor1/Desktop/freeradius-server-2.1.8# ./configure --with-dhcp </span></p>
<p><span class=rvts7>root@servidor1-desktop:/home/servidor1/Desktop/freeradius-server-2.1.8# make </span></p>
<p><span class=rvts7>root@servidor1-desktop:/home/servidor1/Desktop/freeradius-server-2.1.8# vi share/dictionary </span></p>
<p><br></p>
<p><span class=rvts7>Un-comment the line containing $INCLUDE dictionary.dhcp </span></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7># </span></p>
<p><span class=rvts7># The Cisco VPN300 dictionary is the same as the altiga one. </span></p>
<p><span class=rvts7># You shouldn't use both at the same time. </span></p>
<p><span class=rvts7># </span></p>
<p><span class=rvts7>#$INCLUDE dictionary.cisco.vpn3000 </span></p>
<p><span class=rvts7>$INCLUDE dictionary.cisco.vpn5000 </span></p>
<p><span class=rvts7>$INCLUDE dictionary.cisco.bbsm </span></p>
<p><span class=rvts7>$INCLUDE dictionary.clavister </span></p>
<p><span class=rvts7>$INCLUDE dictionary.colubris </span></p>
<p><span class=rvts7>$INCLUDE dictionary.cosine </span></p>
<p><span class=rvts7>$INCLUDE dictionary.dhcp </span></p>
<p><span class=rvts7>$INCLUDE dictionary.digium </span></p>
<p><span class=rvts7>$INCLUDE dictionary.epygi </span></p>
<p><span class=rvts7>$INCLUDE dictionary.erx </span></p>
<p><span class=rvts7>$INCLUDE dictionary.ericsson </span></p>
<p><span class=rvts7>$INCLUDE dictionary.extreme </span></p>
<p><span class=rvts7>$INCLUDE dictionary.freeradius </span></p>
<p><span class=rvts7>$INCLUDE dictionary.freeswitch </span></p>
<p><span class=rvts7>$INCLUDE dictionary.fortinet </span></p>
<p><span class=rvts7>$INCLUDE dictionary.foundry </span></p>
<p><span class=rvts7>$INCLUDE dictionary.gandalf </span></p>
<p><span class=rvts7>$INCLUDE dictionary.gemtek </span></p>
<p><span class=rvts7>$INCLUDE dictionary.h3c </span></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>. </span></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>save the file. </span></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>$INCLUDE dictionary.colubris </span></p>
<p><span class=rvts7>$INCLUDE dictionary.cosine </span></p>
<p><span class=rvts7>$INCLUDE dictionary.dhcp </span></p>
<p><span class=rvts7>$INCLUDE dictionary.digium </span></p>
<p><span class=rvts7>$INCLUDE dictionary.epygi </span></p>
<p><span class=rvts7>$INCLUDE dictionary.erx </span></p>
<p><span class=rvts7>$INCLUDE dictionary.ericsson </span></p>
<p><span class=rvts7>$INCLUDE dictionary.extreme </span></p>
<p><span class=rvts7>$INCLUDE dictionary.freeradius </span></p>
<p><span class=rvts7>$INCLUDE dictionary.freeswitch </span></p>
<p><span class=rvts7>$INCLUDE dictionary.fortinet </span></p>
<p><span class=rvts7>$INCLUDE dictionary.foundry </span></p>
<p><span class=rvts7>$INCLUDE dictionary.gandalf </span></p>
<p><span class=rvts7>$INCLUDE dictionary.gemtek </span></p>
<p><span class=rvts7>$INCLUDE dictionary.h3c </span></p>
<p><span class=rvts7>:w </span></p>
<p><br></p>
<p><span class=rvts7>root@servidor1-desktop:/home/servidor1/Desktop/freeradius-server-2.1.8# make install </span></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>But when I run my radiusd -X I have the following output </span></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>************************************************************************************************** </span></p>
<p><br></p>
<p><span class=rvts7>root@servidor1-desktop:/usr/local/etc/raddb# radiusd -X </span></p>
<p><span class=rvts7>FreeRADIUS Version 2.1.8, for host i686-pc-linux-gnu, built on Jan 8 2010 at 16:50:59 </span></p>
<p><span class=rvts7>Copyright (C) 1999-2009 The FreeRADIUS server project and contributors. </span></p>
<p><span class=rvts7>There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A </span></p>
<p><span class=rvts7>PARTICULAR PURPOSE. </span></p>
<p><span class=rvts7>You may redistribute copies of FreeRADIUS under the terms of the </span></p>
<p><span class=rvts7>GNU General Public License v2. </span></p>
<p><span class=rvts7>Starting - reading configuration files ... </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/radiusd.conf </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/proxy.conf </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/clients.conf </span></p>
<p><span class=rvts7>including files in directory /usr/local/etc/raddb/modules/ </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/ldap </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/unix </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/digest </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/ippool </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/echo </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/expiration </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/acct_unique </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/linelog </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/krb5 </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/expr </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/sql_log </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/otp </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/preprocess </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/detail.example.com </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/files </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/inner-eap </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/attr_rewrite </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/BACK.ippool </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/attr_filter </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/sqlcounter_expire_on_login </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/cui </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/pam </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/detail.log </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/radutmp </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/smsotp </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/pap </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/passwd </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/etc_group </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/policy </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/mschap </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/exec </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/counter </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/sradutmp </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/smbpasswd </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/mac2vlan </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/mac2ip </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/detail </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/logintime </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/realm </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/chap </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/ntlm_auth </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/wimax </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/perl </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/always </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/modules/checkval </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/eap.conf </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/policy.conf </span></p>
<p><span class=rvts7>including files in directory /usr/local/etc/raddb/sites-enabled/ </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/sites-enabled/default </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/sites-enabled/control-socket </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel </span></p>
<p><span class=rvts7>main { </span></p>
<p><span class=rvts7>allow_core_dumps = no </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>including dictionary file /usr/local/etc/raddb/dictionary </span></p>
<p><span class=rvts7>main { </span></p>
<p><span class=rvts7>prefix = "/usr/local" </span></p>
<p><span class=rvts7>localstatedir = "/usr/local/var" </span></p>
<p><span class=rvts7>logdir = "/usr/local/var/log/radius" </span></p>
<p><span class=rvts7>libdir = "/usr/local/lib" </span></p>
<p><span class=rvts7>radacctdir = "/usr/local/var/log/radius/radacct" </span></p>
<p><span class=rvts7>hostname_lookups = no </span></p>
<p><span class=rvts7>max_request_time = 30 </span></p>
<p><span class=rvts7>cleanup_delay = 5 </span></p>
<p><span class=rvts7>max_requests = 1024 </span></p>
<p><span class=rvts7>pidfile = "/usr/local/var/run/radiusd/radiusd.pid" </span></p>
<p><span class=rvts7>checkrad = "/usr/local/sbin/checkrad" </span></p>
<p><span class=rvts7>debug_level = 0 </span></p>
<p><span class=rvts7>proxy_requests = yes </span></p>
<p><span class=rvts7>log { </span></p>
<p><span class=rvts7>stripped_names = no </span></p>
<p><span class=rvts7>auth = no </span></p>
<p><span class=rvts7>auth_badpass = no </span></p>
<p><span class=rvts7>auth_goodpass = no </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>security { </span></p>
<p><span class=rvts7>max_attributes = 200 </span></p>
<p><span class=rvts7>reject_delay = 1 </span></p>
<p><span class=rvts7>status_server = yes </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>radiusd: #### Loading Realms and Home Servers #### </span></p>
<p><span class=rvts7>proxy server { </span></p>
<p><span class=rvts7>retry_delay = 5 </span></p>
<p><span class=rvts7>retry_count = 3 </span></p>
<p><span class=rvts7>default_fallback = no </span></p>
<p><span class=rvts7>dead_time = 120 </span></p>
<p><span class=rvts7>wake_all_if_all_dead = no </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>home_server localhost { </span></p>
<p><span class=rvts7>ipaddr = 127.0.0.1 </span></p>
<p><span class=rvts7>port = 1812 </span></p>
<p><span class=rvts7>type = "auth" </span></p>
<p><span class=rvts7>secret = "testing123" </span></p>
<p><span class=rvts7>response_window = 20 </span></p>
<p><span class=rvts7>max_outstanding = 65536 </span></p>
<p><span class=rvts7>require_message_authenticator = no </span></p>
<p><span class=rvts7>zombie_period = 40 </span></p>
<p><span class=rvts7>status_check = "status-server" </span></p>
<p><span class=rvts7>ping_interval = 30 </span></p>
<p><span class=rvts7>check_interval = 30 </span></p>
<p><span class=rvts7>check_interval = 30 </span></p>
<p><span class=rvts7>num_answers_to_alive = 3 </span></p>
<p><span class=rvts7>num_pings_to_alive = 3 </span></p>
<p><span class=rvts7>revive_interval = 120 </span></p>
<p><span class=rvts7>status_check_timeout = 4 </span></p>
<p><span class=rvts7>irt = 2 </span></p>
<p><span class=rvts7>mrt = 16 </span></p>
<p><span class=rvts7>mrc = 5 </span></p>
<p><span class=rvts7>mrd = 30 </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>home_server_pool my_auth_failover { </span></p>
<p><span class=rvts7>type = fail-over </span></p>
<p><span class=rvts7>home_server = localhost </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>realm example.com { </span></p>
<p><span class=rvts7>auth_pool = my_auth_failover </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>realm LOCAL { </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>radiusd: #### Loading Clients #### </span></p>
<p><span class=rvts7>client localhost { </span></p>
<p><span class=rvts7>ipaddr = 127.0.0.1 </span></p>
<p><span class=rvts7>require_message_authenticator = no </span></p>
<p><span class=rvts7>secret = "testing123" </span></p>
<p><span class=rvts7>nastype = "other" </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>client 192.168.1.10 { </span></p>
<p><span class=rvts7>require_message_authenticator = no </span></p>
<p><span class=rvts7>secret = "miaccesspoint" </span></p>
<p><span class=rvts7>shortname = "TP-Link" </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>client 192.168.1.245 { </span></p>
<p><span class=rvts7>require_message_authenticator = no </span></p>
<p><span class=rvts7>secret = "miaccesspoint" </span></p>
<p><span class=rvts7>shortname = "Linksys" </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>radiusd: #### Instantiating modules #### </span></p>
<p><span class=rvts7>instantiate { </span></p>
<p><span class=rvts7>Module: Linked to module rlm_exec </span></p>
<p><span class=rvts7>Module: Instantiating exec </span></p>
<p><span class=rvts7>exec { </span></p>
<p><span class=rvts7>wait = no </span></p>
<p><span class=rvts7>input_pairs = "request" </span></p>
<p><span class=rvts7>shell_escape = yes </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Linked to module rlm_expr </span></p>
<p><span class=rvts7>Module: Instantiating expr </span></p>
<p><span class=rvts7>Module: Linked to module rlm_expiration </span></p>
<p><span class=rvts7>Module: Instantiating expiration </span></p>
<p><span class=rvts7>expiration { </span></p>
<p><span class=rvts7>reply-message = "Password Has Expired " </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Linked to module rlm_logintime </span></p>
<p><span class=rvts7>Module: Instantiating logintime </span></p>
<p><span class=rvts7>logintime { </span></p>
<p><span class=rvts7>reply-message = "You are calling outside your allowed timespan " </span></p>
<p><span class=rvts7>minimum-timeout = 60 </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>radiusd: #### Loading Virtual Servers #### </span></p>
<p><span class=rvts7>server inner-tunnel { </span></p>
<p><span class=rvts7>modules { </span></p>
<p><span class=rvts7>Module: Checking authenticate {...} for more modules to load </span></p>
<p><span class=rvts7>Module: Linked to module rlm_pap </span></p>
<p><span class=rvts7>Module: Instantiating pap </span></p>
<p><span class=rvts7>pap { </span></p>
<p><span class=rvts7>encryption_scheme = "auto" </span></p>
<p><span class=rvts7>auto_header = no </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Linked to module rlm_chap </span></p>
<p><span class=rvts7>Module: Instantiating chap </span></p>
<p><span class=rvts7>Module: Linked to module rlm_mschap </span></p>
<p><span class=rvts7>Module: Instantiating mschap </span></p>
<p><span class=rvts7>mschap { </span></p>
<p><span class=rvts7>use_mppe = yes </span></p>
<p><span class=rvts7>require_encryption = no </span></p>
<p><span class=rvts7>require_strong = no </span></p>
<p><span class=rvts7>with_ntdomain_hack = no </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Linked to module rlm_unix </span></p>
<p><span class=rvts7>Module: Instantiating unix </span></p>
<p><span class=rvts7>unix { </span></p>
<p><span class=rvts7>radwtmp = "/usr/local/var/log/radius/radwtmp" </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Linked to module rlm_eap </span></p>
<p><span class=rvts7>Module: Instantiating eap </span></p>
<p><span class=rvts7>eap { </span></p>
<p><span class=rvts7>default_eap_type = "md5" </span></p>
<p><span class=rvts7>timer_expire = 60 </span></p>
<p><span class=rvts7>ignore_unknown_eap_types = no </span></p>
<p><span class=rvts7>cisco_accounting_username_bug = no </span></p>
<p><span class=rvts7>max_sessions = 2048 </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Linked to sub-module rlm_eap_md5 </span></p>
<p><span class=rvts7>Module: Instantiating eap-md5 </span></p>
<p><span class=rvts7>Module: Linked to sub-module rlm_eap_leap </span></p>
<p><span class=rvts7>Module: Instantiating eap-leap </span></p>
<p><span class=rvts7>Module: Linked to sub-module rlm_eap_gtc </span></p>
<p><span class=rvts7>Module: Instantiating eap-gtc </span></p>
<p><span class=rvts7>gtc { </span></p>
<p><span class=rvts7>challenge = "Password: " </span></p>
<p><span class=rvts7>auth_type = "PAP" </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Linked to sub-module rlm_eap_tls </span></p>
<p><span class=rvts7>Module: Instantiating eap-tls </span></p>
<p><span class=rvts7>tls { </span></p>
<p><span class=rvts7>rsa_key_exchange = no </span></p>
<p><span class=rvts7>dh_key_exchange = yes </span></p>
<p><span class=rvts7>rsa_key_length = 512 </span></p>
<p><span class=rvts7>dh_key_length = 512 </span></p>
<p><span class=rvts7>verify_depth = 0 </span></p>
<p><span class=rvts7>pem_file_type = yes </span></p>
<p><span class=rvts7>private_key_file = "/usr/local/etc/raddb/certs/server.pem" </span></p>
<p><span class=rvts7>certificate_file = "/usr/local/etc/raddb/certs/server.pem" </span></p>
<p><span class=rvts7>CA_file = "/usr/local/etc/raddb/certs/ca.pem" </span></p>
<p><span class=rvts7>private_key_password = "whatever" </span></p>
<p><span class=rvts7>dh_file = "/usr/local/etc/raddb/certs/dh" </span></p>
<p><span class=rvts7>random_file = "/usr/local/etc/raddb/certs/random" </span></p>
<p><span class=rvts7>fragment_size = 1024 </span></p>
<p><span class=rvts7>include_length = yes </span></p>
<p><span class=rvts7>check_crl = no </span></p>
<p><span class=rvts7>cipher_list = "DEFAULT" </span></p>
<p><span class=rvts7>make_cert_command = "/usr/local/etc/raddb/certs/bootstrap" </span></p>
<p><span class=rvts7>cache { </span></p>
<p><span class=rvts7>enable = no </span></p>
<p><span class=rvts7>lifetime = 24 </span></p>
<p><span class=rvts7>max_entries = 255 </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Linked to sub-module rlm_eap_ttls </span></p>
<p><span class=rvts7>Module: Instantiating eap-ttls </span></p>
<p><span class=rvts7>ttls { </span></p>
<p><span class=rvts7>default_eap_type = "md5" </span></p>
<p><span class=rvts7>copy_request_to_tunnel = no </span></p>
<p><span class=rvts7>use_tunneled_reply = no </span></p>
<p><span class=rvts7>virtual_server = "inner-tunnel" </span></p>
<p><span class=rvts7>include_length = yes </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Linked to sub-module rlm_eap_peap </span></p>
<p><span class=rvts7>Module: Instantiating eap-peap </span></p>
<p><span class=rvts7>peap { </span></p>
<p><span class=rvts7>default_eap_type = "mschapv2" </span></p>
<p><span class=rvts7>copy_request_to_tunnel = yes </span></p>
<p><span class=rvts7>use_tunneled_reply = yes </span></p>
<p><span class=rvts7>proxy_tunneled_request_as_eap = yes </span></p>
<p><span class=rvts7>virtual_server = "inner-tunnel" </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Linked to sub-module rlm_eap_mschapv2 </span></p>
<p><span class=rvts7>Module: Instantiating eap-mschapv2 </span></p>
<p><span class=rvts7>mschapv2 { </span></p>
<p><span class=rvts7>with_ntdomain_hack = no </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Checking authorize {...} for more modules to load </span></p>
<p><span class=rvts7>Module: Linked to module rlm_realm </span></p>
<p><span class=rvts7>Module: Instantiating suffix </span></p>
<p><span class=rvts7>realm suffix { </span></p>
<p><span class=rvts7>format = "suffix" </span></p>
<p><span class=rvts7>delimiter = "@" </span></p>
<p><span class=rvts7>ignore_default = no </span></p>
<p><span class=rvts7>ignore_null = no </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Linked to module rlm_files </span></p>
<p><span class=rvts7>Module: Instantiating files </span></p>
<p><span class=rvts7>files { </span></p>
<p><span class=rvts7>usersfile = "/usr/local/etc/raddb/users" </span></p>
<p><span class=rvts7>acctusersfile = "/usr/local/etc/raddb/acct_users" </span></p>
<p><span class=rvts7>preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users" </span></p>
<p><span class=rvts7>compat = "no" </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Checking session {...} for more modules to load </span></p>
<p><span class=rvts7>Module: Linked to module rlm_radutmp </span></p>
<p><span class=rvts7>Module: Instantiating radutmp </span></p>
<p><span class=rvts7>radutmp { </span></p>
<p><span class=rvts7>filename = "/usr/local/var/log/radius/radutmp" </span></p>
<p><span class=rvts7>username = "%{User-Name}" </span></p>
<p><span class=rvts7>case_sensitive = yes </span></p>
<p><span class=rvts7>check_with_nas = yes </span></p>
<p><span class=rvts7>perm = 384 </span></p>
<p><span class=rvts7>callerid = yes </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Checking post-proxy {...} for more modules to load </span></p>
<p><span class=rvts7>Module: Checking post-auth {...} for more modules to load </span></p>
<p><span class=rvts7>Module: Linked to module rlm_attr_filter </span></p>
<p><span class=rvts7>Module: Instantiating attr_filter.access_reject </span></p>
<p><span class=rvts7>attr_filter attr_filter.access_reject { </span></p>
<p><span class=rvts7>attrsfile = "/usr/local/etc/raddb/attrs.access_reject" </span></p>
<p><span class=rvts7>key = "%{User-Name}" </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>} # modules </span></p>
<p><span class=rvts7>} # server </span></p>
<p><span class=rvts7>server { </span></p>
<p><span class=rvts7>modules { </span></p>
<p><span class=rvts7>Module: Checking authenticate {...} for more modules to load </span></p>
<p><span class=rvts7>Module: Checking authorize {...} for more modules to load </span></p>
<p><span class=rvts7>Module: Linked to module rlm_preprocess </span></p>
<p><span class=rvts7>Module: Instantiating preprocess </span></p>
<p><span class=rvts7>preprocess { </span></p>
<p><span class=rvts7>huntgroups = "/usr/local/etc/raddb/huntgroups" </span></p>
<p><span class=rvts7>hints = "/usr/local/etc/raddb/hints" </span></p>
<p><span class=rvts7>with_ascend_hack = no </span></p>
<p><span class=rvts7>ascend_channels_per_line = 23 </span></p>
<p><span class=rvts7>with_ntdomain_hack = no </span></p>
<p><span class=rvts7>with_specialix_jetstream_hack = no </span></p>
<p><span class=rvts7>with_cisco_vsa_hack = no </span></p>
<p><span class=rvts7>with_alvarion_vsa_hack = no </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Checking preacct {...} for more modules to load </span></p>
<p><span class=rvts7>Module: Linked to module rlm_acct_unique </span></p>
<p><span class=rvts7>Module: Instantiating acct_unique </span></p>
<p><span class=rvts7>acct_unique { </span></p>
<p><span class=rvts7>key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port" </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Checking accounting {...} for more modules to load </span></p>
<p><span class=rvts7>Module: Linked to module rlm_detail </span></p>
<p><span class=rvts7>Module: Instantiating detail </span></p>
<p><span class=rvts7>detail { </span></p>
<p><span class=rvts7>detailfile = "/usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d" </span></p>
<p><span class=rvts7>header = "%t" </span></p>
<p><span class=rvts7>detailperm = 384 </span></p>
<p><span class=rvts7>dirperm = 493 </span></p>
<p><span class=rvts7>locking = no </span></p>
<p><span class=rvts7>log_packet_header = no </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Instantiating attr_filter.accounting_response </span></p>
<p><span class=rvts7>attr_filter attr_filter.accounting_response { </span></p>
<p><span class=rvts7>attrsfile = "/usr/local/etc/raddb/attrs.accounting_response" </span></p>
<p><span class=rvts7>key = "%{User-Name}" </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Checking session {...} for more modules to load </span></p>
<p><span class=rvts7>Module: Checking post-proxy {...} for more modules to load </span></p>
<p><span class=rvts7>Module: Checking post-auth {...} for more modules to load </span></p>
<p><span class=rvts7>} # modules </span></p>
<p><span class=rvts7>} # server </span></p>
<p><span class=rvts7>radiusd: #### Opening IP addresses and Ports #### </span></p>
<p><span class=rvts7>listen { </span></p>
<p><span class=rvts7>type = "auth" </span></p>
<p><span class=rvts7>ipaddr = * </span></p>
<p><span class=rvts7>port = 0 </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>listen { </span></p>
<p><span class=rvts7>type = "acct" </span></p>
<p><span class=rvts7>ipaddr = * </span></p>
<p><span class=rvts7>port = 0 </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>listen { </span></p>
<p><span class=rvts7>type = "control" </span></p>
<p><span class=rvts7>listen { </span></p>
<p><span class=rvts7>socket = "/usr/local/var/run/radiusd/radiusd.sock" </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Listening on authentication address * port 1812 </span></p>
<p><span class=rvts7>Listening on accounting address * port 1813 </span></p>
<p><span class=rvts7>Listening on command file /usr/local/var/run/radiusd/radiusd.sock </span></p>
<p><span class=rvts7>Listening on proxy address * port 1814 </span></p>
<p><span class=rvts7>Ready to process requests. </span></p>
<p><br></p>
<p><span class=rvts7>*************************************************************************************************** </span></p>
<p><br></p>
<p><span class=rvts7>I can see I don't have the line </span></p>
<p><br></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>including configuration file /usr/local/etc/raddb/sites-enabled/dhcp </span></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>. </span></p>
<p><br></p>
<p><span class=rvts7>and </span></p>
<p><br></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>radiusd: #### Loading Virtual Servers #### </span></p>
<p><span class=rvts7>server dhcp { </span></p>
<p><span class=rvts7>modules { </span></p>
<p><span class=rvts7>Module: Checking dhcp DHCP-Discover {...} for more modules to load </span></p>
<p><span class=rvts7>Module: Linked to module rlm_always </span></p>
<p><span class=rvts7>Module: Instantiating ok </span></p>
<p><span class=rvts7>always ok { </span></p>
<p><span class=rvts7>rcode = "ok" </span></p>
<p><span class=rvts7>simulcount = 0 </span></p>
<p><span class=rvts7>mpp = no </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>Module: Checking dhcp DHCP-Request {...} for more modules to load </span></p>
<p><span class=rvts7>Module: Linked to module rlm_passwd </span></p>
<p><span class=rvts7>Module: Instantiating mac2ip </span></p>
<p><span class=rvts7>passwd mac2ip { </span></p>
<p><span class=rvts7>filename = "/usr/local/etc/raddb/mac2ip" </span></p>
<p><span class=rvts7>format = "*DHCP-Client-Hardware-Address:=DHCP-Your-IP-Address" </span></p>
<p><span class=rvts7>delimiter = "," </span></p>
<p><span class=rvts7>ignorenislike = yes </span></p>
<p><span class=rvts7>ignoreempty = yes </span></p>
<p><span class=rvts7>allowmultiplekeys = no </span></p>
<p><span class=rvts7>hashsize = 100 </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>rlm_passwd: nfields: 2 keyfield 0(DHCP-Client-Hardware-Address) listable: no </span></p>
<p><span class=rvts7>Module: Checking dhcp (null) {...} for more modules to load </span></p>
<p><span class=rvts7>/usr/local/etc/raddb/sites-enabled/dhcp[159]: No name specified for Post-Auth-Type block </span></p>
<p><span class=rvts7>} # modules </span></p>
<p><span class=rvts7>} # server </span></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>. </span></p>
<p><br></p>
<p><span class=rvts7>and </span></p>
<p><br></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>listen { </span></p>
<p><span class=rvts7>type = "dhcp" </span></p>
<p><span class=rvts7>ipaddr = * </span></p>
<p><span class=rvts7>port = 67 </span></p>
<p><span class=rvts7>} </span></p>
<p><span class=rvts7>. </span></p>
<p><span class=rvts7>. </span></p>
<p><br></p>
<p><span class=rvts7>Like other users in this mailing list </span></p>
<p><br></p>
<p><span class=rvts7>So my question is ... What am I doing wrong ??? or   I need to configure any other thing ??? </span></p>
<p><br></p>
<p><span class=rvts7>Please I need somebody to put me in the right direction all my doubts I can solve with this mailing list but I can't find the answer to my problem.... </span></p>
<p><br></p>
<p><span class=rvts7>Thanks in advance.... </span></p>
<p><br></p>
<p><span class=rvts7>Greetings </span></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>all </span></p>
<p><br></p>
</td>
</tr>
</table>
</div>
<p><br></p>
<p><br></p>
<p>I can suppose you do not have 'dhcp' module in auth, autz and/or etc sections in radiusd.conf</p>
<p><br></p>
<p><span class=rvts8>-- </span></p>
<p><span class=rvts8>С уважением,</span></p>
<p><span class=rvts8> Коньков                          </span><a class=rvts9 href="mailto:kes-kes@yandex.ru">mailto:kes-kes@yandex.ru</a></p>

</body></html>