1
0
Fork 0
hscloud/hswaw/checkinator
woju b56b8fca92 hswaw/checkinator: add notice about random MACs
Nowadays both smartphones and iphones have MAC address randomisation
turned on by default. This breaks checkinator because, while the claim
works as intended, the address added to the database is the random one
and on the next visit the address is different, so the device is
categorised as unknown.

The simplest way to fix this is by the user to ensure that MAC address
is randomised per network, not per-connection (which at least on Android
is itself a per-network knob). This change adds a notice to remind the
user about this.

Signed-off-by: Wojtek Porczyk <woju@hackerspace.pl>
Change-Id: Ieee74d09114e6f0479f44429d9828e47c95eb6bd
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1362
Reviewed-by: q3k <q3k@hackerspace.pl>
2022-08-26 10:30:10 +00:00
..
at hswaw/checkinator: add notice about random MACs 2022-08-26 10:30:10 +00:00
static check in checkinator into hswaw/checkinator 2022-03-02 23:11:05 +00:00
.gitignore check in checkinator into hswaw/checkinator 2022-03-02 23:11:05 +00:00
README.rst hswaw/checkinator: update README 2022-03-07 11:52:33 +00:00
cap.py check in checkinator into hswaw/checkinator 2022-03-02 23:11:05 +00:00
config.dist.yaml check in checkinator into hswaw/checkinator 2022-03-02 23:11:05 +00:00
dbsetup.sql check in checkinator into hswaw/checkinator 2022-03-02 23:11:05 +00:00
default.nix hswaw/machines/customs: import checkinator via hscloud namespace 2022-03-07 11:52:17 +00:00
run.py check in checkinator into hswaw/checkinator 2022-03-02 23:11:05 +00:00
setup.py check in checkinator into hswaw/checkinator 2022-03-02 23:11:05 +00:00
tracker-config.dist.yaml check in checkinator into hswaw/checkinator 2022-03-02 23:11:05 +00:00
web-config.dist.yaml check in checkinator into hswaw/checkinator 2022-03-02 23:11:05 +00:00
web-secrets.dist.yaml check in checkinator into hswaw/checkinator 2022-03-02 23:11:05 +00:00

README.rst

`Warsaw Hackerspace`_  presence tracker hosted on https://at.hackersapce.pl. It
uses dhcpd.leases file to track MAC adressess of devices connected to hs LAN
network.

This is running on `customs` machine. Go to
``hswaw/machines/customs.hackerspace.pl`` to see how it is deployed.

.. _Warsaw Hackerspace: https://hackerspace.pl

Setup
-----
.. code:: bash

    cp config.yaml.dist config.yaml
    cp web-config.yaml.dist web-config.yaml

    # edit config files using your favourite editor
    $EDITOR config.yaml
    $EDITOR web-config.yaml

    # create new database file (or copy existing one)
    sqlite3 at.db < dbsetup.sql

    # build
    nix-build ../../default.nix -A hswaw.checkinator

Running
-------
.. code:: bash

    # run tracker
    ./result/bin/checkinator-tracker config.yaml

    # run web interface
    # TODO: fix running debug entry point from nix build
    ./result/bin/checkinator-web-debug