One of the maker sessions from WLPC was setting up an Odroid for use as a network tool. It was a great session and I hope to see more of these at future WLPC’s. Once the videos are posted, you will be able to find the link here.
The first thing I wanted to try was installing Spectools on my Odroid to use with my Metageek Spectrum Analyzers. I have two Metageek Wi-Spy DBx’s and thanks to the 2017 WLPC bag, one Wi-Spy 2.4x.
The Wi-Spy 2.4x analyzer is supported in a much older version of Spectools. If you only own that one analyzer, simply run the following from the CLI:
sudo apt-get install spectools
On the other hand, if you want to use Spectools with a DBx, you must compile from the latest version. This takes a bit more work as it must be compiled from the source code. After fumbling around with it along with Jerry Olla we were both able to get it successfully installed and working.
Here are the directions which worked for both Jerry and I.
- Install the required prereqs:
sudo apt-get install libgtk2.0-dev libusb-dev build-essential
2. Clone the Spectools package:
git clone https://www.kismetwireless.net/spectools.git
3. Change to the Spectools directory:
cd spectools
4. Now, the fun part. The included config.guess will not recognize the Odroid. However, the distribution installed on the Odroid includes a MUCH newer version that will, so we need to copy it to the spectools directory:
cp /usr/share/misc/config.guess config.guess
5. Now we can follow the standard process to compile Spectools to operate on the Odroid.
./configure make make install
And with that, Spectools should now support the Metageek dbx. Install VNC, and you have an easily deployable sensor.
Up next, installing Websockets for wi-spy
How about vanilla Ubuntu? Can you get spectools to run with dBx on Ubuntu 16.04?
You should be able to get it to work with the same steps I would guess. Since you are compiling from source, I expect it would work the same. Just be on the lookout for any dependencies that aren’t installed and get them in place before trying again.