Go to Start > Search... > Files or Folders and look for mib2c.scalar.conf on your local hard disk.
It should be at the net-snmp sources local directory, the same directory where mib2c perl script is stored. The configuration file mib2c.scalar.conf says mib2c to generate code for scalar MIB objects. After the configuration file, specify the MIB node from which you want to look for scalar objects to generate code. Make sure that you are able to load MIBs ant usr/mibs directory. In order to check this point, try to execute: snmptranslate -IR <mib node name> Saludos, David > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of raul > serrano > Sent: Tuesday, September 28, 2004 7:28 PM > To: [EMAIL PROTECTED] > Subject: using mib2c > > > > Hello, > > I'm newby in this. I'm trying to use mib2c to compile an MIB > module, but I > don't know what the config file is for? or where can i get it from? > > I'm trying to do this on Win32: mib2c -c mib2c.scalar.conf ... > It tells me that the configuration file can't be found, looked in > c:/usr/share/snmp > Also, I don't know what i have to put after the conf file > parameter for the > mib2c in order for it to generate the code for the MIB module test I > designed. > > Thanks. > > _________________________________________________________________ > Tired of spam? Get advanced junk mail protection with MSN 8. > http://join.msn.com/?page=features/junkmail > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal > Use IT products in your business? Tell us what you think of > them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > 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 > ------------------------------------------------------------------------------------------------------------------- Este correo electr�nico y, en su caso, cualquier fichero anexo al mismo, contiene informaci�n de car�cter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgaci�n, copia o distribuci�n a terceros sin la previa autorizaci�n escrita de Indra. En el caso de haber recibido este correo electr�nico por error, se ruega notificar inmediatamente esta circunstancia mediante reenv�o a la direcci�n electr�nica del remitente. The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Indra. If you have received this communication in error, please, notify the sender by reply e-mail ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ 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
