1
0
forked from finn/tinyboard

Compare commits

..

3 Commits

Author SHA1 Message Date
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
2 changed files with 4 additions and 4 deletions

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`

View File

@@ -197,6 +197,6 @@ echo -e "${YELLOW}════════════════════
echo -e "${YELLOW} Network reconfigured.${NC}"
echo -e "${YELLOW} If you are connected via SSH, your session${NC}"
echo -e "${YELLOW} may drop. Reconnect to: ${STATIC_ADDR}${NC}"
echo -e "${YELLOW} Then run: ./setup.sh${NC}"
echo -e "${YELLOW} Then run: cd .. && ./setup.sh${NC}"
echo -e "${YELLOW}══════════════════════════════════════════${NC}"
echo ""