Try setting netmask

This commit is contained in:
Bob Mottram 2015-08-09 10:19:59 +01:00
parent 40456fd5a8
commit 49ecb5343f
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ function mesh_batman {
echo ' batctl if add $IFACE' >> $batman_script echo ' batctl if add $IFACE' >> $batman_script
echo ' ifconfig $IFACE up' >> $batman_script echo ' ifconfig $IFACE up' >> $batman_script
echo ' avahi-autoipd -D bat0' >> $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 '' >> $batman_script
echo ' #Use persistent HWAddr' >> $batman_script echo ' #Use persistent HWAddr' >> $batman_script
echo ' ether_new=$(ifconfig eth0 | grep HWaddr | sed -e "s/.*HWaddr //")' >> $batman_script echo ' ether_new=$(ifconfig eth0 | grep HWaddr | sed -e "s/.*HWaddr //")' >> $batman_script