Install Raspbian, setup SSH access.
Create a new Unix user to run captures/scans.
useradd -ms /bin/bash sniffer
Set a secure password for the new user. WiFi Explorer and Airtool will use this user to access the RPi Sensor.
passwd sniffer
Grant the new user sudo privileges to specific commands
bash -c "cat > /etc/sudoers.d/30-sniffer" <<'EOF'
sniffer ALL=(root) NOPASSWD:/usr/bin/dumpcap
sniffer ALL=(root) NOPASSWD:/usr/bin/scandump
sniffer ALL=(root) NOPASSWD:/usr/bin/tcpdump
sniffer ALL=(root) NOPASSWD:/usr/sbin/ip
sniffer ALL=(root) NOPASSWD:/usr/sbin/iw
EOF
Use the raspi-config utility to set the WLAN Country to the country in which you're located.
Localisation Options > WLAN Country
Install dependencies via APT
apt install bc build-essential git libnl-genl-3-dev libpcap-dev tcpdump wireshark
This is a utility built by intuitbits.
Clone the repo
git clone https://github.com/intuitibits/scandump.git && \
cd /opt/scandump/
Build the utility
make && \
sudo make install
Check if the utility installed correctly
which scandump
scandump --version
scandump --help