diff options
Diffstat (limited to 'modules/freifunk/src/view/sudo_status/iwscan.htm')
-rw-r--r-- | modules/freifunk/src/view/sudo_status/iwscan.htm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/freifunk/src/view/sudo_status/iwscan.htm b/modules/freifunk/src/view/sudo_status/iwscan.htm new file mode 100644 index 0000000000..6f321ae9e2 --- /dev/null +++ b/modules/freifunk/src/view/sudo_status/iwscan.htm @@ -0,0 +1,22 @@ +<% +ffluci.http.prepare_content("text/plain") +for iface, cells in pairs(ffluci.sys.wifi.iwscan()) do + for i, cell in ipairs(cells) do +%> +<tr> +<td><%=iface%></td> +<td><%=cell.ESSID%></td> +<td><%=cell.Address%></td> +<td><%=cell.Mode%></td> +<td><%=(cell.Channel or cell.Frequency or "")%></td> +<td><%=cell["Encryption key"]%></td> +<td><%=cell.Quality%></td> +<td><%=cell["Signal level"]%></td> +<td><%=cell["Noise level"]%></td> +</tr> +<% + end +end +%> + + |