O'Reilly logo

Building a Home Security System with BeagleBone by Bill Pretty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

IPTraf

The other package we will be installing is called IPTraf, which is short for IP Traffic Monitor. This is a terminal-based program that monitors traffic on any of the interfaces connected to your network or the BeagleBone.

Once again, we save the tar ball to the /usr/src directory and then unzip it to a directory:

  1. First we get the tarball from the source website:
    wget https://fedorahosted.org/releases/i/p/iptraf-ng/iptraf-ng-1.1.4.tar.gz
    
  2. Then, we untar it into a directory:
    tar –xzfv iptraf-ng-1.1.4.tar.gz
    
  3. We then change to the iptraf-ng-1.1.4 directory, which was created previously.
  4. Type the following commands to compile the source code:
    ./configure
    make
    make install
    

    That's it we're done!

Note

One final note; file locations can be a moving target ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required