Hi,
Great job.
I'm interested to make snmp work on my uClinux too.
How do you manage to make it work? Do you do the following ?
- You select snmpd
- You select also net-snmp with "additional mibs options"
- You put your modules in the additional mibs
- Then when compiled you run snmpd on your target (snmpd -c <IPAddr of the target> -c public)
Is that's all ? Or do you provide additional configuration/mib files ?
On my side, I don't put additional mibs but I think that there is default mibs provided by snmpd. However I don't know if it need configuration files because my snmpd runs but it does not replies to a walk (timeout).
I activate the debug in snmdp (#define DEBUG in debug.h) and I see request but snmpd does not replies to it :
--- Quote Start ---
snmpd -h 192.168.254.133 -c public
NILRecvfrom: 40
30 26 02 01 00 04 06 70 75 62 6C 69 63 A1 19 02 04 1E C3 D5 B6 02 01 00 02 01 00 30 0B 30 09 06 05 2B 06 01 02 01 05 00
smpInputEvent 2
Recvfrom: 40
30 26 02 01 00 04 06 70 75 62 6C 69 63 A1 19 02 04 1E C3 D5 B6 02 01 00 02 01 00 30 0B 30 09 06 05 2B 06 01 02 01 05 00
smpInputEvent 2
Recvfrom: 40
30 26 02 01 00 04 06 70 75 62 6C 69 63 A1 19 02 04 1E C3 D5 B6 02 01 00 02 01 00 30 0B 30 09 06 05 2B 06 01 02 01 05 00
smpInputEvent 2
Recvfrom: 40
30 26 02 01 00 04 06 70 75 62 6C 69 63 A1 19 02 04 1E C3 D5 B6 02 01 00 02 01 00 30 0B 30 09 06 05 2B 06 01 02 01 05 00
smpInputEvent 2
Recvfrom: 40
30 26 02 01 00 04 06 70 75 62 6C 69 63 A1 19 02 04 1E C3 D5 B6 02 01 00 02 01 00 30 0B 30 09 06 05 2B 06 01 02 01 05 00
smpInputEvent 2
--- Quote End ---
Do I do something wrong ?
Best regards