FW: Unable to set the object from the scalar_int example

"Philip Mason" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <77638F7A1E0E0A48B3E118AF250D1FC8BE8BE8@crystalvision02.Crystal.local>
Hi all,

I've added the compiled the example code from 

http://net-snmp.sourceforge.net/dev/agent/scalar__int_8c-example.html

 to my agent and if I do an SNMP walk I can see the object OK and it has the value I initialise it to. 

If I try to set it I get the following message:

$ snmpset -c public -v 2c 10.0.0.27 1.3.6.1.4.1.8072.2.1.1.0 i 19
Error in packet.
Reason: notWritable (That object does not support modification)

I've tried with v1, 2c and 3 and with various different users but I always get the same message (I've even tried a different SNMP manager). The object is registered exactly as in the sample code and the MIB says it is read write.

The only other thing I can thing might be relevant is that it is being compiled as part of a uClinux embedded system.

Can anybody give me any clues where I might need to look.

Thanks in advance

Phil Mason

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.