2 LuCI - Lua Configuration Interface
3 Copyright 2008 Steven Barth <steven@midlink.org>
4 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
20 <table cellspacing="0" cellpadding="6" class="smalltext">
22 <th><%:system_type%>:</th>
38 <table cellspacing="0" cellpadding="6" class="smalltext">
41 <th><%:protocol%></th>
42 <th><%:frequency%></th>
51 <%for k, v in pairs(luci.sys.wifi.getiwconfig()) do
54 <td rowspan="2"><%=k%></td>
56 <td><%=v.Frequency%></td>
57 <td><%=v["Tx-Power"]%></td>
58 <td><%=v["Bit Rate"]%></td>
59 <td><%=v["RTS thr"]%></td>
60 <td><%=v["Fragment thr"]%></td>
61 <td><%=v["Link Quality"]%></td>
62 <td><%=v["Signal level"]%></td>
63 <td><%=v["Noise level"]%></td>
66 <td colspan="4"><strong>ESSID: </strong><%=v.ESSID%></td>
67 <td colspan="5"><strong>BSSID: </strong><%=(v.Cell or v["Access Point"])%></td>
73 <h2><%:defroutes%></h2>
75 <table cellspacing="0" cellpadding="6" class="smalltext">
82 for i, rt in pairs(routes) do
85 <td><%=luci.sys.net.hexip4(rt.Gateway)%></th>
86 <td><%=rt.Metric%></th>
87 <td><%=rt.Iface%></th>