I am running net-snmp-5.1.2, on a MIPS platform, openWRT (kernel 2.6.25).

I have written my MIB, generated .c and .h files using mib2c, modified the .c 
file with my data struct and etc, and used 
--with-mib-module="myMib" to configure, and compiled on x86, my laptop, and ran 
it. Everything OK.

snmpwalk and snmpget worked, fine and great.

Then I cross-compiled to the MIPS platform using the same way as I did for x86 
and i "installed" it. I checked the processes and I found SNMPD running fine 
wiht these options, 

/usr/sbin/snmpd -Lf /dev/null -p /var/run/snmpd.pid 

Then, I did snmpwalk and snmpget. snmpwalk did work but it was not displaying 
my oids. Then, I did snmpget on my oid and the call failed with 
Error in packet
Reason nosuchname
failed object myoid ....

Then I did start the agent with -D option, and found that the agent is receving 
the resuest but it does not know how to process the request.

What am I missing here ?

Are there any additonal steps I need to do while installing it into my target ?

I am stuck....your help will by highly appreciated.
thanks.


      __________________________________________________________________
The new Internet Explorer® 8 - Faster, safer, easier.  Optimized for Yahoo!  
Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to