1
0
forked from finn/tinyboard

move setup-network.sh to spoke/ directory

This commit is contained in:
Justin Oros
2026-04-16 14:35:42 -07:00
parent 60feeca65e
commit a197b7881b

View File

@@ -31,7 +31,7 @@ On a fresh Armbian device:
apt install git
git clone https://gut.oily.dad/justin/tinyboard
cd tinyboard
./setup-network.sh # configure static IP — SSH session will drop, reconnect
./spoke/setup-network.sh # configure static IP — SSH session will drop, reconnect
./setup.sh # choose option 1
```
@@ -76,7 +76,7 @@ Spokes initiate outbound SSH connections to the hub, creating reverse tunnels. T
```
tinyboard/
├── setup.sh ← entry point
├── setup-network.sh ← configure static IP on spoke before setup
├── setup-network.sh ← configure static IP before setup
├── spoke/
│ ├── setup-spoke.sh ← automated spoke setup
│ ├── compose.yaml ← Docker Compose for autossh + syncthing
@@ -99,7 +99,7 @@ Entry point. Presents a menu:
3. Offboard a spoke from the hub
4. Set up this device as a new hub
### `setup-network.sh`
### `spoke/setup-network.sh`
Run as root on a new spoke before `setup.sh`. Configures a static IP via netplan. Supports both WiFi and wired interfaces. Automatically reverts if network connectivity is lost after applying the new config.
### `spoke/setup-spoke.sh`