sync: auto-sync from HOWARD-HOME at 2026-06-15 22:06:13

Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-06-15 22:06:13
This commit is contained in:
2026-06-15 22:06:20 -07:00
parent bf74f967eb
commit cb421c44fb
2 changed files with 53 additions and 1 deletions

View File

@@ -37,7 +37,8 @@ fi
echo "[INFO] watching $AP every ${INT}s (Ctrl-C to stop). Needs Cascades VPN reach."
# Run the sampling loop ON the AP so each tick is one round-trip; mca-dump for cu/clients, iw survey for busy%/noise.
run_ssh "$U@$AP" "INT=$INT sh -s" <<'REMOTE' 2>&1 | grep -viE 'Warning: Permanently|pq.html'
radios=$(iw dev 2>/dev/null | awk '/Interface/{print $2}' | grep -E 'wifi|ath' || echo "wifi0 wifi1 wifi2")
# physical radios only — exclude virtual APs (wifi0ap0...) and mld-* (hyphen breaks ${VAR} expansion)
radios=$(iw dev 2>/dev/null | awk '/Interface/{print $2}' | grep -E '^(wifi[0-9]+|ath[0-9]+)$' || echo "wifi0 wifi1 wifi2")
prev=""
while :; do
ts=$(date +%H:%M:%S)