diff --git a/locale/en_US/LC_MESSAGES/messages.po b/locale/en_US/LC_MESSAGES/messages.po index 15e57c64..62f71705 100644 --- a/locale/en_US/LC_MESSAGES/messages.po +++ b/locale/en_US/LC_MESSAGES/messages.po @@ -663,6 +663,10 @@ msgstr "Attempting to start TOR" msgid "Attempting to stop TOR" msgstr "Attempting to stop TOR" +#: template/dashboard.php +msgid "Bridged AP mode is enabled. To find the Hostname and IP of your connected clients, please cross-reference the MAC addresses here with those from your router's admin page." +msgstr "Bridged AP mode is enabled. To find the Hostname and IP of your connected clients, please cross-reference the MAC addresses here with those from your router's admin page." + #: common form controls msgid "Save settings" msgstr "Save settings" diff --git a/templates/dashboard.php b/templates/dashboard.php index 84e2d788..44a01639 100755 --- a/templates/dashboard.php +++ b/templates/dashboard.php @@ -8,7 +8,7 @@ if ($arrHostapdConf['WifiAPEnable'] == 1) { $MACPattern = '"([[:xdigit:]]{2}:){5}[[:xdigit:]]{2}"'; if ($arrHostapdConf['BridgedEnable'] == 1) { $moreLink = "index.php?page=hostapd_conf"; - exec('arp -i '.$client_iface.' -a | grep -E $(iw dev '.$client_iface.' station dump | grep -oE '.$MACPattern.' | paste -sd "|") | tr -d "()" | awk -F" " \'{print $7 " " $4 " " $2 " " $1}\'', $clients); + exec('iw dev '.$client_iface.' station dump | grep -oE '.$MACPattern, $clients); } else { $moreLink = "index.php?page=dhcpd_conf"; exec('cat '.RASPI_DNSMASQ_LEASES.'| grep -E $(arp -i '.$client_iface.' -n | grep -oE '.$MACPattern.' | paste -sd "|")', $clients); @@ -78,18 +78,31 @@ $ifaceStatus = $wlan0up ? "up" : "down";
- | - | + + | + + | + | + | + |
---|---|---|---|---|---|---|
Bridged AP mode is enabled. To find the Hostname and IP of your connected clients, please cross-reference the MAC addresses here with those from your router's admin page.");?> | +||||||
- | - | + + | + + + | + | + | + |