<%# LuCI - Lua Configuration Interface Copyright 2010 Jo-Philipp Wich Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id: diagnostics.htm 9623 2013-01-18 14:08:37Z jow $ -%> <%+header%> <% local fs = require "nixio.fs" local uci = luci.model.uci.cursor() local disp = require "luci.dispatcher" local tabs_i18n = {} tabs_map = {["node_list"]=translate("Node List"), ["link_status"]=translate("Link Status"), ["ping"]=translate("Ping"), ["traceroute"]=translate("Trace Route"), ["throughput"]=translate("Throughput")} -- default tabs local tabs = {"node_list", "link_status", "ping", "traceroute", "throughput"} for k,v in ipairs(tabs) do tabs_i18n[tabs[k]] = tabs_map[v] end local curtab = luci.http.formvalue("tab") if curtab == nil then curtab = "node_list" end mesh = uci:get("wireless","wifi0_mesh","disabled") local mesh_ID = uci:get("wireless","wifi0_mesh","Mesh_id") local mesh_ID_5g = uci:get("wireless","wifi1_mesh","Mesh_id") local rssi = uci:get("wireless","wifi0_mesh","LinkRobustThreshold") local meshlist = luci.util.trim(luci.util.exec('cat /tmp/mesh_global_node_info')) %>

<%:It can specify the destination for Traceroute troubleshooting on network paths from this device.%>

<%:This utility performs DNS look up for available domain records.%>

<%:Mouse over on any Mesh node(black) for the linking status which is linking to other Mesh nodes(blue) with green line.%>

<%:A node on the Mesh network that not only connected to outside network by wire, but also connects user to the Internet.%>

<%:A node on the mesh network that connected to other nodes by wireless.%>

<%:This is the Mesh network name, which generated from the Mesh ID. You can change the name by click the hyperlink.%>

<%:Display all the neighbor nodes which discovered by individually mesh node, no matter with its signal strength allowed to link or not.%>

<%:The hops count refers to the number of intermediate devices through which data must pass between the Mesh node itself and Root node.%>

<%:If the Hops Count number is more than 3, we recommend that you have to optimise your deployment of the device location.%>

<%:System shows “—“ when the node is a Root or alone node.%>

">
<%:Ping Test Parameters%>
<%:From%>   <%:To%>  
">
<%:Number of Pings%>
">
<%:Traceroute Test Parameters%>
<%:From%>   <%:To%>  
">
<%:Throughput Test%>
<%:And%>
">
Mesh View
<%:A node is not allowed to link with mesh if its signal strength is continuously lower than%> <%=rssi%>.


<%+footer%>