<%# Copyright 2010 Jo-Philipp Wich Licensed to the public under the Apache License 2.0. -%> <%+header%> <% local fs = require "nixio.fs" local has_ping6 = fs.access("/bin/ping6") or fs.access("/usr/bin/ping6") local has_traceroute6 = fs.access("/usr/bin/traceroute6") local dns_host = "www.ingeteam.com" local ping_host = "www.ingeteam.com" local route_host = "www.ingeteam.com" local path = luci.dispatcher.context.requestpath local url local util = require "luci.util" local hostname = util.ubus("system", "board") if string.find(hostname.hostname, "04M") then url = "operator/network" else url = "operator/charging/"..path[3].."/network" end %>
">

<%:Diagnostics%>

<%:Network Utilities%>

<% if has_ping6 then %> <% else %> <% end %>

<% if has_traceroute6 then %> <% else %> <% end %> <% if not has_traceroute6 then %>

 

<%:Install iputils-traceroute6 for IPv6 traceroute%>

<% end %>



<%+footer%>