Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-12-2013, 09:43 AM   #1
Registered: Mar 2013
Posts: 65

Rep: Reputation: Disabled
Snmpwalk command not giving response in arm based controller porting

I am working on ARM9 based LPC3250 controller with linux kernel version 2.6.34 in ubuntu 11.10 based host.

I have downloaded NET-SNMP-5.4.3 version package from NET-snmp web site and created SNMPD binary file with below configuration and tried to port that binary file into NMS board using NFS(NETWORK FILE SHARING).

The procedure to make binary file and porting that file into board is (that i was used)

1. Go to the contained file of NET-SNMP like below


2. Run ./configure command with below arguments

root@biya:/home/biya/net-snmp-5.4.3# ./configure --enable-mini-agent --with-cc=arm-linux-gcc --with-mib-modules=mibII --target=arm-linux- --build=i686-pc-linux-gnu --host=arm-linux- --disable-scripts --disable-embedded-perl --enable-static=yes --with-endianness=little --without-perl-modules --disable-manuals --with-rpm build_alias=i686-pc-linux-gnu host_alias=arm-linux target_alias=arm-linux --with-default-snmp-version="1" --with-sys-contact="root" --with-sys-location="unknown" --with-logfile="/var/log/snmpd.log" --with-persistent-directory="/var/net-snmp"

3. Perform Make operation

root@biya:/home/biya/net-snmp-5.4.4# make
root@biya:/home/biya/net-snmp-5.4.4# make install

Then BINARY file created with name "snmpd", and ported that file into board using(NFS) below procedure after kernel booting

~ # mkdir nfs
~ # mount -t nfs -o nolock /nfs
/nfs # ./snmpd
then it is giving below output
Entered into program

Then i have tried to use SNMPWALK from host or target then No response from both sides

The procedure i followed is
/nfs/net-snmp-5.7.2_bin_1/apps # ./snmpwalk -v1 -c public
/usr/local/share/snmp/mibs: No such file or directory
Timeout: No Response from
/nfs/net-snmp-5.7.2_bin_1/apps # ./snmpwalk -v1 -c public
/usr/local/share/snmp/mibs: No such file or directory
Timeout: No Response from

I was thought that it is missing MIBS.
I have found MIBS in host path /usr/local/share/snmp/mibs After MAKE INSTALL command while generating SNMPD binary.
so,I have created same path /usr/local/share/snmp/mibs on NMS BOARD and i copied that MIBS into created path.

Then i tried with SNMPWALK COMMAND then it is not giving any response.

The procedure that i have followed and output is shown below,

# mkdir nfs
# mount -t nfs -o nolock /nfs
~ # cd usr/
/usr # mkdir local
/usr # cd local/
usr/local #mkdir share
/usr/local # cd share/
/usr/local/share # mkdir snmp
/usr/local/share # cd snmp/
/usr/local/share/snmp # mkdir mibs
usr/local/share/snmp #cd mibs/
/usr/local/share/snmp/mibs # pwd

I mounted MIBS using NFS and copied into /usr/local/share/snmp/mibs

/nfs/usr/local/share/snmp/mibs # cp -r NET-SNMP-* /usr/local/share/snmp/mibs
/nfs/usr/local/share/snmp/mibs # cp -r UCD-* /usr/local/share/snmp/mibs
/nfs/usr/local/share/snmp/mibs # cp -r SNMP-* /usr/local/share/snmp/mibs
/nfs/usr/local/share/snmp/mibs # cp -r SNMPv2* /usr/local/share/snmp/mibs
/nfs/usr/local/share/snmp/mibs # cp -r DISMAN-* /usr/local/share/snmp/mibs
/nfs/usr/local/share/snmp/mibs # cp -r IANA-* /usr/local/share/snmp/mibs
/nfs/usr/local/share/snmp/mibs # cp -r HOST-* /usr/local/share/snmp/mibs
/nfs/usr/local/share/snmp/mibs # cp -r AGENT-* /usr/local/share/snmp/mibs
/nfs/usr/local/share/snmp/mibs # cp -r IP* /usr/local/share/snmp/mibs

~ # export MIBS=/usr/local/share/snmp/mibs

~ #nfs/net-snmp-5.7.2_bin_1/apps # ./snmpwalk -v1 -c public
Failed to parse MIB file /usr/local/share/snmp/mibs
Timeout: No Response from

Why it is giving Failed to parse MIB file error.
Please help me.

Thanks & Regards,

Last edited by biyabani; 06-12-2013 at 09:45 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB mounting in ARM based LPC3250 controller nightrapper Linux - Hardware 1 03-15-2013 11:51 AM
USB mounting in ARM based LPC3250 controller nightrapper Linux - Newbie 1 03-09-2013 05:16 AM
[SOLVED] Linux Porting with ARM Controller coolzam Linux - Embedded & Single-board computer 3 11-05-2010 04:26 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration