<%# LuCI - Lua Configuration Interface Copyright 2008 Steven Barth Copyright 2008 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$ -%> <%+header%>

<%:status%>

<%:system%>


<%:system_type%>: <%=system%>
<%:cpu%>: <%=model%>
<%:ram%>:
<%:total%>/<%:cached%>/<%:buffers%>/<%:free%>
<%=memtotal%> / <%=memcached%> / <%=membuffers%> / <%=memfree%> KB


<%:wifi%>


<%for k, v in pairs(luci.sys.wifi.getiwconfig()) do %> <%end%>
<%:name%> <%:protocol%> <%:frequency%> <%:power%> <%:bitrate%> <%:rts%> <%:frag%> <%:link%> <%:signal%> <%:noise%>
<%=k%> <%=v[1]%> <%=v.Frequency%> <%=v["Tx-Power"]%> <%=v["Bit Rate"]%> <%=v["RTS thr"]%> <%=v["Fragment thr"]%> <%=v["Link Quality"]%> <%=v["Signal level"]%> <%=v["Noise level"]%>
ESSID: <%=v.ESSID%> BSSID: <%=(v.Cell or v["Access Point"])%>


<%:defroutes%>


<% for i, rt in pairs(routes) do %> <% end %>
<%:gateway%> <%:metric%> <%:iface%>
<%=luci.sys.net.hexip4(rt.Gateway)%> <%=rt.Metric%> <%=rt.Iface%>
<%+footer%>