NB> What version of Net-SNMP is this?
NB> Are you sure that you have configured the "private" community to
allow snmpset?

I have confirmed this on net-snmp 5.4.3 (gentoo), 5.4.3 (ubuntu), and
5.7 (source).  My community string is set up as:
rwcommunity private
You can see that it is used in the "snmpset" commands below.

I get the following error messages (with their commands).  Note that
the error is always "notWritable", which seems to indicate an internal
state of snmpd, NOT "noAccess", which would indicate a
community-string problem.

If you have gotten this working, I would appreciate any configuration
files, version numbers, etc.--anything that can get me on my way.

# See if we can destroy a row that may or may not be there.
Error in packet.
Reason: notWritable (That object does not support modification)
Failed object: SNMPv2-SMI::mib-2.80.1.2.1.23.1.1.1.1
>>> Got 2 from snmpset -v 2c -c 'private' '127.0.0.1:161' 
>>> 1.3.6.1.2.1.80.1.2.1.23.1.1.1.1 i 6

# Create a STANDARD DISMAN-PING setup (this will NOT work under
net-snmp, but we try anyway).
Error in packet.
Reason: notWritable (That object does not support modification)
Failed object: SNMPv2-SMI::mib-2.80.1.2.1.3.1.1.1.1
>>> Got 2 from snmpset -v 2c -c 'private' '127.0.0.1:161' 
>>> 1.3.6.1.2.1.80.1.2.1.3.1.1.1.1 i 1 1.3.6.1.2.1.80.1.2.1.4.1.1.1.1 x 
>>> 01010101 1.3.6.1.2.1.80.1.2.1.23.1.1.1.1 i 4

# Try for the "official" net-snmp way, since that works on some D-Link switches.
Error in packet.
Reason: notWritable (That object does not support modification)
Failed object: SNMPv2-SMI::mib-2.80.1.2.1.3.1.1.1.1
>>> Got 2 from snmpset -v 2c -c 'private' '127.0.0.1:161' 
>>> 1.3.6.1.2.1.80.1.2.1.3.1.1.1.1 i 1 1.3.6.1.2.1.80.1.2.1.4.1.1.1.1 s 1.1.1.1 
>>> 1.3.6.1.2.1.80.1.2.1.23.1.1.1.1 i 4

# Leave out the address type, since that works on some D-Link switches.
Error in packet.
Reason: notWritable (That object does not support modification)
Failed object: SNMPv2-SMI::mib-2.80.1.2.1.4.1.1.1.1
>>> Got 2 from snmpset -v 2c -c 'private' '127.0.0.1:161' 
>>> 1.3.6.1.2.1.80.1.2.1.4.1.1.1.1 s 1.1.1.1 1.3.6.1.2.1.80.1.2.1.23.1.1.1.1 i 4

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to