From eddb37816e60e2aefd278c5cbf0671d3c3a92bc1 Mon Sep 17 00:00:00 2001 From: Jason Hawks Date: Thu, 9 Nov 2023 22:05:45 -0500 Subject: [PATCH 1/2] Add bens change --- root/easymesh/easymesh.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/root/easymesh/easymesh.sh b/root/easymesh/easymesh.sh index e6c1557..39bf027 100755 --- a/root/easymesh/easymesh.sh +++ b/root/easymesh/easymesh.sh @@ -309,11 +309,13 @@ set_easymesh() { uci set network.lan.gateway=$dns uci set system.@system[0].hostname=$gateway - # First, delete the existing interface list from br-lan - uci -q delete network.lan.ifname - # Configure LAN bridge and add ethernet interfaces to the bridge - uci set network.lan.ifname='eth0 eth1 wan lan1 lan2' # Add ethernet and wan + uci del network.@device[0].ports + uci add_list network.@device[0].ports='bat0' + uci add_list network.@device[0].ports='eth0' + uci add_list network.@device[0].ports='lan1' + uci add_list network.@device[0].ports='lan2' + uci add_list network.@device[0].ports='wan' uci set network.lan.type='bridge' # If you also need to configure the wireless network to be part of the bridge: From b4d96ce8d33746c7b50b77f82b42c812df040b8e Mon Sep 17 00:00:00 2001 From: Jason Hawks Date: Thu, 9 Nov 2023 22:07:14 -0500 Subject: [PATCH 2/2] Cleanup again --- root/easymesh/easymesh.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/root/easymesh/easymesh.sh b/root/easymesh/easymesh.sh index 39bf027..83f119a 100755 --- a/root/easymesh/easymesh.sh +++ b/root/easymesh/easymesh.sh @@ -272,9 +272,6 @@ set_easymesh() { add_dawn fi - add_kvr - add_dawn - if [ "$ap_mode" = 1 ]; then # Backup Configurations if your scared cp /etc/config/wireless /etc/config/wireless.backup