From 0bde89627962952957fc48b3ab3edbfdc45fc1c6 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 25 Sep 2023 18:39:29 +0000 Subject: [PATCH] Update 'luasrc/model/cbi/easymesh.lua' --- luasrc/model/cbi/easymesh.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/luasrc/model/cbi/easymesh.lua b/luasrc/model/cbi/easymesh.lua index 61e007c..bf03b40 100755 --- a/luasrc/model/cbi/easymesh.lua +++ b/luasrc/model/cbi/easymesh.lua @@ -6,7 +6,7 @@ local uci = require "luci.model.uci".cursor() m = Map("easymesh", translate("PrivateRouter Easy Mesh"), - translate("Powered by Batman-adv (Better Approach To Mobile Adhoc Networking - Advanced) When configuring a Mesh Node, initially activate your mesh WiFi on the radio device and establish a connection. Subsequently, enable it as a DHCP node. The default settings are typically adequate for most Internet Access Gateway Mesh configurations.") + translate("Powered by Batman-adv (Better Approach To Mobile Adhoc Networking - Advanced). First setup your Mesh Server then setup the nodes. When configuring a Mesh Node, initially activate your mesh WiFi on the radio device and establish a connection. Subsequently, enable it as a DHCP node. The default settings are typically adequate for most Internet Access Gateway Mesh configurations.") .. "
" .. translate("Official website:") .. ' https://www.open-mesh.org/projects/batman-adv/wiki' ) @@ -112,7 +112,7 @@ o:depends("kvr", 1) --enable.rmempty = false ---- ap_mode -enable = s:option(Flag, "ap_mode", translate("Enable as DHCP Mesh Node"), translate("Enable DHCP node. Connect to mesh gateway before enabling.")) +enable = s:option(Flag, "ap_mode", translate("Enable as DHCP Mesh Node"), translate("Enable DHCP node. Connect to mesh gateway WiFi before enabling.")) enable.default = 0 enable.rmempty = false @@ -127,15 +127,15 @@ enable.rmempty = false --o.datatype = "ip4addr" --o:depends("ap_mode", 1) -o = s:option(Value, "gateway", translate("Mesh IPv4 gateway")) -o.default = "192.168.8.1" -o.datatype = "ip4addr" +o = s:option(Value, "gateway", translate("Set Hostname for this DHCP Mesh Node")) +o.default = "node1" +o.datatype = "string" o:depends("ap_mode", 1) -o = s:option(Value, "dns", translate("Mesh IPv4 DNS")) -o.default = "192.168.8.1" -o.datatype = "ip4addr" -o:depends("ap_mode", 1) +---- o = s:option(Value, "dns", translate("Mesh IPv4 DNS")) +--o.default = "192.168.8.1" +--o.datatype = "ip4addr" +--o:depends("ap_mode", 1) function m.on_commit(self) luci.sys.call("uci commit")