Announcement

Collapse
No announcement yet.

SNMP commands not working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SNMP commands not working

    Hello,

    I'm developing an application using XPort Pro 16MB module.

    For the development I use the Linux SDK (2.0.0.3).
    I enabled SNMP functionality with few commands (snmpget, snmpset, snmpwalk, ....), then compiled the kernel and booted into the device. However, when trying to conduct any SNMP command on the uClinux command line, I get an error and the device then locks up:

    Output I get:
    Code:
    / # snmpget -v 1 -c private 127.0.0.1  .1.3.6.1.4.1.43984.2.1.9.1.1.1.0
    No log handling enabled - using stderr logging
    Created directory: /var/net-snmp
    Created directory: /var/net-snmp/mib_indexes
    MIB search path: //.snmp/mibs:/home/lantronix/linuxsdk/linux/user/net-snmp/build
    //share/snmp/mibs
    Cannot find module (SNMPv2-MIB): At line 0 in (none)
    Cannot find module (IF-MIB): At line 0 in (none)
    Cannot find module (IP-MIB): At line 0 in (none)
    Cannot find module (TCP-MIB): At line 0 in (none)
    Canno
    Please advise, what could be wrong.

    Many thanks
    Last edited by Stepik; 07-13-2016, 03:21 PM.

  • #2
    Snmp

    I have successfully built the SNMP agent code into the XPP 16MB version.
    However, I have not attempted to build any of the SNMP commands since my SNMP manager runs elsewhere (on the development system).
    I would not be surprise if those commands use dynamic memory or make other calls not supported in uClinux.

    Comment

    Working...
    X