Re: [mib2c, IEEE802dot110MIB] Using mib2c to generate code with IEEE802dot-MIB

"bowmanchen" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <011301c792ac$d6085910$83a8a8c0@Bowman>
       Hi  Dave:
              May be I said not clearly.
               Yes,  5.3.1 installation compiled from pure source.
                I have put IEEE802dot11-MIB.txt to
                "/usr/local/share/snmp/mibs/" .
                Using snmptranslate  command to test IEEE802dot11-MIB is OK.

                 For 5.3.1  or 5.4  source complie
                 Setp1 :  $> 
./configure --with-perl-modules --enable-embedded-perl --enable-shared
                 Step2:   $>  make
                 Step3:   $>  make   test
                 Step4:   $>  make   install
                 Step5:   $>  cp IEEE802dot11-MIB.txt 
/usr/local/share/snmp/mibs/
                 Step6:   $> snmptranslate  IEEE802dot11-MIB::ieee802dot11
                     IEEE802dot11-MIB::ieee802dot11
                 Step7:   $>  mib2c IEEE802dot11-MIB::ieee802dot11
                                    For 5.4 is OK.
                                    For 5.3.1 is Fail that said "You didn't 
give mib2c a valid OID to start with...."

               Thanks for your help.

BR,
Bowman Chen


----- Original Message ----- 
From: "Dave Shield" <[email protected]>
To: "bowmanchen" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, May 09, 2007 9:15 PM
Subject: Re: [mib2c, IEEE802dot110MIB] Using mib2c to generate code with
IEEE802dot-MIB


> On 08/05/07, bowmanchen <[email protected]> wrote:
>>    I want to use IEEE802dot-MIB.txt.  I have put it in
>> /usr/local/share/snmp/mibs  .
>>
>>   My problem is
>>           Using mib2c to generate code by NET-SNMP 5.4  is OK.
>>           Using mib2c to generate code by NET-SNMP 5.3.1  is fail.
>>
>>     Why I can't usign mib2c to generate code by NET-SNMP 5.3.1 ???
>
>
>
>>  For NET-SNMP 5.3.1 see following text:
>> You didn't give mib2c a valid OID to start with....
>
>
> Is the 5.3.1 installation compiled from source, or a vendor-supplied
> version?
> It may be that the library cannot find the IEEE802dot-MIB.txt file.
>
>
>> You might wish to start by reading the MIB loading tutorial at:
>>     http://www.net-snmp.org/tutorial-5/commands/mib-options.html
>> And making sure you can get snmptranslate to display information about
>> your MIB node.
>
> Does the 5.3.1 version of snmptranslate display information about this
> MIB?
>
> Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
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.