From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21964 invoked by alias); 25 Jun 2008 12:42:00 -0000 Received: (qmail 21955 invoked by uid 22791); 25 Jun 2008 12:42:00 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 25 Jun 2008 12:41:25 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1KBUJM-0006cZ-00; Wed, 25 Jun 2008 14:41:20 +0200 Date: Wed, 25 Jun 2008 15:46:00 -0000 From: Andrew Lunn To: Alperen Coskun Cc: ecos discuss Message-ID: <20080625124120.GJ14100@lunn.ch> Mail-Followup-To: Alperen Coskun , ecos discuss References: <20080625120956.GH14100@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] SNMP authentication problem X-SW-Source: 2008-06/txt/msg00155.txt.bz2 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 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss