DDWRT-Tracker

Connection tracker for DD-WRT routers


Install
pip install DDWRT-Tracker==0.0.1.dev34

Documentation

DD-WRT WiFi Connection Tracker

Tracks MAC addresses connections and disconnections to a WiFi network into a sqlite database.

Every time a device connects or disconnects a DD-WRT router it will make a record in SQLite database.

Installation

pip install DDWRT-Tracker

or

git clone https://github.com/licht1stein/ddwrt-connection-tracker.git
pip install pipenv
cd ddwrt_conn_tracker
pipenv install

Usage

On first run it will create ddwrt_tracker.sqlite database file in project root that will be used to store tracked data.

Standalone

As standalone app you can launch tracker.py with connection args:

python tracker.py --host HOST --port PORT --user USER --pwd PASSWORD

or you can store connection options in environment variables:

  • DDWRT_HOST
  • DDWRT_PORT
  • DDWRT_USER
  • DDWRT_PASSWORD

and then just launch it with python tracker.py

As a library

from ddwrt_conn_tracker import track

track(host=HOST, port=PORT, user=USER, password=PASSWORD)