summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/src/view/sudo_status/iwconfig.htm
diff options
context:
space:
mode:
Diffstat (limited to 'modules/freifunk/src/view/sudo_status/iwconfig.htm')
-rw-r--r--modules/freifunk/src/view/sudo_status/iwconfig.htm21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/freifunk/src/view/sudo_status/iwconfig.htm b/modules/freifunk/src/view/sudo_status/iwconfig.htm
new file mode 100644
index 0000000000..6f5dede700
--- /dev/null
+++ b/modules/freifunk/src/view/sudo_status/iwconfig.htm
@@ -0,0 +1,21 @@
+<%
+ffluci.http.prepare_content("text/plain")
+for k, v in pairs(ffluci.sys.wifi.getiwconfig()) do
+%>
+<tr>
+<td rowspan="2"><%=k%></td>
+<td><%=v[1]%></td>
+<td><%=v.Frequency%></td>
+<td><%=v["Tx-Power"]%></td>
+<td><%=v["Bit Rate"]%></td>
+<td><%=v["RTS thr"]%></td>
+<td><%=v["Fragment thr"]%></td>
+<td><%=v["Link Quality"]%></td>
+<td><%=v["Signal level"]%></td>
+<td><%=v["Noise level"]%></td>
+</tr>
+<tr>
+<td colspan="4"><strong>ESSID: </strong><%=v.ESSID%></td>
+<td colspan="5"><strong>BSSID: </strong><%=(v.Cell or v["Access Point"])%></td>
+</tr>
+<%end%>