OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [net/] [snmp/] [agent/] [v2_0/] [utils/] [mib2c/] [README-eCos] - Blame information for rev 174

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
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 mib2c 
21
 
22
e.g.
23
 
24
perl -I~/perl.pl/nsPerl5.005_03/lib/site/i686-linux mib2c interfaces

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.