Loading...
 
Skip to main content

SysAdmin Blog

my first PND

Alexander Bochmann Sunday 13 of March, 2011
The OpenPandora (cache) uses a special application package format, called PND. It allows running programs from an SD card, without cluttering the system's (limited) NAND flash space that holds Pandora's firmware (a Linux distribution based on Angström (cache)).

The firmware doesn't have a whole lot of networking tools, so I started trying to build some things I might need. First off, tcpdump.

I'm using sebt3's Yet an other Cross-compiling Toolchain (cache) in a Debian VM, which currently seems the easiest way to a working cross-compiler setup with all required libraries.

Building libpcap and tcpdump was quite easy, besides the small problem that "ac_cv_linux_vers=2" needs to be set manually for the configure script to work when cross-building for a Linux system.

There's not currently a standard way to integrate command-line tools with the PND system. My current workaround is to start an XFCE Terminal and ask for the commandline, and then run tcpdump in that same window. That's badly hacked up though and prone to errors, so it definitively needs improvement.

In the meantime, a copy of tcpdump for the Pandora can be found here: http://web.gxis.de/pnd/tcpdump.pnd.