forked from finn/tinyboard
Compare commits
3 Commits
88fabcf25f
...
3e351f925d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e351f925d | ||
|
|
a197b7881b | ||
|
|
60feeca65e |
@@ -31,7 +31,7 @@ On a fresh Armbian device:
|
|||||||
apt install git
|
apt install git
|
||||||
git clone https://gut.oily.dad/justin/tinyboard
|
git clone https://gut.oily.dad/justin/tinyboard
|
||||||
cd 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
|
./setup.sh # choose option 1
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@ Spokes initiate outbound SSH connections to the hub, creating reverse tunnels. T
|
|||||||
```
|
```
|
||||||
tinyboard/
|
tinyboard/
|
||||||
├── setup.sh ← entry point
|
├── setup.sh ← entry point
|
||||||
├── setup-network.sh ← configure static IP on spoke before setup
|
│ ├── setup-network.sh ← configure static IP before setup
|
||||||
├── spoke/
|
├── spoke/
|
||||||
│ ├── setup-spoke.sh ← automated spoke setup
|
│ ├── setup-spoke.sh ← automated spoke setup
|
||||||
│ ├── compose.yaml ← Docker Compose for autossh + syncthing
|
│ ├── compose.yaml ← Docker Compose for autossh + syncthing
|
||||||
@@ -99,7 +99,7 @@ Entry point. Presents a menu:
|
|||||||
3. Offboard a spoke from the hub
|
3. Offboard a spoke from the hub
|
||||||
4. Set up this device as a new 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.
|
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`
|
### `spoke/setup-spoke.sh`
|
||||||
|
|||||||
@@ -197,6 +197,6 @@ echo -e "${YELLOW}════════════════════
|
|||||||
echo -e "${YELLOW} Network reconfigured.${NC}"
|
echo -e "${YELLOW} Network reconfigured.${NC}"
|
||||||
echo -e "${YELLOW} If you are connected via SSH, your session${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} 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 -e "${YELLOW}══════════════════════════════════════════${NC}"
|
||||||
echo ""
|
echo ""
|
||||||
Reference in New Issue
Block a user