From: Alperen Coskun <a_a_coskunoc@hotmail.com>
To: Gary Thomas <gary@mlbassoc.com>
Cc: Andrew Lunn <andrew@lunn.ch>,
ecos discuss <ecos-discuss@ecos.sourceware.org>
Subject: RE: [ECOS] SNMP authentication problem
Date: Thu, 26 Jun 2008 13:28:00 -0000 [thread overview]
Message-ID: <BLU138-W6F874F401EF1C0FF37248CCA30@phx.gbl> (raw)
In-Reply-To: <486379CB.9000902@mlbassoc.com>
I can create a file named as "snmpd.conf" in run time, write the given usernames, groups etc in it, then in "read_config.c" file, I can set SNMPCONFPATH as the folder to be read. I did it like that. But, I couldn't find a code where it reads these lines in file...
----------------------------------------
> Date: Thu, 26 Jun 2008 05:13:15 -0600
> From: gary@mlbassoc.com
> To: a_a_coskunoc@hotmail.com
> CC: andrew@lunn.ch; ecos-discuss@ecos.sourceware.org
> Subject: Re: [ECOS] 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
> ------------------------------------------------------------
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next prev parent reply other threads:[~2008-06-26 11:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-25 12:05 Alperen Coskun
2008-06-25 12:19 ` Andrew Lunn
2008-06-25 12:42 ` Alperen Coskun
2008-06-25 15:46 ` Andrew Lunn
2008-06-26 10:08 ` Alperen Coskun
2008-06-26 11:24 ` Gary Thomas
2008-06-26 13:28 ` Alperen Coskun [this message]
2008-06-26 7:26 ` [ECOS] LwIP PPP interface not coming up Frank Pagliughi
2008-06-26 13:56 ` Frank Pagliughi
2008-06-26 16:27 [ECOS] SNMP authentication problem Georg Brutscheid
2008-06-27 15:11 ` Alperen Coskun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BLU138-W6F874F401EF1C0FF37248CCA30@phx.gbl \
--to=a_a_coskunoc@hotmail.com \
--cc=andrew@lunn.ch \
--cc=ecos-discuss@ecos.sourceware.org \
--cc=gary@mlbassoc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).