Installing PySNMP on Beaglebone

Beaglebone Angstrom installation is missing some required python packages needed

  1. Run

    or download those packages from here (if you are offline): http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/
  2. Continue with original installation instructions: http://pysnmp.sourceforge.net/download.html

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

Download net-snmp source from here and untar it Configure the package as the following: run “make” run “make install DESTDIR=<explicit temp dir path>” install files to BeagleBone using SSH:   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!

Building and setting up QT environment for BeagleBone

There are too few information available on how to easily setup QT environment for building Beaglebone applications (command line or GUI). In this tutorial we will compile QT and setup the environment from scratch.

1. My environment

  • Host: Ubuntu 12.10 32bit (VMplayer)
  • Target: BeagleBone Black running Angstrom
  • QT: 4.8.5

2. Setup Angstrom cross-compile toolchain for Linux

3. Download and un-tar QT

 4. Create qmake.conf

Add the following to qmake.conf with your favorite editor:

 5. Configure QT embedded

 6. Build and install

“-j 4” will run the long build process reusing 4 CPU cores, you can change to your own CPU cores amount.

read more