what is it about
Wardriving is moving around (in a car, on a bicycle, whatever) with a device that searches for WiFi access points.
The purpose can be e.g.:
- finding unprotected access points for hacking and/or free internet usage
- finding access points and their coordinates so that a map can be created of these access points and their (GPS-)location. Others can then find their location by looking up the accesspoints they can see in that map where they are on earth
- for fun!
What I do it for is helping creating that (large) map of access points and their GPS coordinates. For that, I store the name ("SSID"), the MAC address ("BSSID"), GPS coordinates and maybe even more parameters. When I return home, I upload them to e.g. wigle.net and openwlanmap.org.
version 1 - raspberry pi based
For years I did my war-driving using a Raspberry Pi (model 1b), a USB WiFi module and a USB GPS module all connected to a 10Ah power bank.
This technically worked fine but was a bit cumbersome to walk around with. It is large, lots of cables (which make people think it is a bomb) and a hassle to power down (a shutdown of a raspberry pi takes around a minute) as the SD-cards (on which the RPI stores the found WiFi stations) require a clean shutdown or they may break.
I wrote the software for it, and it is called OWS. For details, see its webpage.
version 2 - microcontroller based
The new version should be small in size and quickly power-up and down.
For that I used an ESP8266 based Wemos D1 pro mini, a Micro SD card shield, a small GPS module (MT3333 based) and a power supply (a regular USB power bank). I soldered them on a PCB and put them in a small box. Not as small as originally planned (cigarette box size) but the size of halve a letter/A4 page instead.
The power consumption is about 0.09A so a 10Ah powerpack can feed it for almost 111 hours! (if my calculations are correct) That's way more than the 8 hours that the raspberry setup could run.
The source-code can be downloaded from here.
The .ino-file describes which pin of the Wemos D1 should be connected to what.
- Wemos D1
- Wemos D1 SD card shield
- micro SD card for SD card shield
- LEDs (two LEDs required)
- two resistors of 220 ohm (for the LEDs)
- USB power bank
- wires (I usually just cut of the ends of a DuPont cable)
Other projects: here and here.