add docs for babeld to enable the lci in the configuration file

This commit is contained in:
Marek Küthe 2023-01-09 07:56:21 +01:00
parent 624b2e2fd2
commit 192c4b2ff5
No known key found for this signature in database
GPG Key ID: 7E869146699108C7
1 changed files with 14 additions and 1 deletions

View File

@ -140,7 +140,11 @@ Once babeld is started, forwarding is enabled in the kernel for IPv4 and IPv6. A
## Local configuration interface
babeld offers a local configuration interface. This can be activated with the flag `-g`. For example, to enable the configuration interface on port `33123`, you can use the following command:
There are two ways to activate the Local configuration interface. Once you can pass a command line argument for it or you can do this in the babeld configuration file.
### Command line argument
The local configuration interface can be activated with the flag `-g`. For example, to enable the configuration interface on port `33123`, you can use the following command:
```
babeld -g 33123
```
@ -150,6 +154,15 @@ If babeld is used with Systemd, you can change the arguments in the `/etc/defaul
DAEMON_ARGS="-S /var/lib/babeld/state -g 33123"
```
### Configuration file
To enable the local configuration interface there is a directive `local-port`:
```
local-port 33123
```
### Usage
The configuration interface can be used to find out various status information on the one hand and to configure babeld on the other. Furthermore, the configuration interface can be used by monitoring programs such as babelweb2.
To connect to the configuration interface, you can use telnet: