Bridge and wireless interface

This commit is contained in:
Bob Mottram 2015-08-09 12:50:56 +01:00
parent 2e6508af37
commit 9450b24fcc
2 changed files with 4 additions and 0 deletions

View File

@ -1827,6 +1827,7 @@ function mesh_batman_bridge {
echo ' modprobe batman-adv' >> $batman_script
echo ' batctl if add $IFACE' >> $batman_script
echo ' ifconfig $IFACE up' >> $batman_script
echo ' avahi-autoipd -D $BRIDGE' >> $batman_script
echo ' avahi-autoipd -D $IFACE' >> $batman_script
echo ' ifconfig bat0 up promisc' >> $batman_script
echo '' >> $batman_script
@ -1870,6 +1871,7 @@ function mesh_batman_bridge {
echo ' ifconfig $EIFACE down -promisc' >> $batman_script
echo ' fi' >> $batman_script
echo '' >> $batman_script
echo ' avahi-autoipd -k $BRIDGE' >> $batman_script
echo ' avahi-autoipd -k $IFACE' >> $batman_script
echo ' ifconfig bat0 down -promisc' >> $batman_script
echo '' >> $batman_script

View File

@ -235,6 +235,7 @@ function mesh_batman {
echo ' batctl if add $IFACE' >> $batman_script
echo ' ifconfig $IFACE up' >> $batman_script
echo ' avahi-autoipd -D $BRIDGE' >> $batman_script
echo ' avahi-autoipd -D $IFACE' >> $batman_script
echo ' ifconfig bat0 up promisc' >> $batman_script
echo '' >> $batman_script
echo ' #Use persistent HWAddr' >> $batman_script
@ -280,6 +281,7 @@ function mesh_batman {
echo ' fi' >> $batman_script
echo '' >> $batman_script
echo ' avahi-autoipd -k $BRIDGE' >> $batman_script
echo ' avahi-autoipd -k $IFACE' >> $batman_script
echo ' ifconfig bat0 down -promisc' >> $batman_script
echo '' >> $batman_script
echo ' batctl if del $IFACE' >> $batman_script