--===============1886950272==
Content-Type: multipart/alternative;
boundary="----=_Part_6700_9842585.1170233498567"

------=_Part_6700_9842585.1170233498567
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,
replace public in your command(snmpset) with private,also,you can modify
the snmpd.conf ,replace "rocommunity public" with "rwcommunity public".

after do that,it should work well.


Jiang

On 1/31/07, Dinesh GH wrote:
>
> Hi Jieng,
>
> Thanks for offering me help... Please find the snmpd.conf below...
>
> # rwuser: a SNMPv3 read-write user
> # arguments: user [noauth|auth|priv] [restriction_oid]
> rocommunity public
> rwcommunity private
> rwuser root
> master no
> master no
> # agentuser: The system user that the agent runs as.
> # arguments: name|#uid
> agentuser root
> agentuser bin
> syscontact dchandra
> trap2sink localhost:162 public
>
> See below the comments from snmpset command
> ./snmpset -v1 -c public localhost system.sysLocation.0 s "right here"
> Error in packet.
>
> tail -f /var/snmp/snmpd.log
> Received SNMP packet(s) from 127.0.0.1
> GET message
> -- DISMAN-EVENT-MIB::sysUpTimeInstance
> -- SNMPv2-MIB::sysContact.0
>
> Sending 67 bytes to 127.0.0.1
> 0000: 30 41 02 01 00 04 06 70 75 62 6C 69 63 A2 34 02
> 0A.....public=A24.
> 0016: 04 36 AE B0 9C 02 01 00 02 01 00 30 26 30 0E 06
> .6(r)=B0.......0&0..
> 0032: 08 2B 06 01 02 01 01 03 00 43 02 0B 78 30 14 06
> .+.......C..x0..
> 0048: 08 2B 06 01 02 01 01 04 00 04 08 64 63 68 61 6E
> .+.........dchan
> 0064: 64 72 61 dra
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>


------=_Part_6700_9842585.1170233498567
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,
 replace public in your command(snmpset) with private,also,you =
can modify the snmpd.conf ,replace "rocommunity public" with &quo=
t;rwcommunity public".

after do that,it should work well.
r>

Jiang

On 1/31/07, mail_sendername">Dinesh GH <gh=
dinesh@yahoo.com> wrote:
le=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex;=
padding-left: 1ex;">
Hi Jieng,

Thanks for offering me help... Please find the snmpd.conf =
below...

# rwuser: a SNMPv3 read-write user
#   argumen=
ts:  user [noauth|auth|priv] [restriction_oid]
rocommunity  pu=
blic
rwcommunity private

rwuser  root
master  no
master  no
# agentuser:=
The system user that the agent runs as.
#   arguments: name|#=
uid
agentuser  root
agentuser  bin
syscontact  dcha=
ndra
trap2sink localhost:162 public


See below the comments from snmpset command
./snmpset -v1 -c pub=
lic localhost system.sysLocation.0 s "right here"
Error in pac=
ket.

tail -f /var/snmp/snmpd.log
Received SNMP packet(s) from=20
nExtLink(window,event,this)">127.0.0.1
  GET message
 &=
nbsp;  -- DISMAN-EVENT-MIB::sysUpTimeInstance
    --=
SNMPv2-MIB::sysContact.0

Sending 67 bytes to=20
nExtLink(window,event,this)">127.0.0.1
0000: 30 41 02 01  00 04=
06 70  75 62 6C 69  63 A2 34
02    0A.....public=A24.
0016: 04 36 AE B0  9C 02 0=
1 00  02 01 00 30  26 30 0E 06    .6®=B0......=
..0&0..
0032: 08 2B 06 01  02 01 01 03  00 43 02 0B  7=
8 30 14 06    .+.......C..x0..
0048: 08 2B 06 01  02=
01 01 04  00 04 08 64  63 68 61 6E    .+.........=
dchan

0064: 64 72 61         &nb=
sp;            =
            &nb=
sp;           dra
n class=3D"ad">


____________________________________________=
______
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam p=
rotection around=20

op.js.OpenExtLink(window,event,this)">http://mail.yahoo.com=20




------=_Part_6700_9842585.1170233498567--


--===============1886950272==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
--===============1886950272==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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/...net-snmp-users

--===============1886950272==--