South-Lighthouse / crocodilehunter-rpi-ansible

Ansible Playbook to install Crocodile Hunter on Raspberry Pi 4
MIT License
5 stars 0 forks source link

crocodilehunter-rpi-ansible

Ansible Playbook to install Crocodile Hunter on Raspberry Pi 4

Reqs

How to use this playbook

  1. First, locate the IP address of the connected Raspberry Pi to be used as a Crocodile Hunter sensor.
  2. Edit playbook.yml and edit/adjust the parameters to your setup. The following might be the most relevant values to change:
    • wigle_name
    • wigle_key
    • ocid_key
    • default_project_earfcns (in case you have this, the installation process will be more reliable)
    • expected_mccs and expected_mncs if you want to include this analysis and setting check_geographic_codes to true
    • api_host, api_port, and api_contact if applicable.
  3. run ansible-playbook -i <IP Address>, playbook.yml (if we have just one IP address the comma is mandatory)
  4. Wait a little bit
  5. Test and profit!
  6. If applicable, we recommend following manually the proposed steps to generate an API key for the configured server using export CH_PROJ=chunter; python3 api_client.py signup, and adding the commands export CH_PROJ=chunter; python3 api_client.py add_towers to a recurent cronjob (the frequency might be dictated by the specific need of the operation and/or the associated threat model).

Known issues

Todo