Justin Oros
600f6044ce
setup-network.sh: add menu with hostname change and static IP options, fix SSID extraction quoting using heredoc
2026-04-19 11:03:56 -07:00
Justin Oros
2fe94dfe9d
setup-hub.sh: remove unnecessary sudo/wheel group membership for hub user
2026-04-19 10:36:32 -07:00
Justin Oros
b735c58446
Update readme
2026-04-18 22:04:23 -07:00
Justin Oros
524321fa97
Update readme
2026-04-18 21:50:28 -07:00
Justin Oros
e9c1daccce
onboard-spoke.sh: replace raise SystemExit with sys.exit(0) in union duplicate check
2026-04-18 21:47:55 -07:00
Justin Oros
6db5e9769e
onboard-spoke.sh: replace grep -A5 union duplicate check with python3 for reliable section parsing
2026-04-18 21:46:48 -07:00
Justin Oros
c75b29a5ea
onboard-spoke.sh: fix upstream construction for empty path with tag, replace fragile sed range with python3 for reliable union upstream append
2026-04-18 21:45:02 -07:00
Justin Oros
92b74d8f67
onboard-spoke.sh: add upstream access mode prompt (ro, nc, writeback) when creating or joining a union remote
2026-04-18 21:43:24 -07:00
Justin Oros
1d4e25b6a5
syncthing.sh: auto-unshare folder from all devices before removal if shared
2026-04-18 21:21:24 -07:00
Justin Oros
0c784a672c
syncthing.sh: fix remaining shell variable interpolation in python3 -c strings across add_device_by_pending, remove_device, and unshare_folder
2026-04-18 21:18:04 -07:00
Justin Oros
410def45c3
syncthing.sh: fix grep -oP portability, add curl error messages, pass shell vars as sys.argv to prevent python injection
2026-04-18 21:15:46 -07:00
Justin Oros
f1d818eae6
syncthing.sh: store container name as global ST_CONTAINER
2026-04-18 21:13:34 -07:00
Justin Oros
5017af57c9
syncthing.sh: List available folders when on Add a folder
2026-04-18 21:12:47 -07:00
Justin Oros
9e4fba591a
compose.yaml, setup-spoke.sh: scope syncthing mount to data directory only, move config/certs to named Docker volume, syncthing.sh: update add folder path example
2026-04-18 21:08:22 -07:00
Justin Oros
982b8a8641
syncthing.sh, README.md: change syncthing menu to 0-based indexing
2026-04-18 18:57:36 -07:00
Justin Oros
c2aec56490
README.md: document syncthing.sh, update architecture, directory structure, script docs, backups, security, and troubleshooting sections
2026-04-18 18:50:43 -07:00
Justin Oros
e4db257f53
syncthing.sh: fix remaining f-string backslash escape in remove_folder
2026-04-18 18:44:59 -07:00
Justin Oros
b2932286d0
syncthing.sh: fix Python f-string backslash escaping in all python3 -c blocks
2026-04-18 18:42:00 -07:00
Justin Oros
866f8af073
chmod +x syncthing.sh
2026-04-18 18:39:48 -07:00
Justin Oros
e6720804dc
syncthing.sh: new script for managing Syncthing devices and folders via REST API with interactive menu
2026-04-18 18:36:01 -07:00
Justin Oros
63197799b8
setup-hub.sh: fix sed delimiter for PasswordAuthentication/PubkeyAuthentication, guard authorized_keys creation, setup-spoke.sh: fix sed delimiter, validate spoke name charset, make find_free_port vars local, offboard-spoke.sh: validate spoke name charset, setup-network.sh: replace brittle SSID grep with python3 regex
2026-04-18 14:39:01 -07:00
Justin Oros
128b41ede9
setup-hub.sh: fix sed delimiter and add file dep, onboard-spoke.sh: fix rclone append newline guard and keyscan key-type dedup, offboard-spoke.sh: fix crontab empty check and add timestamped backup, setup-network.sh: replace single bak with timestamped backup, compose.yaml: replace syncthing host network with explicit port bindings
2026-04-18 14:31:10 -07:00
Justin Oros
f3792a38fc
setup-spoke.sh: fix port scan range and user@host sed regex, offboard/onboard-spoke.sh: fix registry grep-v empty-output clobber, setup-network.sh: fix wifi password colon handling
2026-04-18 14:25:24 -07:00
Justin Oros
e450456638
spoke/setup-spoke.sh
...
Fix check_permissions to check group bits; fix ssh-keyscan dedup to iterate per key type; fix HUB_USER@HUB_HOST sed regex to handle trailing whitespace
hub/offboard-spoke.sh
Drop root requirement; fix crontab running as root; fix registry .tmp not cleaned on failure
hub/onboard-spoke.sh
Fix registry .tmp not cleaned on failure; chmod 600 key immediately after generation
hub/setup-hub.sh
Check permissions on existing SSH private keys in setup
2026-04-18 14:12:05 -07:00
Justin Oros
d925cd944a
onboard-spoke.sh: remove comment syntax from manual key instructions
...
setup-spoke.sh, setup-network.sh: fix check_permissions false alarm on pubkeys, TUNNEL_UP boolean comparison, DNS_YAML trailing newline, backup file guard
2026-04-18 14:07:02 -07:00
Justin Oros
74e1a9d1a0
offboard-spoke.sh: run as root, remove sudo from python3 install
2026-04-18 14:04:24 -07:00
Justin Oros
535c8a47cb
fix hardcoded armbian hub key name in setup instructions; init KEY_NAME
2026-04-18 13:54:22 -07:00
Justin Oros
1b4a2c7ab5
fix hardcoded syncthing PUID/PGID in compose.yaml sed
2026-04-18 13:47:12 -07:00
Justin Oros
72a58cc390
fix SSH service detection across distros; fix misleading key copied message
2026-04-18 13:43:33 -07:00
Justin Oros
9e6a6f2222
fix compose.yaml sed: known_hosts collision, hub user/host, syncthing mount path, var ordering
2026-04-18 13:41:13 -07:00
Justin Oros
99c006747a
fix compose.yaml key volume sed pattern; clean up compose.yaml
2026-04-18 13:39:30 -07:00
Justin Oros
e3bb7fb1ca
fix known_hosts dedup in setup-spoke; handle ssh-copy-id failure in onboard-spoke
2026-04-18 13:37:35 -07:00
Justin Oros
aeda90799d
fix KEY_PATH init, compose.yaml sed, registry write, known_hosts dedup, fusermount3 compat
2026-04-18 13:34:59 -07:00
Justin Oros
26b623eef7
configure ClientAliveInterval/CountMax in setup-hub.sh
2026-04-18 13:31:14 -07:00
Justin Oros
8ee67739f7
Update readme
2026-04-16 16:04:43 -07:00
Justin Oros
39f8f64351
clean up readme setup.sh option comments
2026-04-16 16:03:32 -07:00
Justin Oros
e924579b2e
clean up readme setup.sh option comments
2026-04-16 16:02:37 -07:00
Justin Oros
912e553e06
add option 0 to reconfigure network via setup.sh
2026-04-16 15:59:35 -07:00
Justin Oros
98986e615b
remove spoke/README.md
2026-04-16 15:03:47 -07:00
Justin Oros
0e792be751
add troubleshooting section for beta.armbian.com apt repo issue
2026-04-16 14:46:25 -07:00
Justin Oros
835793d396
add Armbian autoconfig docs link to README
2026-04-16 14:42:10 -07:00
Justin Oros
11f9586c5e
fix directory tree in README for setup-network.sh move
2026-04-16 14:37:06 -07:00
Justin Oros
3e351f925d
move setup-network.sh to spoke/ directory
2026-04-16 14:35:59 -07:00
Justin Oros
a197b7881b
move setup-network.sh to spoke/ directory
2026-04-16 14:35:42 -07:00
Justin Oros
60feeca65e
move setup-network.sh to spoke/ directory
2026-04-16 14:35:31 -07:00
Justin Oros
88fabcf25f
update repo URL to justin/tinyboard
2026-04-16 14:23:51 -07:00
Justin Oros
51f661766f
rename armb-not_logged_in_yet to armbian.not_logged_in_yet
2026-04-16 14:17:58 -07:00
Justin Oros
5326823b81
rewrite README with quickstart and updated architecture docs
2026-04-16 14:15:19 -07:00
Justin Oros
0f76283605
remove stale crontab dep from setup-hub.sh
2026-04-16 14:08:20 -07:00
Justin Oros
a02a83cae4
fix execute permissions on scripts
2026-04-16 13:53:48 -07:00
Justin Oros
4a1983d46d
remove unused legacy scripts and rclone template
2026-04-16 13:48:28 -07:00
Justin Oros
395ab4ed0e
add spoke registry, per-spoke crontab, and offboard-spoke.sh
2026-04-16 13:41:56 -07:00
Justin Oros
4c08f3b389
fix function ordering, hardcoded armbian user, and key name prefix in onboard-spoke.sh
2026-04-16 13:17:12 -07:00
Justin Oros
ccd324dc79
fix function ordering and RCLONE_CONF used before definition in setup-hub.sh
2026-04-16 13:15:40 -07:00
Justin Oros
664bdeaed4
fix function ordering, permission check chains, and known_hosts check timing in setup-spoke.sh
2026-04-16 13:14:27 -07:00
Justin Oros
ae49c58b13
add WiFi password extraction validation in setup-network.sh
2026-04-16 13:13:18 -07:00
Justin Oros
119b747dda
fix BACKUP_FILE unbound variable and add ping to dep checks
2026-04-16 13:11:57 -07:00
Justin Oros
ea72b14696
fix function ordering, remove dead variable, fix netplan rollback approach
2026-04-16 13:10:59 -07:00
Justin Oros
26110ce8d3
add 30s connectivity check with auto-rollback to setup-network.sh
2026-04-16 13:09:40 -07:00
Justin Oros
58f6445c72
add check_deps function and dependency checks to all scripts
2026-04-16 13:05:45 -07:00
Justin Oros
08799f0f7f
add SSH key permission checks with auto-fix to hub and spoke scripts
2026-04-16 12:58:06 -07:00
Justin Oros
a79b1c59b8
move password auth prompt to after SSH key setup in setup-spoke.sh
2026-04-16 10:44:12 -07:00
Justin Oros
7e64156026
fix double brace artifacts and missing SSHD_CONF in setup-spoke.sh
2026-04-16 10:42:58 -07:00
Justin Oros
3d366cd74a
add disable password auth prompt with SSH restart warning to hub and spoke scripts
2026-04-16 10:42:04 -07:00
Justin Oros
d080db1db8
fix hardcoded armbian path in compose volume mount sed replacement
2026-04-16 10:37:55 -07:00
Justin Oros
37e3e91239
fix ARMBIAN_HOME unbound variable, retry_or_abort quoting, and hardcoded path in sed
2026-04-16 10:36:54 -07:00
Justin Oros
7676a907ee
add SPOKE_USER prompt and replace all hardcoded armbian references in setup-spoke.sh
2026-04-16 10:35:50 -07:00
Justin Oros
e5ecdca3ff
add multi-distro package manager support to setup-spoke.sh
2026-04-16 10:34:06 -07:00
Justin Oros
50fb313f9a
fix hardcoded armbian string in user creation log message
2026-04-16 10:30:47 -07:00
Justin Oros
d21997af43
prompt for hub username with armbian as default, replace all hardcoded references
2026-04-16 10:29:53 -07:00
Justin Oros
95a56ef4f0
fix usermod group assignment to use if blocks instead of && chain
2026-04-16 10:26:28 -07:00
Justin Oros
b706dd211d
fix pkg update handling, curl dependency, sudo group check, systemctl blocks
2026-04-16 10:25:26 -07:00
Justin Oros
f3a3f66982
rewrite setup-hub.sh with multi-distro package manager support
2026-04-16 10:22:52 -07:00
Justin Oros
384cf476ff
replace hardcoded hub references with prompts, defaults: oily.dad / armbian / hubkey
2026-04-16 10:13:48 -07:00
Justin Oros
b8d2a3e5bc
fix SPOKE_DIR path and replace hardcoded finn/oily.dad with dynamic HUB_HOST
2026-04-16 10:05:25 -07:00
Justin Oros
a49f830ed2
prompt user for hub hostname with oily.dad as default
2026-04-16 10:03:35 -07:00
Justin Oros
fe7f77171f
fix wired DNS heredoc trailing newline
2026-04-16 09:59:23 -07:00
Justin Oros
288aa698d0
fix netplan file fallback assignment bug in setup-network.sh
2026-04-16 09:57:29 -07:00
Justin Oros
96c737709c
restructure: add setup.sh entry point, move scripts to spoke/ and hub/
2026-04-16 09:53:30 -07:00
Justin Oros
2c8df6993d
add setup-network.sh and rename setup.sh to setup-spoke.sh
2026-04-16 09:44:29 -07:00
Justin Oros
c86dca283f
add retry or abort prompt to all connection tests
2026-04-16 09:30:47 -07:00
Justin Oros
9015ff46c9
fix root check to use if block instead of fragile && chain
2026-04-16 09:23:36 -07:00
Justin Oros
87c08fb543
fix known_hosts ownership, ssh dir creation, and root user guard
2026-04-16 09:22:19 -07:00
Justin Oros
7bdafd316c
fix keyscan validation to die early if spoke tunnel is not up
2026-04-16 09:18:40 -07:00
Justin Oros
114c97a1cb
fix docker compose package name to docker-compose-plugin
2026-04-16 09:15:53 -07:00
Justin Oros
c71ad59629
fix windows line endings in pasted key and rclone remote mount hint
2026-04-16 09:13:17 -07:00
Justin Oros
2abd6ac6a4
fix tunnel reachability check to be safe with set -e
2026-04-16 09:09:45 -07:00
Justin Oros
ccd9b205b8
fix hub onboard-spoke script: keyscan, rclone check, dir creation, tunnel verify
2026-04-16 09:08:07 -07:00
Justin Oros
f6c2c79a70
add hub onboard-spoke script to automate new spoke registration
2026-04-16 09:05:41 -07:00
Justin Oros
cf8a10818a
fix docker compose v2 compatibility
2026-04-16 08:27:01 -07:00
Justin Oros
fefd082af2
add zero-touch spoke setup script with auto port detection and key options
2026-04-15 21:07:30 -07:00