Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

151 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Banner

Badge Report Badge Build Badge Release

Setup

1. Install Raspbian

  • Flash using rpi-imager
  • Set username, password, hostname etc.
  • Enable ssh

2. Setup system

  • Install updates
    sudo apt update
    sudo apt upgrade
    sudo rpi-update
    sudo reboot
  • Use raspi-config to set wlan country
  • Use raspi-config to enable predictable interface names

3. Install Dependencies

sudo apt install bettercap bettercap-caplets bettercap-ui
sudo systemctl stop bettercap
sudo systemctl disable bettercap

4. Install PiFi

  • Download latest release
    curl -L "https://github.com/czQery/PiFi/releases/latest/download/release-$(uname -m | sed 's/x86_64/amd64/; s/armv7.*/arm7/; s/armv6.*/arm6/').tar.gz" | tar -xzv

5. Create service

  • Edit the example pifi.service file in this repo and put it in /etc/systemd/system/
  • Reload systemd daemon
    sudo systemctl daemon-reload
  • Enable service
    sudo systemctl enable pifi.service
  • Start service
    sudo systemctl start pifi.service

GPS

  • Enable serial interface
    sudo raspi-config
  • Select -> Interfacing Options
  • Select -> Serial
  • Login shell -> No
  • Hardware Serial -> Yes
    sudo apt install pps-tools gpsd gpsd-clients chrony
    sudo systemctl stop gpsd
    sudo systemctl stop gpsd.socket
    
    # Edit these settings to match your gps module
    sudo ubxtool -S 460800 -s 38400 -f /dev/serial0
    sudo ubxtool -s 460800 -e GPS -e GALILEO -e GLONASS -e BEIDOU -e SBAS -e QZSS -f /dev/serial0
    sudo ubxtool -s 460800 -z CFG-RATE-MEAS,100 -f /dev/serial0
    sudo ubxtool -s 460800 -z CFG-NAVSPG-DYNMODEL,4 -f /dev/serial0
    sudo ubxtool -s 460800 -p SAVE -f /dev/serial0
  • Edit /etc/default/gpsd
    DEVICES="/dev/serial0"
    GPSD_OPTIONS="-n -s 460800"
    USBAUTO="true"
  • Apply
    sudo systemctl enable gpsd
    sudo reboot

About

Raspberry pi wardriving toolkit

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages