- Install Raspbian.
- Burn Raspbian Lite onto an SD card.
- Mount boot partition.
- Touch
boot/ssh
to enable sshd. - Set up
boot/wpa_supplicant.conf
to prepare wireless networking.
- Boot and configure Pi.
- Power up Pi. The initial boot may take a couple of minutes.
ssh [email protected]
, pw raspberry.- Immediately change password with
passwd
command. sudo raspi-config
to configure the Pi.- In "Interfacing Options", select "SPI" and enable the SPI interface.
- In "Networking Options", change the hostname.
- [Optional] In "Advanced Options", expand the filesystem to fill the entire SD card.
sudo apt update
andsudo apt upgrade
, thensudo reboot
.
- Build contact tracing daemon.
- Install dependencies.
sudo apt install git libbluetooth-dev libgcrypt-dev
- Clone repository.
git clone https://github.com/phooky/contact-tracing-ble.git
- Build ctd.
cd contact-tracing-ble && make
- Install dependencies.
- Run the contact tracing daemon.
- Stop the existing bluetooth daemon.
sudo systemctl stop bluetooth
- Bring up the hci0 interface
sudo hciconfig hci0 up
- Start the BLE contact tracking daemon.
sudo ./ctd
- Stop the existing bluetooth daemon.