|
|
|
@ -158,6 +158,7 @@ set_easymesh() {
|
|
|
|
|
uci set network.bat0.multicast_mode='1'
|
|
|
|
|
uci set network.bat0.network_coding='0'
|
|
|
|
|
uci set network.bat0.orig_interval='1000'
|
|
|
|
|
uci set network.bat0.orig_bonding='1'
|
|
|
|
|
|
|
|
|
|
if [ "$role" = "server" ]; then
|
|
|
|
|
uci set network.bat0.gw_mode='server'
|
|
|
|
@ -202,8 +203,6 @@ set_easymesh() {
|
|
|
|
|
|
|
|
|
|
echo "" > /etc/easymesh
|
|
|
|
|
|
|
|
|
|
batctl bonding enable
|
|
|
|
|
|
|
|
|
|
uci set dhcp.lan.ignore='1' # ignore interface for serving DHCP
|
|
|
|
|
uci -q delete dhcp.lan.ra
|
|
|
|
|
uci -q delete dhcp.lan.dhcpv6
|
|
|
|
|