<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:10pt">Hi list,<br><br>I have ubuntu 6.10 and i have set-up my freeradius-1.1.3 for peap-eap/mschapv2. <br>I have got this packages for snmp : libsnmp9 , libsnmp9-dev , libsnmp-base , libsnmp-perl , libsnmp-session-perl , php5-snmp , snmp ,snmpd <br>I have configured the radiusd.conf to support snmp and in snmp.conf i have set the community string to public as it is in snmpd.conf. <br>However when i am running freeradius in debugging mode : radiusd -X , i get the following output and the freeradius does not start. <br>Why is that happening ? When i configured the radiusd.conf without snmp everything works perfect.<br><br>root@apolyxrono2:/usr/local/etc/raddb# radiusd -X<br>Starting - reading configuration files ...<br>reread_config:  reading radiusd.conf<br>Config:   including file:
 /usr/local/etc/raddb/proxy.conf<br>Config:   including file: /usr/local/etc/raddb/clients.conf<br>Config:   including file: /usr/local/etc/raddb/snmp.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 = "/usr/local/var"<br> main: logdir = "/usr/local/var/log/radius"<br> main: libdir = "/usr/local/lib"<br> main: radacctdir = "/usr/local/var/log/radius/radacct"<br> main: hostname_lookups = no<br> main: snmp = yes<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 = "/usr/local/var/log/radius/radius.log"<br> main: log_auth = no<br> main:
 log_auth_badpass = no<br> main: log_auth_goodpass = no<br> main: pidfile = "/usr/local/var/run/radiusd/radiusd.pid"<br> main: bind_address = 10.0.0.15 IP address [10.0.0.15]<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 = yes<br> proxy: retry_delay = 5<br> proxy: retry_count = 3<br> proxy: synchronous = no<br> proxy: default_fallback = yes<br> proxy: dead_time = 120<br> proxy: post_proxy_authorize = no<br> proxy: wake_all_if_all_dead = 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>Using deprecated naslist file.  Support for this will go away soon.<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 MS-CHAP <br> mschap: use_mppe = no<br> mschap: require_encryption = yes<br> mschap: require_strong = yes<br> mschap: with_ntdomain_hack = yes<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 = "(null)"<br> unix: shadow = "(null)"<br> unix: group = "(null)"<br> unix: radwtmp = "/usr/local/var/log/radius/radwtmp"<br> unix: usegroup = no<br> unix: cache_reload = 600<br>Module: Instantiated unix (unix) <br>Module: Loaded eap <br> eap: default_eap_type = "peap"<br> eap: timer_expire = 60<br> eap: ignore_unknown_eap_types = no<br> eap: cisco_accounting_username_bug = no<br> tls: rsa_key_exchange = no<br> tls: dh_key_exchange = yes<br> tls: rsa_key_length = 512<br> tls: dh_key_length = 512<br> tls: verify_depth = 0<br> tls: CA_path = "(null)"<br> tls: pem_file_type = yes<br> tls: private_key_file = "/usr/local/etc/raddb/certs/server_keycert.pem"<br> tls: certificate_file = "/usr/local/etc/raddb/certs/server_keycert.pem"<br> tls: CA_file = "/usr/local/etc/raddb/certs/demoCA/cacert.pem"<br> tls: private_key_password = "whatever"<br> tls:
 dh_file = "/usr/local/etc/raddb/certs/dh"<br> tls: random_file = "/usr/local/etc/raddb/certs/random"<br> tls: fragment_size = 1024<br> tls: include_length = yes<br> tls: check_crl = no<br> tls: check_cert_cn = "(null)"<br> tls: cipher_list = "(null)"<br> tls: check_cert_issuer = "(null)"<br>rlm_eap_tls: Loading the certificate file as a chain<br>rlm_eap: Loaded and initialized type tls<br> peap: default_eap_type = "mschapv2"<br> peap: copy_request_to_tunnel = yes<br> peap: use_tunneled_reply = no<br> peap: proxy_tunneled_request_as_eap = yes<br>rlm_eap: Loaded and initialized type peap<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> preprocess: with_alvarion_vsa_hack = no<br>Module: Instantiated preprocess (preprocess) <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 Acct-Unique-Session-Id <br> acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"<br>Module: Instantiated acct_unique (acct_unique) <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 detail <br> detail: detailfile = "/usr/local/var/log/radius/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 = "/usr/local/var/log/radius/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> main: smux_password = "public"<br> main: snmp_write_access = no<br>SMUX connect try 1<br>SMUX open oid: 1.3.6.1.4.1.3317.1.3.1<br>SMUX open progname: radiusd<br>SMUX open password: public<br>SMUX register oid: 1.3.6.1.2.1.67.1.1.1.1<br>SMUX register priority: -1<br>SMUX register operation: 1<br>SMUX register oid: 1.3.6.1.2.1.67.2.1.1.1<br>SMUX register priority: -1<br>SMUX register
 operation: 1<br>root@apolyxrono2:/usr/local/etc/raddb# <br><br><br>thanks for help...<br><div> </div><span style="font-weight: bold; color: rgb(0, 0, 255); font-family: comic sans ms;">Adreas Polyxronopoulos</span><br style="font-weight: bold; color: rgb(0, 0, 255); font-family: comic sans ms;"><div><br></div></div><br>
                <hr size=1> 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the <a href="http://uk.rd.yahoo.com/mail/uk/taglines/default/championships/games/*http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk/">Yahoo! Mail Championships</a>. Plus: play games and win prizes.</body></html>