RADIUS MAC (user's ask — auto-follows equipment swaps): ops_airos.php resolves the service's radius_user (device→service) and reads the latest radacct session → callingstationid = current CPE MAC (auto-updated on WPA2-RADIUS re-auth) and nasipaddress = the AP IP (reliable — replaces the flaky radio-MAC guess). Verified on Bryson: RADIUS shows the current MAC and a *different* MAC 2 days prior (proving the swap was auto-tracked). EquipmentDetail flags a RADIUS≠stored MAC mismatch with a 1-click "Mettre à jour" (updateDoc) — manual serial/MAC edit (InlineField) stays. The RADIUS DB isn't reachable from the hub (no GRANT) → done via the F bridge. Live client-ethernet throughput (F parity): ops_airos returns eth0 rx/tx byte counters + ts; EquipmentDetail's wireless panel gets a "Débit en direct" toggle that polls every ~6s (self-rescheduling, no overlap) and draws ▼download/▲upload sparklines (eth0 tx=download, rx=upload). Verified live: ↓8.0/↑1.9 kbps on Bryson. Also: AP link now uses the reliable nasipaddress; signal tiles keep interval coloring. Deployed (hub + F bridge + SPA index.27375132); leak-check 0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| data | ||
| docs | ||
| lib | ||
| preview | ||
| public | ||
| scripts | ||
| templates | ||
| test | ||
| .env.example | ||
| docker-compose.yml | ||
| package-lock.json | ||
| package.json | ||
| server.js | ||