]> git.karo-electronics.de Git - karo-tx-redboot.git/blob - packages/net/snmp/agent/v2_0/utils/mib2c/README-eCos
Initial revision
[karo-tx-redboot.git] / packages / net / snmp / agent / v2_0 / utils / mib2c / README-eCos
1 To generate the code to allow the agent to understand a MIB:
2
3 1) You will need to set the environment variable "MIBS" to "ALL" in your
4 environment, e.g.:
5
6 setenv MIBS ALL        (for csh)
7 MIBS=ALL ; export MIBS (for sh/bash)
8
9 2) Download the SNMP PERL module
10
11 Download the SNMP module from http://www.cpan.org/
12
13 This seems to be at:
14 http://cpan.valueclick.com/modules/by-category/05_Networking_Devices_IPC/SNMP/
15
16 3) Place your MIBs in /usr/local/share/snmp/mibs/
17
18 3) Run the mib2c script
19
20 perl -I<location of PERL SNMP module> mib2c <mib to generate code for>
21
22 e.g.
23
24 perl -I~/perl.pl/nsPerl5.005_03/lib/site/i686-linux mib2c interfaces