snmpd and pass-persist

Hello,

Has anybody experience recompiling the snmpd daemon in the Digi EL toolchain, enabling the pass-persist option (–with-mib-modules “ucd-snmp-extensible ucd-snmp-pass ucd-snmp-pass_persist”)?

We did this but unfortunately when requiring an OID within the pass-persist subtree, our external program receives the PING, replies a PONG and then nothing…

Our target is a Digi Me 9210.

Thank you.

Hi,
I’m having a similar issue… did you manage to find a way to rebuild the snmpd daemon?

Elisa

Hello!

basically, there are two options to use individually compiled tools and libraries in your project:

  • Make the setup (e.g. ‘make menuconfig’) completely independent from your project and just add the relevant files using add_files.sh (/configs/add_files.sh in yout rootfs-project)
  • The “Digi-way”: You can (re-) configure and compile a component of the toolchain and then integrate it in the template for any further rootfs (using ‘make install-del’).

There are two KB articles describing both ways:
http://www.digi.com/support/kbase/kbaseresultdetl?id=3281
http://www.digi.com/support/kbase/kbaseresultdetl?id=3161

I’m currently using a DigiEL-5.2-environment with many manually compiled components and can give further information about cross-compiling and add_files.sh.

F. Kerkhoff

Hi,

try with this (obviously change the other options to what you need):

./configure
CC=/usr/local/DigiEL-5.2/usr/bin/arm-linux-gcc
CXX=/usr/local/DigiEL-5.2/usr/bin/arm-linux-g++
host_alias=arm-linux
–with-endianness=little
–prefix=/usr/local/DigiEL-5.2/usr
–sysconfdir=/etc
–target=arm-linux
–host=arm-linux
–build=i486-linux-gnu
–disable-perl
–disable-embedded-perl
–disable-perl-cc-checks
–without-perl-modules
–enable-as-needed
–with-default-snmp-version=2
–with-logfile=/var/log/snmpd.log
--with-sys-contact=root@ntcip.com
–with-sys-location=Unknown
–with-persistent-directory=/var/net-snmp
–with-mib-modules="“ucd-snmp-extensible ucd-snmp-pass ucd-snmp-pass_persist”
–with-ar=/usr/local/DigiEL-5.2/usr/bin/arm-linux-ar
–with-ld=/usr/local/DigiEL-5.2/usr/bin/arm-linux-ld
–without-dmalloc
–without-efence
–without-kmem-usage
–without-rpm
–without-rsaref

(the last five are options enabled in the original daemon of the digi module)
Elisa