From 6c41ede309eef3e675a77a2e2bc855207673d3ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20K=C3=BCthe?= Date: Sun, 8 Jan 2023 20:52:13 +0100 Subject: [PATCH 1/3] Remove unnecessary '=' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marek Küthe --- docs/routing/babeld/babelweb2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/routing/babeld/babelweb2.md b/docs/routing/babeld/babelweb2.md index f00d58e..d565179 100644 --- a/docs/routing/babeld/babelweb2.md +++ b/docs/routing/babeld/babelweb2.md @@ -20,4 +20,4 @@ Now you have an executable program `babelweb2`. By default, the web interface runs on port 8080. You can also specify a different endpoint with the `-http` parameter. -babelweb2 uses the local configuration interface of babeld. This must have been activated beforehand. babeld assumes that this is active on `[::1]:33123`. Alternatively, you can specify the endpoint with the `-node=` flag. +babelweb2 uses the local configuration interface of babeld. This must have been activated beforehand. babeld assumes that this is active on `[::1]:33123`. Alternatively, you can specify the endpoint with the `-node` flag. From 624b2e2fd25b305f828c06bd517f3b4ada56456e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20K=C3=BCthe?= Date: Mon, 9 Jan 2023 00:12:46 +0100 Subject: [PATCH 2/3] add link to freifunk franken for babeld example configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marek Küthe --- docs/routing/babeld/babeld.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/routing/babeld/babeld.md b/docs/routing/babeld/babeld.md index 8f3dd3c..27d952c 100644 --- a/docs/routing/babeld/babeld.md +++ b/docs/routing/babeld/babeld.md @@ -171,3 +171,4 @@ dump - [babeld mailling list](https://alioth-lists.debian.net/pipermail/babel-users/) - [babeld source code](https://github.com/jech/babeld) - [Babel configuration by Réseau Libre](https://wiki.reseaulibre.ca/documentation/babel/) +- [Babel in Freifunk Franken (German)](https://wiki.freifunk-franken.de/w/Freifunk-Gateway_aufsetzen/babeld) From 192c4b2ff5ee1beeca89dea46dee5dd77c9497ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20K=C3=BCthe?= Date: Mon, 9 Jan 2023 07:56:21 +0100 Subject: [PATCH 3/3] add docs for babeld to enable the lci in the configuration file --- docs/routing/babeld/babeld.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/routing/babeld/babeld.md b/docs/routing/babeld/babeld.md index 27d952c..201a157 100644 --- a/docs/routing/babeld/babeld.md +++ b/docs/routing/babeld/babeld.md @@ -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: