Test failure after I installed successfully freeradius
Hello! I installed FreeRADIUS 2.1.10 on CentOS 6.2 via yum. The problem is that when I try to make a test, I get the following message: # radtest "John Doe" hello 127.0.0.1 0 radiussecret radclient:: Failed to find IP address for artaxerxe radclient: Nothing to send. artaxerxe is my hostname. So, can anybody explain me why it doesn't work? Thanks! N.B. the /etc/raddb/users file: ... "John Doe" Auth-Type := Local, User-Password == "hello" Reply-Message = "Hello, %{User-Name}" ... When I run radius in debug mode: # radiusd -XXX Wed Feb 1 13:58:13 2012 : Info: FreeRADIUS Version 2.1.10, for host i686-pc-linux-gnu, built on Jul 19 2011 at 10:16:18 Wed Feb 1 13:58:13 2012 : Info: Copyright (C) 1999-2009 The FreeRADIUS server project and contributors. Wed Feb 1 13:58:13 2012 : Info: There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A Wed Feb 1 13:58:13 2012 : Info: PARTICULAR PURPOSE. Wed Feb 1 13:58:13 2012 : Info: You may redistribute copies of FreeRADIUS under the terms of the Wed Feb 1 13:58:13 2012 : Info: GNU General Public License v2. Wed Feb 1 13:58:13 2012 : Info: Starting - reading configuration files ... Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/radiusd.conf Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/proxy.conf Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/clients.conf Wed Feb 1 13:58:13 2012 : Debug: including files in directory /etc/raddb/modules/ Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/chap Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/always Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/acct_unique Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/logintime Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/cui Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/perl Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/expiration Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/detail.example.com Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/detail.log Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/realm Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/sql_log Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/pam Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/etc_group Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/sqlcounter_expire_on_login Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/inner-eap Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/detail Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/files Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/echo Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/dynamic_clients Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/attr_filter Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/unix Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/radutmp Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/smsotp Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/policy Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/wimax Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/expr Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/preprocess Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/counter Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/checkval Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/sradutmp Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/digest Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/exec Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/otp Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/mac2ip Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/opendirectory Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/mac2vlan Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/attr_rewrite Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/smbpasswd Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/pap Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/mschap Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/linelog Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/ippool Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/ntlm_auth Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/modules/passwd Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/eap.conf Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/policy.conf Wed Feb 1 13:58:13 2012 : Debug: including files in directory /etc/raddb/sites-enabled/ Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/sites-enabled/inner-tunnel Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/sites-enabled/control-socket Wed Feb 1 13:58:13 2012 : Debug: including configuration file /etc/raddb/sites-enabled/default Wed Feb 1 13:58:13 2012 : Debug: main { Wed Feb 1 13:58:13 2012 : Debug: user = "radiusd" Wed Feb 1 13:58:13 2012 : Debug: group = "radiusd" Wed Feb 1 13:58:13 2012 : Debug: allow_core_dumps = no Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: including dictionary file /etc/raddb/dictionary Wed Feb 1 13:58:13 2012 : Debug: main { Wed Feb 1 13:58:13 2012 : Debug: prefix = "/usr" Wed Feb 1 13:58:13 2012 : Debug: localstatedir = "/var" Wed Feb 1 13:58:13 2012 : Debug: logdir = "/var/log/radius" Wed Feb 1 13:58:13 2012 : Debug: libdir = "/usr/lib/freeradius" Wed Feb 1 13:58:13 2012 : Debug: radacctdir = "/var/log/radius/radacct" Wed Feb 1 13:58:13 2012 : Debug: hostname_lookups = no Wed Feb 1 13:58:13 2012 : Debug: max_request_time = 30 Wed Feb 1 13:58:13 2012 : Debug: cleanup_delay = 5 Wed Feb 1 13:58:13 2012 : Debug: max_requests = 1024 Wed Feb 1 13:58:13 2012 : Debug: pidfile = "/var/run/radiusd/radiusd.pid" Wed Feb 1 13:58:13 2012 : Debug: checkrad = "/usr/sbin/checkrad" Wed Feb 1 13:58:13 2012 : Debug: debug_level = 0 Wed Feb 1 13:58:13 2012 : Debug: proxy_requests = yes Wed Feb 1 13:58:13 2012 : Debug: log { Wed Feb 1 13:58:13 2012 : Debug: stripped_names = no Wed Feb 1 13:58:13 2012 : Debug: auth = no Wed Feb 1 13:58:13 2012 : Debug: auth_badpass = no Wed Feb 1 13:58:13 2012 : Debug: auth_goodpass = no Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: security { Wed Feb 1 13:58:13 2012 : Debug: max_attributes = 200 Wed Feb 1 13:58:13 2012 : Debug: reject_delay = 1 Wed Feb 1 13:58:13 2012 : Debug: status_server = yes Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: radiusd: #### Loading Realms and Home Servers #### Wed Feb 1 13:58:13 2012 : Debug: proxy server { Wed Feb 1 13:58:13 2012 : Debug: retry_delay = 5 Wed Feb 1 13:58:13 2012 : Debug: retry_count = 3 Wed Feb 1 13:58:13 2012 : Debug: default_fallback = no Wed Feb 1 13:58:13 2012 : Debug: dead_time = 120 Wed Feb 1 13:58:13 2012 : Debug: wake_all_if_all_dead = no Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: home_server localhost { Wed Feb 1 13:58:13 2012 : Debug: ipaddr = 127.0.0.1 Wed Feb 1 13:58:13 2012 : Debug: port = 1812 Wed Feb 1 13:58:13 2012 : Debug: type = "auth" Wed Feb 1 13:58:13 2012 : Debug: secret = "testing123" Wed Feb 1 13:58:13 2012 : Debug: response_window = 20 Wed Feb 1 13:58:13 2012 : Debug: max_outstanding = 65536 Wed Feb 1 13:58:13 2012 : Debug: require_message_authenticator = yes Wed Feb 1 13:58:13 2012 : Debug: zombie_period = 40 Wed Feb 1 13:58:13 2012 : Debug: status_check = "status-server" Wed Feb 1 13:58:13 2012 : Debug: ping_interval = 30 Wed Feb 1 13:58:13 2012 : Debug: check_interval = 30 Wed Feb 1 13:58:13 2012 : Debug: num_answers_to_alive = 3 Wed Feb 1 13:58:13 2012 : Debug: num_pings_to_alive = 3 Wed Feb 1 13:58:13 2012 : Debug: revive_interval = 120 Wed Feb 1 13:58:13 2012 : Debug: status_check_timeout = 4 Wed Feb 1 13:58:13 2012 : Debug: irt = 2 Wed Feb 1 13:58:13 2012 : Debug: mrt = 16 Wed Feb 1 13:58:13 2012 : Debug: mrc = 5 Wed Feb 1 13:58:13 2012 : Debug: mrd = 30 Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: home_server_pool my_auth_failover { Wed Feb 1 13:58:13 2012 : Debug: type = fail-over Wed Feb 1 13:58:13 2012 : Debug: home_server = localhost Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: realm example.com { Wed Feb 1 13:58:13 2012 : Debug: auth_pool = my_auth_failover Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: realm LOCAL { Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: radiusd: #### Loading Clients #### Wed Feb 1 13:58:13 2012 : Debug: client localhost { Wed Feb 1 13:58:13 2012 : Debug: ipaddr = 127.0.0.1 Wed Feb 1 13:58:13 2012 : Debug: require_message_authenticator = no Wed Feb 1 13:58:13 2012 : Debug: secret = "radiussomething" Wed Feb 1 13:58:13 2012 : Debug: nastype = "other" Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: radiusd: #### Instantiating modules #### Wed Feb 1 13:58:13 2012 : Debug: instantiate { Wed Feb 1 13:58:13 2012 : Debug: (Loaded rlm_exec, checking if it's valid) Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to module rlm_exec Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating module "exec" from file /etc/raddb/modules/exec Wed Feb 1 13:58:13 2012 : Debug: exec { Wed Feb 1 13:58:13 2012 : Debug: wait = no Wed Feb 1 13:58:13 2012 : Debug: input_pairs = "request" Wed Feb 1 13:58:13 2012 : Debug: shell_escape = yes Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: (Loaded rlm_expr, checking if it's valid) Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to module rlm_expr Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating module "expr" from file /etc/raddb/modules/expr Wed Feb 1 13:58:13 2012 : Debug: (Loaded rlm_expiration, checking if it's valid) Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to module rlm_expiration Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating module "expiration" from file /etc/raddb/modules/expiration Wed Feb 1 13:58:13 2012 : Debug: expiration { Wed Feb 1 13:58:13 2012 : Debug: reply-message = "Password Has Expired " Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: (Loaded rlm_logintime, checking if it's valid) Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to module rlm_logintime Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating module "logintime" from file /etc/raddb/modules/logintime Wed Feb 1 13:58:13 2012 : Debug: logintime { Wed Feb 1 13:58:13 2012 : Debug: reply-message = "You are calling outside your allowed timespan " Wed Feb 1 13:58:13 2012 : Debug: minimum-timeout = 60 Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: radiusd: #### Loading Virtual Servers #### Wed Feb 1 13:58:13 2012 : Debug: server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel Wed Feb 1 13:58:13 2012 : Debug: modules { Wed Feb 1 13:58:13 2012 : Debug: Module: Checking authenticate {...} for more modules to load Wed Feb 1 13:58:13 2012 : Debug: (Loaded rlm_pap, checking if it's valid) Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to module rlm_pap Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating module "pap" from file /etc/raddb/modules/pap Wed Feb 1 13:58:13 2012 : Debug: pap { Wed Feb 1 13:58:13 2012 : Debug: encryption_scheme = "auto" Wed Feb 1 13:58:13 2012 : Debug: auto_header = no Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: (Loaded rlm_chap, checking if it's valid) Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to module rlm_chap Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating module "chap" from file /etc/raddb/modules/chap Wed Feb 1 13:58:13 2012 : Debug: (Loaded rlm_mschap, checking if it's valid) Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to module rlm_mschap Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating module "mschap" from file /etc/raddb/modules/mschap Wed Feb 1 13:58:13 2012 : Debug: mschap { Wed Feb 1 13:58:13 2012 : Debug: use_mppe = yes Wed Feb 1 13:58:13 2012 : Debug: require_encryption = no Wed Feb 1 13:58:13 2012 : Debug: require_strong = no Wed Feb 1 13:58:13 2012 : Debug: with_ntdomain_hack = no Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: (Loaded rlm_unix, checking if it's valid) Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to module rlm_unix Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating module "unix" from file /etc/raddb/modules/unix Wed Feb 1 13:58:13 2012 : Debug: unix { Wed Feb 1 13:58:13 2012 : Debug: radwtmp = "/var/log/radius/radwtmp" Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: (Loaded rlm_eap, checking if it's valid) Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to module rlm_eap Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating module "eap" from file /etc/raddb/eap.conf Wed Feb 1 13:58:13 2012 : Debug: eap { Wed Feb 1 13:58:13 2012 : Debug: default_eap_type = "md5" Wed Feb 1 13:58:13 2012 : Debug: timer_expire = 60 Wed Feb 1 13:58:13 2012 : Debug: ignore_unknown_eap_types = no Wed Feb 1 13:58:13 2012 : Debug: cisco_accounting_username_bug = no Wed Feb 1 13:58:13 2012 : Debug: max_sessions = 4096 Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to sub-module rlm_eap_md5 Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating eap-md5 Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to sub-module rlm_eap_leap Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating eap-leap Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to sub-module rlm_eap_gtc Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating eap-gtc Wed Feb 1 13:58:13 2012 : Debug: gtc { Wed Feb 1 13:58:13 2012 : Debug: challenge = "Password: " Wed Feb 1 13:58:13 2012 : Debug: auth_type = "PAP" Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to sub-module rlm_eap_tls Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating eap-tls Wed Feb 1 13:58:13 2012 : Debug: tls { Wed Feb 1 13:58:13 2012 : Debug: rsa_key_exchange = no Wed Feb 1 13:58:13 2012 : Debug: dh_key_exchange = yes Wed Feb 1 13:58:13 2012 : Debug: rsa_key_length = 512 Wed Feb 1 13:58:13 2012 : Debug: dh_key_length = 512 Wed Feb 1 13:58:13 2012 : Debug: verify_depth = 0 Wed Feb 1 13:58:13 2012 : Debug: CA_path = "/etc/raddb/certs" Wed Feb 1 13:58:13 2012 : Debug: pem_file_type = yes Wed Feb 1 13:58:13 2012 : Debug: private_key_file = "/etc/raddb/certs/server.pem" Wed Feb 1 13:58:13 2012 : Debug: certificate_file = "/etc/raddb/certs/server.pem" Wed Feb 1 13:58:13 2012 : Debug: CA_file = "/etc/raddb/certs/ca.pem" Wed Feb 1 13:58:13 2012 : Debug: private_key_password = "whatever" Wed Feb 1 13:58:13 2012 : Debug: dh_file = "/etc/raddb/certs/dh" Wed Feb 1 13:58:13 2012 : Debug: random_file = "/etc/raddb/certs/random" Wed Feb 1 13:58:13 2012 : Debug: fragment_size = 1024 Wed Feb 1 13:58:13 2012 : Debug: include_length = yes Wed Feb 1 13:58:13 2012 : Debug: check_crl = no Wed Feb 1 13:58:13 2012 : Debug: cipher_list = "DEFAULT" Wed Feb 1 13:58:13 2012 : Debug: cache { Wed Feb 1 13:58:13 2012 : Debug: enable = no Wed Feb 1 13:58:13 2012 : Debug: lifetime = 24 Wed Feb 1 13:58:13 2012 : Debug: max_entries = 255 Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: verify { Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to sub-module rlm_eap_ttls Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating eap-ttls Wed Feb 1 13:58:13 2012 : Debug: ttls { Wed Feb 1 13:58:13 2012 : Debug: default_eap_type = "md5" Wed Feb 1 13:58:13 2012 : Debug: copy_request_to_tunnel = no Wed Feb 1 13:58:13 2012 : Debug: use_tunneled_reply = no Wed Feb 1 13:58:13 2012 : Debug: virtual_server = "inner-tunnel" Wed Feb 1 13:58:13 2012 : Debug: include_length = yes Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to sub-module rlm_eap_peap Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating eap-peap Wed Feb 1 13:58:13 2012 : Debug: peap { Wed Feb 1 13:58:13 2012 : Debug: default_eap_type = "mschapv2" Wed Feb 1 13:58:13 2012 : Debug: copy_request_to_tunnel = no Wed Feb 1 13:58:13 2012 : Debug: use_tunneled_reply = no Wed Feb 1 13:58:13 2012 : Debug: proxy_tunneled_request_as_eap = yes Wed Feb 1 13:58:13 2012 : Debug: virtual_server = "inner-tunnel" Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to sub-module rlm_eap_mschapv2 Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating eap-mschapv2 Wed Feb 1 13:58:13 2012 : Debug: mschapv2 { Wed Feb 1 13:58:13 2012 : Debug: with_ntdomain_hack = no Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: Module: Checking authorize {...} for more modules to load Wed Feb 1 13:58:13 2012 : Debug: (Loaded rlm_realm, checking if it's valid) Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to module rlm_realm Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating module "suffix" from file /etc/raddb/modules/realm Wed Feb 1 13:58:13 2012 : Debug: realm suffix { Wed Feb 1 13:58:13 2012 : Debug: format = "suffix" Wed Feb 1 13:58:13 2012 : Debug: delimiter = "@" Wed Feb 1 13:58:13 2012 : Debug: ignore_default = no Wed Feb 1 13:58:13 2012 : Debug: ignore_null = no Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: (Loaded rlm_files, checking if it's valid) Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to module rlm_files Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating module "files" from file /etc/raddb/modules/files Wed Feb 1 13:58:13 2012 : Debug: files { Wed Feb 1 13:58:13 2012 : Debug: usersfile = "/etc/raddb/users" Wed Feb 1 13:58:13 2012 : Debug: acctusersfile = "/etc/raddb/acct_users" Wed Feb 1 13:58:13 2012 : Debug: preproxy_usersfile = "/etc/raddb/preproxy_users" Wed Feb 1 13:58:13 2012 : Debug: compat = "no" Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: Module: Checking session {...} for more modules to load Wed Feb 1 13:58:13 2012 : Debug: (Loaded rlm_radutmp, checking if it's valid) Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to module rlm_radutmp Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating module "radutmp" from file /etc/raddb/modules/radutmp Wed Feb 1 13:58:13 2012 : Debug: radutmp { Wed Feb 1 13:58:13 2012 : Debug: filename = "/var/log/radius/radutmp" Wed Feb 1 13:58:13 2012 : Debug: username = "%{User-Name}" Wed Feb 1 13:58:13 2012 : Debug: case_sensitive = yes Wed Feb 1 13:58:13 2012 : Debug: check_with_nas = yes Wed Feb 1 13:58:13 2012 : Debug: perm = 384 Wed Feb 1 13:58:13 2012 : Debug: callerid = yes Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: Module: Checking post-proxy {...} for more modules to load Wed Feb 1 13:58:13 2012 : Debug: Module: Checking post-auth {...} for more modules to load Wed Feb 1 13:58:13 2012 : Debug: (Loaded rlm_attr_filter, checking if it's valid) Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to module rlm_attr_filter Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating module "attr_filter.access_reject" from file /etc/raddb/modules/attr_filter Wed Feb 1 13:58:13 2012 : Debug: attr_filter attr_filter.access_reject { Wed Feb 1 13:58:13 2012 : Debug: attrsfile = "/etc/raddb/attrs.access_reject" Wed Feb 1 13:58:13 2012 : Debug: key = "%{User-Name}" Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: } # modules Wed Feb 1 13:58:13 2012 : Debug: } # server Wed Feb 1 13:58:13 2012 : Debug: server { # from file /etc/raddb/radiusd.conf Wed Feb 1 13:58:13 2012 : Debug: modules { Wed Feb 1 13:58:13 2012 : Debug: Module: Checking authenticate {...} for more modules to load Wed Feb 1 13:58:13 2012 : Debug: (Loaded rlm_digest, checking if it's valid) Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to module rlm_digest Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating module "digest" from file /etc/raddb/modules/digest Wed Feb 1 13:58:13 2012 : Debug: Module: Checking authorize {...} for more modules to load Wed Feb 1 13:58:13 2012 : Debug: (Loaded rlm_preprocess, checking if it's valid) Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to module rlm_preprocess Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating module "preprocess" from file /etc/raddb/modules/preprocess Wed Feb 1 13:58:13 2012 : Debug: preprocess { Wed Feb 1 13:58:13 2012 : Debug: huntgroups = "/etc/raddb/huntgroups" Wed Feb 1 13:58:13 2012 : Debug: hints = "/etc/raddb/hints" Wed Feb 1 13:58:13 2012 : Debug: with_ascend_hack = no Wed Feb 1 13:58:13 2012 : Debug: ascend_channels_per_line = 23 Wed Feb 1 13:58:13 2012 : Debug: with_ntdomain_hack = no Wed Feb 1 13:58:13 2012 : Debug: with_specialix_jetstream_hack = no Wed Feb 1 13:58:13 2012 : Debug: with_cisco_vsa_hack = no Wed Feb 1 13:58:13 2012 : Debug: with_alvarion_vsa_hack = no Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: Module: Checking preacct {...} for more modules to load Wed Feb 1 13:58:13 2012 : Debug: (Loaded rlm_acct_unique, checking if it's valid) Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to module rlm_acct_unique Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating module "acct_unique" from file /etc/raddb/modules/acct_unique Wed Feb 1 13:58:13 2012 : Debug: acct_unique { Wed Feb 1 13:58:13 2012 : Debug: key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port" Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: Module: Checking accounting {...} for more modules to load Wed Feb 1 13:58:13 2012 : Debug: (Loaded rlm_detail, checking if it's valid) Wed Feb 1 13:58:13 2012 : Debug: Module: Linked to module rlm_detail Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating module "detail" from file /etc/raddb/modules/detail Wed Feb 1 13:58:13 2012 : Debug: detail { Wed Feb 1 13:58:13 2012 : Debug: detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d" Wed Feb 1 13:58:13 2012 : Debug: header = "%t" Wed Feb 1 13:58:13 2012 : Debug: detailperm = 384 Wed Feb 1 13:58:13 2012 : Debug: dirperm = 493 Wed Feb 1 13:58:13 2012 : Debug: locking = no Wed Feb 1 13:58:13 2012 : Debug: log_packet_header = no Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: Module: Instantiating module "attr_filter.accounting_response" from file /etc/raddb/modules/attr_filter Wed Feb 1 13:58:13 2012 : Debug: attr_filter attr_filter.accounting_response { Wed Feb 1 13:58:13 2012 : Debug: attrsfile = "/etc/raddb/attrs.accounting_response" Wed Feb 1 13:58:13 2012 : Debug: key = "%{User-Name}" Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: Module: Checking session {...} for more modules to load Wed Feb 1 13:58:13 2012 : Debug: Module: Checking post-proxy {...} for more modules to load Wed Feb 1 13:58:13 2012 : Debug: Module: Checking post-auth {...} for more modules to load Wed Feb 1 13:58:13 2012 : Debug: } # modules Wed Feb 1 13:58:13 2012 : Debug: } # server Wed Feb 1 13:58:13 2012 : Debug: radiusd: #### Opening IP addresses and Ports #### Wed Feb 1 13:58:13 2012 : Debug: listen { Wed Feb 1 13:58:13 2012 : Debug: type = "auth" Wed Feb 1 13:58:13 2012 : Debug: ipaddr = * Wed Feb 1 13:58:13 2012 : Debug: port = 0 Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: listen { Wed Feb 1 13:58:13 2012 : Debug: type = "acct" Wed Feb 1 13:58:13 2012 : Debug: ipaddr = * Wed Feb 1 13:58:13 2012 : Debug: port = 0 Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: listen { Wed Feb 1 13:58:13 2012 : Debug: type = "control" Wed Feb 1 13:58:13 2012 : Debug: listen { Wed Feb 1 13:58:13 2012 : Debug: socket = "/var/run/radiusd/radiusd.sock" Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: listen { Wed Feb 1 13:58:13 2012 : Debug: type = "auth" Wed Feb 1 13:58:13 2012 : Debug: ipaddr = 127.0.0.1 Wed Feb 1 13:58:13 2012 : Debug: port = 18120 Wed Feb 1 13:58:13 2012 : Debug: } Wed Feb 1 13:58:13 2012 : Debug: Listening on authentication address * port 1812 Wed Feb 1 13:58:13 2012 : Debug: Listening on accounting address * port 1813 Wed Feb 1 13:58:13 2012 : Debug: Listening on command file /var/run/radiusd/radiusd.sock Wed Feb 1 13:58:13 2012 : Debug: Listening on authentication address 127.0.0.1 port 18120 as server inner-tunnel Wed Feb 1 13:58:13 2012 : Debug: Listening on proxy address * port 1814 Wed Feb 1 13:58:13 2012 : Info: Ready to process requests. So, can anybody explain me why it doesn't work? Thanks! -- View this message in context: http://freeradius.1045715.n5.nabble.com/Test-failure-after-I-installed-succe... Sent from the FreeRadius - Dev mailing list archive at Nabble.com.
artaxerxe wrote:
I installed FreeRADIUS 2.1.10 on CentOS 6.2 via yum. The problem is that when I try to make a test, I get the following message:
# radtest "John Doe" hello 127.0.0.1 0 radiussecret radclient:: Failed to find IP address for artaxerxe radclient: Nothing to send.
artaxerxe is my hostname.
No, it's not. You don't have DNS set up.
So, can anybody explain me why it doesn't work?
Edit radtest to use something else for the NAS name.
the /etc/raddb/users file:
...
"John Doe" Auth-Type := Local, User-Password == "hello"
That's wrong. Very, very wrong. Delete the "Auth-Type := Local". It's useless. Change "User-Password ==" to "Cleartext-Password :=". This is in the FAQ. Alan DeKok.
participants (2)
-
Alan DeKok -
artaxerxe