diff --git a/root/etc/init.d/easymesh b/root/etc/init.d/easymesh index 032de48..5f2fa23 100755 --- a/root/etc/init.d/easymesh +++ b/root/etc/init.d/easymesh @@ -271,6 +271,8 @@ done echo switching the lan interface to DHCP client uci set network.lan.proto='dhcp' +uci set network.lan.gateway='$ip4addr' +uci set network.lan.dns='$ip4addr' uci delete network.wan uci delete network.wan6 uci delete network.lan.ipaddr