Try setting netmask
This commit is contained in:
parent
40456fd5a8
commit
49ecb5343f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue