Compiling and installing net-snmp on BeagleBone

The easiest way to control our Beaglebone device using SNMP is to install net-snmp package.

The following tutorial assumes you have angstrom toolchain installed as described here and you are running vanilla Angstrom distribution on your Beagle

  1. Download net-snmp source from here and untar it
  2. Configure the package as the following:
  3. run “make”
  4. run “make install DESTDIR=<explicit temp dir path>”
  5. install files to BeagleBone using SSH:

  6. To test your installation, create snmpd.conf file by running:

    and run snmpd in shell:

    (use ip address you wish to listen on)

    You can check /var/log/snmpd.log for errors

Good luck!

2 thoughts on “Compiling and installing net-snmp on BeagleBone

  1. Hello!

    How would you go about compiling the net-snmp libraries on the Beaglebone itself?
    I am running Angstrom on a Beaglebone Black and when I install the package (from repo or from source) and attempt to start the service, I get the following error:

    pcilib: Cannot open /proc/bus/pci
    pcilib: Cannot find any working access method.

    Help will be appreciated!

  2. Hi,

    Thanks, this worked fine for me and I managed to install net-snmp 5.7.2 in a gumstix overo. Although I had to apply this patch and install pciutil library.

    I get an error when I try to start agentx in the snmp.conf. Is that related with the option –enable-mini-agent? Could you explain what is that for please?

    Thank you,

Leave a Reply

Your email address will not be published. Required fields are marked *