I installed FreeRadius 1.1.2 on FreeBSD 6.0. I followed the HOWTO from <a href="http://tldp.org/HOWTO/8021X-HOWTO/freeradius.html">http://tldp.org/HOWTO/8021X-HOWTO/freeradius.html</a> to configure the server.<br>When I ran radtest, it show the message like this:
<br><br>Sending Access-Request of id 153 to <a href="http://10.1.1.3">10.1.1.3</a> port 1645<br>        User-Name = "user@sisni"<br>        User-Password = "sni"<br>        NAS-IP-Address = <a href="http://255.255.255.255">
255.255.255.255</a><br>        NAS-Port = 1645<br>rad_recv: Access-Accept packet from host <a href="http://10.1.1.3:1645">10.1.1.3:1645</a>, id=153, length=20<br><br>or <br><br>Sending Access-Request of id 153 to <a href="http://10.1.1.3">
10.1.1.3</a> port 1645<br>        User-Name = "user"<br>        User-Password = "sni"<br>        NAS-IP-Address = <a href="http://255.255.255.255">255.255.255.255</a><br>        NAS-Port = 1645<br>rad_recv: Access-Accept packet from host 
<a href="http://10.1.1.3:1645">10.1.1.3:1645</a>, id=153, length=20<br><br>The user 'user' already registered inside /etc/password:<br>user:*:1006:1006:user_radius_sisni:/home/user:/usr/sbin/nologin<br><br>In radius.conf
 , proxy_request is set to No. And the $INCLUDE ${confdir}/proxy.conf is already commented.<br>But I still got this message:  rlm_realm: Proxy reply, or no User-Name.  Ignoring.<br><br>This is the content from huntgroup file:
<br>LNS-KPU-SM2     NAS-IP-Address == <a href="http://10.1.1.0">10.1.1.0</a><br><br>This is the content from hints file<br>DEFAULT Suffix == "@sisni", Strip-User-Name = Yes<br>        Hint = "sisni",<br>
<br><br>If I tried to dial the Radius from Windows terminal, it always give me an error like this:<br><font size="-1"><b>Error 691</b>: Access was denied because the user name and/or password was invalid on the domain<br>
<br>Please help me to fix the error.<br>Thank you.<br><br><br>-Pungki<br><br><br><br>Here is the last message in  /var/log/radacct/10.1.1.0/detail-20071203<br><br> Acct-Status-Type = Accounting-On<br>        NAS-IP-Address = 
<a href="http://10.1.1.0">10.1.1.0</a><br>        NAS-Identifier = "LNS-KPU-SM2"<br>        Acct-Authentic = RADIUS<br>        Acct-Session-Id = "load:2147484043"<br>        Event-Timestamp = "Nov 22 2007 10:25:47 WIT"
<br>        Acct-Delay-Time = 957324<br>        Client-IP-Address = <a href="http://10.1.1.0">10.1.1.0</a><br>        Timestamp = 1196662186<br><br><br>Here is the message that show after radiusd -X command.<br></font><br>
Starting - reading configuration files ...<br>reread_config:  reading radiusd.conf<br>Config:   including file: /usr/local/etc/raddb/clients.conf<br>Config:   including file: /usr/local/etc/raddb/eap.conf<br>Config:   including file: /usr/local/etc/raddb/sql.conf
<br> main: prefix = "/usr/local"<br> main: localstatedir = "/var"<br> main: logdir = "/var/log"<br> main: libdir = "/usr/local/lib"<br> main: radacctdir = "/var/log/radacct"
<br> main: hostname_lookups = no<br> main: max_request_time = 30<br> main: cleanup_delay = 5<br> main: max_requests = 1024<br> main: delete_blocked_requests = 0<br> main: port = 0<br> main: allow_core_dumps = no<br> main: log_stripped_names = no
<br> main: log_file = "/var/log/radius.log"<br> main: log_auth = no<br> main: log_auth_badpass = no<br> main: log_auth_goodpass = no<br> main: pidfile = "/var/run/radiusd/radiusd.pid"<br> main: user = "(null)"
<br> main: group = "(null)"<br> main: usercollide = no<br> main: lower_user = "no"<br> main: lower_pass = "no"<br> main: nospace_user = "no"<br> main: nospace_pass = "no"<br>
 main: checkrad = "/usr/local/sbin/checkrad"<br> main: proxy_requests = no<br> security: max_attributes = 200<br> security: reject_delay = 1<br> security: status_server = no<br> main: debug_level = 0<br>read_config_files:  reading dictionary
<br>read_config_files:  reading naslist<br>read_config_files:  reading clients<br>read_config_files:  reading realms<br>radiusd:  entering modules setup<br>Module: Library search path is /usr/local/lib<br>Module: Loaded exec 
<br> exec: wait = yes<br> exec: program = "(null)"<br> exec: input_pairs = "request"<br> exec: output_pairs = "(null)"<br> exec: packet_type = "(null)"<br>rlm_exec: Wait=yes but no output defined. Did you mean output=none?
<br>Module: Instantiated exec (exec) <br>Module: Loaded expr <br>Module: Instantiated expr (expr) <br>Module: Loaded PAP <br> pap: encryption_scheme = "crypt"<br>Module: Instantiated pap (pap) <br>Module: Loaded CHAP 
<br>Module: Instantiated chap (chap) <br>Module: Loaded MS-CHAP <br> mschap: use_mppe = yes<br> mschap: require_encryption = no<br> mschap: require_strong = no<br> mschap: with_ntdomain_hack = no<br> mschap: passwd = "(null)"
<br> mschap: ntlm_auth = "(null)"<br>Module: Instantiated mschap (mschap) <br>Module: Loaded System <br> unix: cache = no<br> unix: passwd = "/etc/passwd"<br> unix: shadow = "/etc/shadow"<br>
 unix: group = "/etc/group"<br> unix: radwtmp = "/var/log/radwtmp"<br> unix: usegroup = no<br> unix: cache_reload = 600<br>Module: Instantiated unix (unix) <br>Module: Loaded eap <br> eap: default_eap_type = "md5
<br>eap: timer_expire = 60<br> eap: ignore_unknown_eap_types = no<br> eap: cisco_accounting_username_bug = no<br>rlm_eap: Loaded and initialized type md5<br>rlm_eap: Loaded and initialized type leap<br> gtc: challenge = "Password: "
<br> gtc: auth_type = "PAP"<br>rlm_eap: Loaded and initialized type gtc<br> mschapv2: with_ntdomain_hack = no<br>rlm_eap: Loaded and initialized type mschapv2<br>Module: Instantiated eap (eap) <br>Module: Loaded preprocess 
<br> preprocess: huntgroups = "/usr/local/etc/raddb/huntgroups"<br> preprocess: hints = "/usr/local/etc/raddb/hints"<br> preprocess: with_ascend_hack = no<br> preprocess: ascend_channels_per_line = 23<br>
 preprocess: with_ntdomain_hack = no<br> preprocess: with_specialix_jetstream_hack = no<br> preprocess: with_cisco_vsa_hack = no<br>Module: Instantiated preprocess (preprocess) <br>Module: Loaded realm <br> realm: format = "suffix"
<br> realm: delimiter = "@"<br> realm: ignore_default = no<br> realm: ignore_null = no<br>Module: Instantiated realm (suffix) <br>Module: Loaded files <br> files: usersfile = "/usr/local/etc/raddb/users"
<br> files: acctusersfile = "/usr/local/etc/raddb/acct_users"<br> files: preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users"<br> files: compat = "no"<br>Module: Instantiated files (files) 
<br>Module: Loaded detail <br> detail: detailfile = "/var/log/radacct/%{Client-IP-Address}/detail-%Y%m%d"<br> detail: detailperm = 384<br> detail: dirperm = 493<br> detail: locking = no<br>Module: Instantiated detail (detail) 
<br>Module: Loaded radutmp <br> radutmp: filename = "/var/log/radutmp"<br> radutmp: username = "%{User-Name}"<br> radutmp: case_sensitive = yes<br> radutmp: check_with_nas = yes<br> radutmp: perm = 384
<br> radutmp: callerid = yes<br>Module: Instantiated radutmp (radutmp) <br>Listening on authentication *:1645<br>Listening on accounting *:1646<br>Ready to process requests.<br>rad_recv: Accounting-Request packet from host 
<a href="http://10.1.1.0:50016">10.1.1.0:50016</a>, id=223, length=80<br>        Acct-Status-Type = Accounting-On<br>        NAS-IP-Address = <a href="http://10.1.1.0">10.1.1.0</a><br>        NAS-Identifier = "LNS-KPU-SM2"
<br>        Acct-Authentic = RADIUS<br>        Acct-Session-Id = "load:2147484043"<br>        Event-Timestamp = "Nov 22 2007 10:25:47 WIT"<br>        Acct-Delay-Time = 952314<br>  Processing the preacct section of 
radiusd.conf<br>modcall: entering group preacct for request 0<br>  modcall[preacct]: module "preprocess" returns noop for request 0<br>    rlm_realm: Proxy reply, or no User-Name.  Ignoring.<br>  modcall[preacct]: module "suffix" returns noop for request 0
<br>modcall: leaving group preacct (returns noop) for request 0<br>  Processing the accounting section of radiusd.conf<br>modcall: entering group accounting for request 0<br>radius_xlat:  '/var/log/radacct/10.1.1.0/detail-20071203'
<br>rlm_detail: /var/log/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /var/log/radacct/10.1.1.0/detail-20071203<br>  modcall[accounting]: module "detail" returns ok for request 0<br>  modcall[accounting]: module "unix" returns noop for request 0
<br>radius_xlat:  '/var/log/radutmp'<br>rlm_radutmp: NAS callback restarted (Accounting-On packet seen)<br>  modcall[accounting]: module "radutmp" returns ok for request 0<br>modcall: leaving group accounting (returns ok) for request 0
<br>Sending Accounting-Response of id 223 to <a href="http://10.1.1.0">10.1.1.0</a> port 50016<br>Finished request 0<br>Going to the next request<br>--- Walking the entire request list ---<br>Waking up in 6 seconds...<br>
rad_recv: Accounting-Request packet from host <a href="http://10.1.1.0:50016">10.1.1.0:50016</a>, id=224, length=80<br>        Acct-Status-Type = Accounting-On<br>        NAS-IP-Address = <a href="http://10.1.1.0">10.1.1.0
</a><br>        NAS-Identifier = "LNS-KPU-SM2"<br>        Acct-Authentic = RADIUS<br>        Acct-Session-Id = "load:2147484043"<br>        Event-Timestamp = "Nov 22 2007 10:25:47 WIT"<br>        Acct-Delay-Time = 952317
<br>  Processing the preacct section of radiusd.conf<br>modcall: entering group preacct for request 1<br>  modcall[preacct]: module "preprocess" returns noop for request 1<br>    rlm_realm: Proxy reply, or no User-Name.  Ignoring.
<br>  modcall[preacct]: module "suffix" returns noop for request 1<br>modcall: leaving group preacct (returns noop) for request 1<br>  Processing the accounting section of radiusd.conf<br>modcall: entering group accounting for request 1
<br>radius_xlat:  '/var/log/radacct/10.1.1.0/detail-20071203'<br>rlm_detail: /var/log/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /var/log/radacct/10.1.1.0/detail-20071203<br>  modcall[accounting]: module "detail" returns ok for request 1
<br>  modcall[accounting]: module "unix" returns noop for request 1<br>radius_xlat:  '/var/log/radutmp'<br>rlm_radutmp: NAS callback restarted (Accounting-On packet seen)<br>  modcall[accounting]: module "radutmp" returns ok for request 1
<br>modcall: leaving group accounting (returns ok) for request 1<br>Sending Accounting-Response of id 224 to <a href="http://10.1.1.0">10.1.1.0</a> port 50016<br>Finished request 1<br>Going to the next request<br>--- Walking the entire request list ---
<br><br><br>