This document explains how to set up and run the wizard scripts in the wizard/ folder of the SIGINTPI project.
The wizard folder contains Python scripts that help automate:
- Raspberry Pi readiness (basic updates, remote access, etc.)
- Component readiness (installing drivers for SDR devices like RTL-SDR, HackRF, etc.)
- Software readiness (installing GNU Radio, GQRX, GR-GSM, Kalibrate-RTL, etc.)
To get started, clone the SIGINTPI repository from GitHub:
git clone https://github.com/exfil0/SIGINTPI.git
cd SIGINTPITo run the Python scripts directly (without typing python3), make them executable. In your project’s root directory (or wherever your wizard/ folder is located), run:
sudo chmod +x wizard/*.pyThis command applies executable permissions to all .py files in the wizard/ directory. If you have subfolders with .py files, you can recursively apply permissions:
sudo find wizard/ -type f -name "*.py" -exec chmod +x {} \;Note: You can skip this step if you prefer to run each script with python3 wizard/scriptname.py.
Additionally, ensure that the required permissions are set on all scripts during deployment. Run the following command to ensure all scripts in the wizard/ directory are ready to execute:
sudo chmod -R +x wizardYou can execute each script in the wizard folder in sequence:
- Performs basic Raspberry Pi system updates, upgrades, and enables SSH/VNC.
- Specifically enables and checks remote access services (SSH, VNC).
- Installs drivers/packages for hardware (e.g., RTL-SDR, HackRF).
- Automatically detects devices (like HackRF, NESDR) and tests them.
- Installs & verifies signal-processing software (GNU Radio, GQRX, GR-GSM, Kalibrate-RTL).
- Prompts you to test GUI apps (e.g., GQRX) on the desktop.
If you made the scripts executable:
cd wizard
sudo ./raspberrypi_readiness.py
sudo ./remote-access-enable.py
sudo ./raspberrypi-components-readiness.py
sudo ./raspberrypi-software-readiness.pyIf you want to use Python directly:
cd wizard
sudo python3 raspberrypi_readiness.py
sudo python3 remote-access-enable.py
sudo python3 raspberrypi-components-readiness.py
sudo python3 raspberrypi-software-readiness.pyDuring the setup, you might be prompted to:
- Reboot or log out/log in to apply certain changes (e.g., group memberships).
- Plug in devices (e.g., HackRF, NESDR). The script may wait until the device is detected (via
lsusb). - Open desktop-based tools (e.g., GNU Radio Companion, GQRX) to confirm they launch properly.
Read the console output carefully and follow each instruction.
If you get a Permission denied error, ensure you have run chmod +x on the script or invoke it with sudo python3 wizard/<script>.py.
Check that your system is online and up to date. The scripts typically run sudo apt update -y && sudo apt upgrade -y to ensure a fresh environment.
If you are using a custom Raspberry Pi OS, some packages or commands may differ. Modify the scripts or install missing packages manually if needed.
When a script adds your user to a group (e.g., plugdev), you must log out and log back in or reboot for the changes to apply.