mib2c -c mib2c.mfd.conf

Simon Chamlian <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAJTs9VnEVXzK21jRpthPfktAC9qB1gTk8mNk_W6ZOO9ZzWaScA@mail.gmail.com>
Hi,

I have an embedded board running Linux/net-snmp (TWR54418 from Freescale).

I am trying to get the agent going on the eval board and create an
application in C, to connect to the agent and return a value to a get/set
command from a mib bowser running on PC.

After reading several tutorials, I came accross, "MIB for Dummies". It
suggests to create the C code from the MIB I have.

But when I run it, I get the following error:

[root@M54418TWR snmp]# mib2c -c mib2c.mfd.conf

ERROR: You don't have the SNMP perl module installed.  Please obtain
this by getting the latest source release of the net-snmp toolkit from
http://www.net-snmp.org/download/ .  Once you download the source and
unpack it, the perl module is contained in the perl/SNMP directory.
See the README file there for instructions.

[root@M54418TWR snmp]#


I checked the downloads and I don't see any SNMP perl module?

Note that Perl is installed on the eval board since snmpconf (perl script)
works fine.

Any hints will be greatly appreciated to help me out:
1) To launch the SNMP agent daemon
2) When a Get/Set/Get(Walk)/GetTable  issued from a MIB browser from a PC,
I get to a C application to return actual data.

Thanks,
Simon

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps 
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.