Hi,

I have a problem with FreeRADIUS and SNMP. I have compiled and installed FreeRADIUS on 
a Red Hat Linux 7.2/i386 with SNMP support. FreeRADIUS connects successfully to the 
SNMP agent (ucd-snmp 4.2.4).

The problem is that I am not able to do anything with SNMP.

On the mailing list archive I found the following email
http://www.mail-archive.com/[EMAIL PROTECTED]/msg18911.html
which says that:

"Then try this:
snmpwalk -v 2c -c public localhost .1.3.6.1.2.1.67.1.1.1.1.1.0
You should get the FreeRADIUS version back."

When I do this, FreeRADIUS seems to get and parse the request from the agent as the 
following is printed in the FR debug output:

SMUX read start
SMUX read len: 38
SMUX message received type: 161 rest len: 34
SMUX_GETNEXT
SMUX GET message parse: len 34
SMUX GET reqid: 332 len: 30
SMUX GET errstat 0 len: 27
SMUX GET errindex 0 len: 24
SMUX var parse: len 24
SMUX var parse: type 48 len 20
SMUX var parse: type must be 48
Request OID: 1.3.6.1.2.1.67.1.1.1.1.1.0
SMUX val_type: 5
ASN_NULL
SMUX function call index is 1
SMUX function call index is 2
SMUX GETRSP send
SMUX GETRSP reqid: 332
SMUX GETRSP errstat: 0
SMUX GETRSP errindex: 0
SMUX getresp send: 41
--- Walking the entire request list ---

And in fact the same kind of output is printed for several differend OID. However, the 
snmpwalk result is:
67.1.1.1.1.1.0 = No more variables left in this MIB View

I am obviously doing something wrong but any hints as to what?

By the way. If the smux_password is incorrect in snmp.conf, FreeRADIUS crashes with 
"Broken pipe" when trying to register to SMUX agent.
-- 
Tero Turtiainen
[EMAIL PROTECTED]
Tel: +358 40 702 8754

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to