Raspberry Pi WiFi Scanner

Initial Configuration

SSID: pi PSK: peel#input#rank#false#those GUI login: admin / favorlostchewsick

Pi login: jbrubake / GLiNet login: admin / spoon.drum.order.bulb.smile SSID: beren PSK: spill.sweep.bare.true.both

Install RaspAP

Install kismet (Raspbian Buster)

See the kismet site for different Raspbian versions.

$ wget -O - https://www.kismetwireless.net/repos/kismet-release.gpg.key | sudo apt-key add -
$ echo 'deb https://www.kismetwireless.net/repos/apt/release/buster buster main' | sudo tee /etc/apt/sources.list.d/kismet.list
$ sudo apt update
$ sudo apt install kismet

Create udev rule for GPS puck

$ lsusb
Bus 001 Device 008: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
#                vendor --^ ^-- product

$ echo 'ACTION=="add", SUBSYSTEM=="tty", ATTRS{idVendor}=="<vendor>", ATTRS{idProduct}=="<product>", SYMLINK+="gps"' |
      sudo tee /etc/udev/rules.d/99-gps-puck.rules
$ sudo udevadm control --reload-rules

Install gpsd

$ sudo apt install gpsd gpsd-clients #python-gps
$ sudo vi /etc/defaults/gpsd
# DEVICES="/dev/gps"

At this point I had to reboot to get gpsd to pick up my GPS puck. You can verify it is working with sudo gpsmon /dev/gps which should show a gps fix. You can add your user to the dialout group to avoid the need for sudo.

Install aircrack-ng

NOTE: As of 10/31/21 this installs aircrack-ng-1.5.2. If you want the latest version (1.6) you will have to build it from source.

Get Alfa card working

Connect your Alfa card and run sudo airmon-ng. If you see the card listed this step is complete. Otherwise you need to install drivers. Download install-wifi, put it in your path and run it as root.

Put card in monitor mode

Configure & Run kismet

log_prefix=/var/lib/kismet
gps=gpsd:host=localhost,port=2947
source=wlan1

NOTE: Cannot do this because RaspAP is already using port 80. Can I do a proxy or something? - Forward TCP 80 to kismet web GUI: iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 2501