Skip to content
A Raspberry Pi based Automatic Wardriving Solution
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


A Raspberry Pi based Automatic Wardriving Solution


This collection of short BASH scripts allows a stock Raspberry Pi to become an automotive accessory that captures packets as you drive around. The overall goal is to make it autonomous, requiring no user intervention whatsoever. The final goal will be to port the entire project over to Python.

Important note!

All the absolute paths are currently using /home/pi as the working directory. Please adjust files accordingly when cloning this repository. (I might fix this later)


The project was originally built with parts laying around, so I'll do my best to find them for sale online and put in here. Level of detail in this version is not walkthrough from start to finish, assumes you can do "some assembly required" projects and put it all together. Best effort is given to make it a logical flow.

I went with a wireless keyboard & the touchsceen to be able to have a standalone machine for troubleshooting/usage in car. Not really required, but it is pretty sweet to have. The other option is bring something else that can SSH into the pi (yuck!). "But why byobu then?" For the times when NOT in the car, I prefer SSH'ing into the pi to set it up, and that's my preferred interface :-)

Yes, I realize some of this is not as "streamlined" as possible, but it's the configuration that works for me, I intend on doing other things with the project after playing with this for a while, so some "modularity" was taken to be able to swap between projects.

Project Setup

  1. Make bootable OS SD card with latest Raspbian
  2. Install the touchscreen (this is where you can get creative. I recommend making a "case" for everything at this point)
  3. Boot up and install required software (give it the internet)
  4. Get the GPS setup (See link to blog) a. I needed to also modify /etc/default/gpsd with the following lines: DEVICES="/dev/ttyUSB0" GPSD_SOCKET="/var/run/gpsd.sock"
  5. Modify the Automotive DC plugs to provide power to the Pi and the USB Hub & Install in Housing. !! This part is particularly important, as the USB hub needs to be powered. !! The Pi doesn't have the power available to power the GPS and WiFi Dongles. a. Automotive DC plug will terminate into the input of the 2 step down transformers. b. The output of the step down transformers will be the male 2.1 x 5.5mm DC Power Pigtails. c. Give one pigtail the DC to USB adaptor for the Pi, Screen, and UPS. d. Give the other pigtail directly into the USB hub
  6. Install the UPS
  7. Clone this repository to the ~/ directory of the Pi
  8. Add the line: [ home/pi/ ] to the Pi's /etc/rc.local to ensure it runs at startup.
  9. Setup UPS script to execute whenever power is lost. *** Work in progress.


Raspbian (use this for download of image and installation of OS)

Aircrack-ng (required for this to work)

Byobu (because I like this over screen/tmux)

Apt Packages Installed vim (fav editor)


7" TouchScreen


PiUPS #1 Pi UPS - Raspberry Pi Backup Power Supply by CW2.

  • This one didn't work for me. It wasn't recognized (perhaps due to the touchscreen) so it never shut the Pi down.
  • It did however keep it running when power was lost, so that was nice until the second UPS arrives.

DC to USB (For Pi Power)®-5-5x2-1mm-2-1xmm/dp/B00S6N5I64 Super Power Supply® 5.5x2.1mm (5.5mm 2.1xmm) Female to Micro USB Male Plug Charge Cable Plug

DC Step Down Transformer SINOLLC DC 12V 24V to 5V 3A Converter Step Down Regulator 5V Regulated Power Supplies Transformer Converter

Automotive Plug with Two Tails EDO Tech® 11' Long Twin Plug Car Charger Cable DC Adapter for Sylvania SDVD8727 SDVD8730 SDVD8732 SDVD8716-COM Dual Screen DVD Player

10 Pack of DC plugs MassMall High Quality 10pack 10 inch(30cm) 2.1 x 5.5mm DC Power Pigtail MALE

Wireless Keyboard Rii Mini Wireless 2.4GHz Keyboard with Mouse Touchpad Remote Control, Black (mini X1) for Raspberry pi/HTPC/XBMC/Google and Android TV KP-810-10LL

Alfa WiFi Cards Alfa Brand AWUS036EW

USB Hub j5create USB 3.0 4-Port HUB JUH340

You can’t perform that action at this time.