<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi all, </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I am trying to configure radius for ser, and have installed
radiusclient-ng-0.5.1.</FONT></DIV>
<DIV><FONT size=2>
<DIV>But when I run SER, it shows Errors with the four lines:</DIV>
<DIV> </DIV>
<DIV>modparam("acc","radius_config","/usr/local/etc/radiusclient-ng/radiusclient.conf")<BR>modparam("acc",
"service_type", 15)<BR>modparam("acc", "radius_flag", 1)<BR>modparam("acc",
"radius_missed_flag", 3)</DIV>
<DIV> </DIV>
<DIV><FONT
size=2>***************************************************************************************</FONT></DIV>
<DIV><FONT size=2>The errors are recorded in /var/log as following:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Jul 22 11:28:13 localhost ser: set_mod_param_regex: parameter
<radius_config> not found in module <acc> <BR>Jul 22 11:28:13
localhost ser: parse error (77,18-19): Can't set module parameter <BR>Jul 22
11:28:13 localhost ser: set_mod_param_regex: parameter <service_type> not
found in module <acc> <BR>Jul 22 11:28:13 localhost ser: parse error
(79,20-21): Can't set module parameter <BR>Jul 22 11:28:13 localhost ser:
set_mod_param_regex: parameter <radius_flag> not found in module
<acc> <BR>Jul 22 11:28:13 localhost ser: parse error (80,19-20): Can't set
module parameter <BR>Jul 22 11:28:13 localhost ser: set_mod_param_regex:
parameter <radius_missed_flag> not found in module <acc> <BR>Jul 22
11:28:13 localhost ser: parse error (81,19-20): Can't set module parameter
<BR>Jul 22 11:28:13 localhost 7ÔÂ 22 11:28:13 ser: ERROR: bad config file
(4 errors)</FONT></DIV></FONT></DIV>
<DIV><FONT size=2>
<DIV><FONT
size=2>***************************************************************************************</FONT></DIV>
<DIV>Any help in solving this problem will be appreciated.</DIV>
<DIV>Thanks</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>PS:</DIV></FONT></DIV>
<DIV><FONT size=2>ser.cfg is as following:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2># ------------------ module loading
----------------------------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># Uncomment this if you want to use SQL database<BR>loadmodule
"/usr/local/lib/ser/modules/mysql.so"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>loadmodule "/usr/local/lib/ser/modules/sl.so"<BR>loadmodule
"/usr/local/lib/ser/modules/tm.so"<BR>loadmodule
"/usr/local/lib/ser/modules/rr.so"<BR>loadmodule
"/usr/local/lib/ser/modules/maxfwd.so"<BR>loadmodule
"/usr/local/lib/ser/modules/usrloc.so"<BR>loadmodule
"/usr/local/lib/ser/modules/registrar.so"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>loadmodule "/usr/local/lib/ser/modules/textops.so"
<BR>loadmodule "/usr/local/lib/ser/modules/uri.so"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># Uncomment this if you want digest authentication<BR>#
mysql.so must be loaded !<BR>loadmodule
"/usr/local/lib/ser/modules/auth.so"<BR>loadmodule
"/usr/local/lib/ser/modules/auth_db.so"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>loadmodule
"/usr/local/lib/ser/modules/acc.so"
#radius<BR>loadmodule "/usr/local/lib/ser/modules/auth_radius.so"
#radius<BR>loadmodule "/usr/local/lib/ser/modules/group_radius.so"
#radius</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2># ----------------- setting module-specific parameters
---------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># -- usrloc params --</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>#modparam("usrloc", "db_mode", 0)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># Uncomment this if you want to use SQL database <BR># for
persistent storage and comment the previous line<BR>modparam("usrloc",
"db_mode", 2)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># -- auth params --<BR># Uncomment if you are using auth
module<BR>#<BR>modparam("auth_db", "calculate_ha1", yes)<BR>#<BR># If you set
"calculate_ha1" parameter to yes (which true in this config), <BR># uncomment
also the following parameter)<BR>#<BR>modparam("auth_db", "password_column",
"password")</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># -- rr params --<BR># add value to ;lr param to make some
broken UAs happy<BR>modparam("rr", "enable_full_lr", 1)</FONT></DIV>
<DIV> </DIV><FONT size=2>
<DIV><BR>modparam("auth_radius","radius_config","/usr/local/etc/radiusclient-ng/radiusclient.conf")<BR>modparam("auth_radius","service_type",15)<BR>modparam("acc","radius_config","/usr/local/etc/radiusclient-ng/radiusclient.conf")<BR>modparam("acc","log_level",1)<BR>modparam("acc",
"service_type", 15)<BR>modparam("acc", "radius_flag", 1)<BR>modparam("acc",
"radius_missed_flag", 3)<BR>modparam("acc", "failed_transactions",
1)<BR>modparam("acc", "report_ack",
0)<BR>modparam("group_radius","radius_config","/usr/local/etc/radiusclient-ng/radiusclient.conf")<BR>modparam("group_radius",
"use_domain", 1)</DIV>
<DIV>......</DIV>
<DIV> </DIV></FONT>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> </DIV>
<DIV><BR></DIV></FONT></BODY></HTML>