From f6b902aed6cb078c0dc28b418025e4b8efdc059b Mon Sep 17 00:00:00 2001 From: floh1111 Date: Tue, 13 Dec 2011 15:39:15 +0000 Subject: [PATCH] Add the auto option to the mesh bridge to let the bridge come up even if the ethernet interface is not activated https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2011-December/005872.html --- root_file_system/default/etc/config/network | 3 ++- root_file_system/dir300/etc/config/network | 2 +- root_file_system/fonera/etc/config/network | 1 + root_file_system/wr1043nd/etc/config/network | 1 + root_file_system/wr741nd/etc/config/network | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/root_file_system/default/etc/config/network b/root_file_system/default/etc/config/network index a743fbb..9e1eda8 100644 --- a/root_file_system/default/etc/config/network +++ b/root_file_system/default/etc/config/network @@ -10,11 +10,12 @@ config 'interface' 'loopback' config 'interface' 'wlanmesh' option 'ifname' 'ath1' - option 'mtu' '1527' + option 'mtu' '1528' config 'interface' 'mesh' option 'type' 'bridge' option 'ifname' 'eth0.1 ath0 bat0 tap0' + option 'auto' '1' config 'switch' 'eth0' option 'name' 'eth0' diff --git a/root_file_system/dir300/etc/config/network b/root_file_system/dir300/etc/config/network index 8d7e2c1..9e1eda8 100644 --- a/root_file_system/dir300/etc/config/network +++ b/root_file_system/dir300/etc/config/network @@ -15,7 +15,7 @@ config 'interface' 'wlanmesh' config 'interface' 'mesh' option 'type' 'bridge' option 'ifname' 'eth0.1 ath0 bat0 tap0' - option 'stp' '1' + option 'auto' '1' config 'switch' 'eth0' option 'name' 'eth0' diff --git a/root_file_system/fonera/etc/config/network b/root_file_system/fonera/etc/config/network index c93897a..e819c71 100644 --- a/root_file_system/fonera/etc/config/network +++ b/root_file_system/fonera/etc/config/network @@ -15,6 +15,7 @@ config 'interface' 'wlanmesh' config 'interface' 'mesh' option 'type' 'bridge' option 'ifname' 'ath0 bat0 tap0' + option 'auto' '1' # To get Freifunk on the ethernet port (for a desktop pc for example), comment out # the lan interface section and add eth0 to the ifnames of the mesh interface. diff --git a/root_file_system/wr1043nd/etc/config/network b/root_file_system/wr1043nd/etc/config/network index fd74b42..3024458 100644 --- a/root_file_system/wr1043nd/etc/config/network +++ b/root_file_system/wr1043nd/etc/config/network @@ -11,6 +11,7 @@ config 'interface' 'wlanmesch' config 'interface' 'mesh' option 'type' 'bridge' option 'ifname' 'eth0.1 wlan0 bat0 tap0' + option 'auto' '1' config 'interface' 'wan' option 'ifname' 'eth0.2' diff --git a/root_file_system/wr741nd/etc/config/network b/root_file_system/wr741nd/etc/config/network index d8d247a..d3f94f6 100644 --- a/root_file_system/wr741nd/etc/config/network +++ b/root_file_system/wr741nd/etc/config/network @@ -11,6 +11,7 @@ config 'interface' 'wlanmesch' config 'interface' 'mesh' option 'type' 'bridge' option 'ifname' 'eth0 wlan0 bat0 tap0' + option 'auto' '1' config 'interface' 'wan' option 'ifname' 'eth1'