An Ansible Role that builds / compiles from scratch and packs (Debian/Raspbian binary) Kismet on a Raspberry Pi. This Role provides the following features:
- Download the Kismet source code.
- Compile the source code in a Raspberry Pi.
- Generate a Kismet Debian/Raspbian package suitable for Raspberry Pi (ARMv7).
- A Raspberry Pi to build/compile from source code.
- The Raspberry Pi connected to your Local LAN.
Default variables are in defaults/main.yml
and vars/main.yml
.
kismet_rpi_build_clean: true
kismet_rpi_build_publish: true
kismet_rpi_build_build: true
kismet_rpi_build_id: "kismet"
kismet_rpi_build_version: "2016-07-R1"
kismet_rpi_build_version_number: "2016-07"
kismet_rpi_build_version_release: "R1"
kismet_rpi_build_src_ext: "tar.xz"
kismet_rpi_build_src_www_path: "https://www.kismetwireless.net/code"
kismet_rpi_build_architecture: "armhf"
kismet_rpi_build_publish: true
kismet_rpi_build_localmirror_dir_name_www: "localmirror"
kismet_rpi_build_localmirror_dir_name_local: "/Users/Chilcano/1github-repo/binaries/"
kismet_rpi_build_clean: false
kismet_rpi_build_remove_dependencies: false
kismet_rpi_build_warpi_start_script: warpi.sh
kismet_rpi_build_warpi_service_name: warpi
kismet_rpi_build_kismet_conf_log: /var/log/kismet
$ sudo ansible-galaxy install geerlingguy.apache
$ ansible-galaxy list -vvv
No config file found; using defaults
Opened /Users/Chilcano/.ansible_galaxy
- geerlingguy.apache, 2.0.1
- knopki.locale, a1232f836b5514c58da381d9479640e40d874906
- Stouts.hostname, 1.1.0
- Stouts.timezone, 2.2.0
Using the Ansible Role in a Raspberry Pi for building/compiling:
---
- hosts: pibuilder
become: yes
vars_files:
- vars.yml
roles:
- { role: chilcano.kismet-rpi-build }
The inventory
file contains:
[pibuilder]
192.168.1.204
[pibuilder:vars]
ansible_ssh_user=picuy
MIT / BSD
This role was created in 2017 by Roger Carhuatocto, author of HolisticSecurity.io Blog.