[prev in list] [next in list] [prev in thread] [next in thread]
List: net-snmp-users
Subject: please help me
From: Eman Saber <eman_saber_iti () yahoo ! com>
Date: 2010-08-03 11:53:43
Message-ID: 364935.58640.qm () web59706 ! mail ! ac4 ! yahoo ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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??
[Attachment #5 (text/html)]
<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:18pt">i need to set <span style="border-bottom: 2px dotted \
rgb(54, 99, 136); background: transparent none repeat scroll 0% 0%; cursor: pointer; \
-moz-background-clip: border; -moz-background-origin: padding; \
-moz-background-inline-policy: continuous;" class="yshortcuts" \
id="lw_1280835955_0">IP address</span> using netsnmp and i do the \
following<br>1-create rwcommunity and give it full privileges.<br>2-i'm using netsnmp \
version 2c<br>3-i'm using IP-MIB<br><br>mycommand:<br> snmpset -Oe -v 2c \
-c private localhost IP-MIB::ipAdEntAddr.192.168.1.49 = \
192.168.1.26<br><br>myerror:<br>Error in packet.<br>Reason: notWritable (That object \
does not support modification)<br>Failed object: \
IP-MIB::ipAdEntAddr.192.168.1.49<br><br>From the IP-MIB file:<br><br>ipAdEntAddr \
OBJECT-TYPE<br> SYNTAX IpAddress<br> \
MAX-ACCESS read-only <========== change it to read-write<br> \
STATUS deprecated<br> DESCRIPTION<br> \
"The <span style="background: transparent none repeat scroll 0% \
0%; cursor: pointer; -moz-background-clip: border; -moz-background-origin: padding; \
-moz-background-inline-policy: continuous;" class="yshortcuts" \
id="lw_1280835955_3">IPv4 address</span> to which this entry's addressing<br> \
information pertains."<br> ::= { \
ipAddrEntry 1 }<br><br>i know it is not writable but how can i do that (<span \
style="background: transparent none repeat scroll 0% 0%; cursor: pointer; \
-moz-background-clip: border; -moz-background-origin: padding; \
-moz-background-inline-policy: continuous;" class="yshortcuts" \
id="lw_1280835955_0">change object value</span>) i need answer yes or not and if yes \
how can i do this??<br></div><br>
</body></html>
------------------------------------------------------------------------------
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic