summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/src/view/public_status/iwscan.htm
blob: adba2d23e71f32fca21022b3db3bc86f707af369 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<%+header%>
<h1><%:iwscan WLAN-Scan%></h1>
<p><%:iwscan1 Drahtlosnetzwerke in der lokalen Umgebung des Routers:%></p>

<br />
<table cellspacing="0" cellpadding="6" class="smalltext">
<tr>
<th><%:interface Schnittstelle%></th>
<th><%:essid ESSID%></th>
<th><%:bssid BSSID%></th>
<th><%:mode Modus%></th>
<th><%:channel Kanal%></th>
<th><%:encr Vers.%></th>
<th><%:link Verb.%></th>
<th><%:signal Signal%></th>
<th><%:noise Rausch%></th>
</tr>
<%for iface, cells in pairs(luci.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
%>
</table>
<br />
<%+footer%>