src.nth.io/

summaryrefslogtreecommitdiff
path: root/openhop/repeater/templates
AgeCommit message (Collapse)AuthorFilesLines
5 daysopenhop/repeater: gate service start on the data-dir mountHEADmainLuke Hoersten1-0/+5
Add RequiresMountsFor to the systemd unit so the daemon does not start before the storage backing the data dir (and thus the identity file) is mounted, which would make it generate a fresh keypair onto the bare mountpoint. Derives from the data dir path, so it resolves to the root mount (a no-op) when the data dir lives on the SD card.
2026-08-01openhop/repeater: fixes from first real deploy on ubuntuLuke Hoersten1-5/+21
- create spi/gpio groups and udev device rules (Raspberry Pi OS ships them, Ubuntu does not) - hardware CS via spidev (cs_pin -1); a manual cs_pin on a kernel-owned CE line fails EBUSY - align RAK6421 pin maps with upstream's hardware catalog: en_pins for the FEM enables, gpiod backend on chip 0 (catalog says chip 1, wrong for Pi 4) - us RF preset is now MeshCore USA/Canada (Recommended): 910.525 / SF7 / BW62.5 / CR5 - set storage.storage_dir; omit mqtt_brokers entirely (any key enables the MQTT pusher) - fetch radio-settings/radio-presets json into the data dir (pip omits them and the web setup wizard's hardware step is empty without them) - config deployed 0660 with a vaultable repeater.security block so the daemon can persist credentials and re-templates no longer wipe them - sudoers rule so the web UI can restart the service after config changes
2026-07-26openhop/repeater: add MeshCore repeater roleLuke Hoersten2-0/+71
Deploys the openHop MeshCore repeater on a Raspberry Pi with a RAK6421 WisMesh Pi HAT: installs the daemon into a venv from a versioned git tag, templates config.yaml and a systemd unit, and loads board pin maps and RF region presets by name from vars/. identity_file is configurable and defaults to null (daemon generates its own keypair).