<%+header%> <% local uci = require("luci.model.uci").cursor() local disp = require "luci.dispatcher" local ssid, passwd, encryption, mesh_ssid local ssid_5g, passwd_5g, encryption_5g, mesh_ssid_5g local meshband, mesh_encryption, mesh_passwd, mesh_encryption_5g, mesh_passwd_5g ssid = uci:get("tmp_wizard","wizard","ssid") ssid_5g = uci:get("tmp_wizard","wizard","ssid_5g") passwd = uci:get("tmp_wizard","wizard","passwd") passwd_5g = uci:get("tmp_wizard","wizard","passwd_5g") encryption = uci:get("tmp_wizard","wizard","encryption") encryption_5g = uci:get("tmp_wizard","wizard","encryption_5g") meshband = uci:get('tmp_wizard', 'wizard', 'meshband') mesh_ssid = uci:get("tmp_wizard","wizard","mesh_ssid") mesh_ssid_5g = uci:get("tmp_wizard","wizard","mesh_ssid_5g") mesh_encryption = uci:get('tmp_wizard', 'wizard', 'mesh_encryption') mesh_passwd = uci:get('tmp_wizard', 'wizard', 'mesh_passwd') mesh_encryption_5g = uci:get('tmp_wizard', 'wizard', 'mesh_encryption_5g') mesh_passwd_5g = uci:get('tmp_wizard', 'wizard', 'mesh_passwd_5g') channel = uci:get('tmp_wizard', 'wizard', 'mesh_channel') channel_5g = uci:get('tmp_wizard', 'wizard', 'mesh_channel_5g') mesh_ID = uci:get("tmp_wizard","wizard","mesh_ID") mesh_ID_5g = uci:get("tmp_wizard","wizard","mesh_ID_5g") mesh_connectType = uci:get("tmp_wizard","wizard","mesh_connectType") mesh_connectType_5g = uci:get("tmp_wizard","wizard","mesh_connectType_5g") ssid = string.gsub(ssid,"\\","\\\\") ssid = string.gsub(ssid,"\"","\\\"") ssid_5g = string.gsub(ssid_5g,"\\","\\\\") ssid_5g = string.gsub(ssid_5g,"\"","\\\"") passwd = string.gsub(passwd,"\\","\\\\") passwd = string.gsub(passwd,"\"","\\\"") passwd_5g = string.gsub(passwd_5g,"\\","\\\\") passwd_5g = string.gsub(passwd_5g,"\"","\\\"") mesh_ssid = string.gsub(mesh_ssid,"\\","\\\\") mesh_ssid = string.gsub(mesh_ssid,"\"","\\\"") mesh_ssid_5g = string.gsub(mesh_ssid_5g,"\\","\\\\") mesh_ssid_5g = string.gsub(mesh_ssid_5g,"\"","\\\"") mesh_passwd = string.gsub(mesh_passwd,"\\","\\\\") mesh_passwd = string.gsub(mesh_passwd,"\"","\\\"") mesh_passwd_5g = string.gsub(mesh_passwd_5g,"\\","\\\\") mesh_passwd_5g = string.gsub(mesh_passwd_5g,"\"","\\\"") %>

<%:Click the SAVE button to save all the networks settings, and then you will need to enter the account and password to login the device%>
<%:2.4GHz Wireless Settings/Status:%> <%:Wi-Fi Name(SSID):%>
<%:Encryption:%>
<%:Encryption Key:%>
<%:5GHz Wireless Settings/Status:%> <%:Wi-Fi Name(SSID):%>
<%:Encryption:%>
<%:Encryption Key:%>
<%:DDNS Settings%>
- <%:Default UID%><%=uid_account%>
- <%:UID Status%>Loading...
- <%:Default DDNS Name%><%=uid_account%>.<%=ddns_domain%>
- <%:Alias DDNS Name%> .<%=ddns_domain%>
- <%:Refresh Time%>
- <%:DDNS Status%>Loading...
<%+footer%>