Hi Dave,
As you suggested, I have tried to give the path of snmpd.conf in my
run-time environment. The exact command I gave is (snmpd.conf file is
stored under /etc/ at run-time environment):
root:/bin> snmpd -c /etc/snmpd.conf &

And the ps command shows that snmpd is running.

root:/bin> ps
PID Uid VmSize Stat Command
1 root 48 S /sbin/init
2 root SWN [ksoftirqd/0]
3 root SW< [events/0]
4 root SW< [khelper]
5 root SW< [kthread]
6 root SW< [kblockd/0]
7 root SW [pdflush]
8 root SW [pdflush]
10 root SW< [aio/0]
9 root SW [kswapd0]
11 root SW [mtdblockd]
22 root SWN [jffs2_gcd_mtd5]
24 root 44 S inetd
33 root 88 S dhcpcd
42 root 204 S /bin/sh
58 root 56 S snmpd -c /etc/snmpd.conf
59 root 52 R ps

Now from the SNMP server, if I try snmpget and snmpwalk, both are
returning Timeout errors. The actual response from the snmp manager is:

[root@babbage sbin]# snmpget -v 1 -c tst
Timeout: No Response from
[root@babbage sbin]# snmpwalk -v 1 -c tst system
Timeout: No Response from is the ip-address of my target board.
What could be the problem?

Best regards,
-----Original Message-----
From: dave.shield@googlemail.com [mailto:dave.shield@googlemail.com] On
Behalf Of Dave Shield
Sent: Thursday, March 06, 2008 3:10 PM
To: Manu Asm (WT01 - MCE-Consumer Electronics)
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: Problem in Porting net-snmp to uClinux

On 06/03/2008, wrote:
> I am able to run the SNMP agent on the uClinux (Blackfin Board).
> I am using the following command to run the agent:
> root:/bin> snmpd -c tst &
> where tst is the community name.

The '-c' option for snmpd takes the name of a config file,
not a community string.

Please see the snmpd.conf(5) man page,
or the project FAQ for details of this file.

All your other problems will stem from this mistake.


This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
Net-snmp-coders mailing list