feat: check if network connection already exists when adding a new one, update docs

This commit is contained in:
2025-05-18 07:50:36 +02:00
parent c140a6311e
commit d950b3627d
2 changed files with 29 additions and 0 deletions

View File

@@ -60,6 +60,29 @@ rcond:
api_token: 1234567890
```
### Network
Network connections can be configured in the `rcond.yaml` file, and these configurations are applied automatically when the node starts up. This allows for easy management of network settings, including the creation of access points and the sharing of network connections, without requiring manual intervention after each reboot.
Here is an example for creating an access point and share network connection on wlan0:
```yaml
network:
connections:
- name: MyHomeWiFi
type: 802-11-wireless
interface: wlan0
ssid: MyHomeWiFi
mode: ap
band: bg
channel: 1
keymgmt: wpa-psk
psk: SuperSecure
ipv4method: shared
ipv6method: ignore
autoconnect: true
```
### Cluster
The cluster agent is a component of rcond that is responsible for joining and managing a cluster of rcond nodes.