Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2017-09-28,master
>---------------------------------------------------------------
commit 8d4ff05acf0fffac94234708f5cf183132d64f43
Author: Bruno Frare <bpfrare(a)gmail.com>
Date: Tue Jul 25 16:00:27 2017 +0000
doc: batman-adv/Debian_batman-adv_AutoStartup: removed the 'dev' to add interface
>---------------------------------------------------------------
8d4ff05acf0fffac94234708f5cf183132d64f43
batman-adv/Debian_batman-adv_AutoStartup.textile | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/batman-adv/Debian_batman-adv_AutoStartup.textile b/batman-adv/Debian_batman-adv_AutoStartup.textile
index de2c22d7..5b301cda 100644
--- a/batman-adv/Debian_batman-adv_AutoStartup.textile
+++ b/batman-adv/Debian_batman-adv_AutoStartup.textile
@@ -86,8 +86,8 @@ iface bat0 inet auto
address 192.168.123.3
netmask 255.255.255.0
gateway 192.168.123.1
- pre-up /usr/sbin/batctl if add dev eth0
- pre-up /usr/sbin/batctl if add dev wlan0
+ pre-up /usr/sbin/batctl if add eth0
+ pre-up /usr/sbin/batctl if add wlan0
</pre>
If you have both IPv6 and IPv4 on your mesh then you can combine them, it doesn't matter which order you put them in, just put the two pre-up lines in the first iface stanza.
@@ -95,8 +95,8 @@ If you have both IPv6 and IPv4 on your mesh then you can combine them, it doesn'
<pre>
auto bat0
iface bat0 inet6 auto
- pre-up /usr/sbin/batctl if add dev eth0
- pre-up /usr/sbin/batctl if add dev wlan0
+ pre-up /usr/sbin/batctl if add eth0
+ pre-up /usr/sbin/batctl if add wlan0
iface bat0 inet auto
address 192.168.123.3
netmask 255.255.255.0
@@ -137,11 +137,11 @@ then configure your batman-adv interfaces
<pre>
auto bat0
iface bat0 inet6 auto
- pre-up /usr/sbin/batctl -m bat0 if add dev wlan0
+ pre-up /usr/sbin/batctl -m bat0 if add wlan0
auto bat1
iface bat1 inet6 auto
- pre-up /usr/sbin/batctl -m bat1 if add dev wlan1
+ pre-up /usr/sbin/batctl -m bat1 if add wlan1
</pre>