i need to set IP address using netsnmp and i do the following
1-create rwcommunity and give it full privileges.
2-i'm using netsnmp version 2c
3-i'm using IP-MIB

mycommand:
 snmpset -Oe  -v 2c -c private localhost IP-MIB::ipAdEntAddr.192.168.1.49  = 
192.168.1.26

myerror:
Error in packet.
Reason: notWritable (That object does not support modification)
Failed object: IP-MIB::ipAdEntAddr.192.168.1.49

>From the IP-MIB file:

ipAdEntAddr OBJECT-TYPE
    SYNTAX     IpAddress
    MAX-ACCESS read-only    <========== change it to read-write
    STATUS     deprecated
    DESCRIPTION
           "The IPv4 address to which this entry's addressing
            information pertains."
    ::= { ipAddrEntry 1 }

i know it is not writable but how can i do that (change object value) i need 
answer yes or not and if yes how can i do this??



      
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
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

Reply via email to