From 49ecb5343f48cf34d18fa247e21a39c21fcd90ee Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 9 Aug 2015 10:19:59 +0100 Subject: [PATCH] Try setting netmask --- src/freedombone-client | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-client b/src/freedombone-client index 64833827..b7ddf033 100755 --- a/src/freedombone-client +++ b/src/freedombone-client @@ -227,7 +227,7 @@ function mesh_batman { echo ' batctl if add $IFACE' >> $batman_script echo ' ifconfig $IFACE up' >> $batman_script echo ' avahi-autoipd -D bat0' >> $batman_script - echo ' ifconfig bat0 up promisc' >> $batman_script + echo ' ifconfig bat0 up promisc netmask 255.255.255.0 broadcast 192.168.13.255' >> $babel_script echo '' >> $batman_script echo ' #Use persistent HWAddr' >> $batman_script echo ' ether_new=$(ifconfig eth0 | grep HWaddr | sed -e "s/.*HWaddr //")' >> $batman_script