This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SNMP authentication problem


Alperen Coskun wrote:

Thanks for your response,


I think, the main problem is my ECOS snmp agent doesn't read the lines from snmd.conf file. (or reads but doesn't use it)
Because, it should at least call "vacm_parse_security" or "vacm_parse_group" functions to register the user. but, it doesn't. Or, i'm still missing some points.


May be there are some patches i didn't use. Can it be the problem?

Where did you expect it to "read" this file from? This is an _embedded_ system, no?


----------------------------------------
Date: Wed, 25 Jun 2008 14:41:20 +0200
From: andrew@lunn.ch
To: a_a_coskunoc@hotmail.com
CC: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] SNMP authentication problem

On Wed, Jun 25, 2008 at 03:22:48PM +0300, Alperen Coskun wrote:

I know its place, but I asked as the basic of SNMP, when I entered lines below to /etc/snmp/snmpd.conf file:


createUser username MD5  "password"
rwuser username auth

it should create a user "username" with password "password" and encrypt&cypt the coming-coming packets according to MD5. But, neither it creates a user in usm nor it encrypts&cypts the packets. The thing I want to learn is why it doesn't do it. When I aim to get any parameter from agent, agent says there isn't any user recorded. Am i doing sth wrong?
I think i once did use the snmpd.conf file, but i don't remember if we
put users in it. I did test create using dynamically using the tests
shown on

http://ecos.sourceware.org/docs-latest/ref/net-snmp-test-cases.html

Do these tests work for you? I you might need to enable some of the
features in tests/snmpping.c

Andrew


--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]