mirror of https://github.com/aredn/aredn.git
parent
604b23cf38
commit
65bba7aa35
|
@ -50,6 +50,13 @@ $config = "not set" if $config eq "" or not -d "/etc/config.mesh";
|
|||
|
||||
($junk, $wifi_channel) = &uci_get_named_option("wireless", "radio0", "channel");
|
||||
($junk, $wifi_chanbw) = &uci_get_named_option("wireless", "radio0", "chanbw");
|
||||
$wifi_ssid = "N/A";
|
||||
@wisections = &uci_get_all_indexed_by_sectiontype("wireless", "wifi-iface");
|
||||
foreach(@wisections) {
|
||||
if ($_->{network} eq "wifi") {
|
||||
$wifi_ssid = $_->{ssid};
|
||||
}
|
||||
}
|
||||
|
||||
read_postdata();
|
||||
|
||||
|
@ -185,6 +192,9 @@ if($browser_ip)
|
|||
push @col1, $str . "</td>";
|
||||
}
|
||||
|
||||
$str = "<th align=right><nobr>SSID</nobr></th><td>$wifi_ssid";
|
||||
push @col1, $str . "</td>";
|
||||
|
||||
$str = "<th align=right><nobr>Channel</nobr></th><td>$wifi_channel";
|
||||
push @col1, $str . "</td>";
|
||||
|
||||
|
|
Loading…
Reference in New Issue