- deploy.conf templates interface names/USB IDs (@TOKEN@ substitution) across ap/* configs so a dongle swap only needs deploy.conf edited, not the repo configs themselves; drops ap/rtw88.conf (old 2.4GHz dongle retired for the DWA-171, which needs no such power-save override). - failover/van-wlan-watchdog: recovers wlan0 from NM's post-boot no-secrets wedge (a boot-time supplicant race, not a real credential failure). - deploy.sh: warn() collects dependency/config warnings (missing python3-gps, python3-paho-mqtt, mobile-broadband-provider-info, grpcurl, gpsd; netplan drift; unedited example configs) into /var/lib/vanlink/deploy-warnings.json, rendered as an amber Cockpit card so they're visible without reading deploy output. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
76 lines
2.2 KiB
HTML
76 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Van Router</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link href="../base1/cockpit.css" type="text/css" rel="stylesheet">
|
|
<link href="vanrouter.css" type="text/css" rel="stylesheet">
|
|
<script src="../base1/cockpit.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="vr-wrap">
|
|
<div class="vr-head">
|
|
<h2>Van Router</h2>
|
|
<span id="updated" class="muted">loading…</span>
|
|
</div>
|
|
|
|
<div class="card" id="deploywarn-card" style="display:none">
|
|
<h3>Deploy Warnings</h3>
|
|
<div id="deploywarn"></div>
|
|
</div>
|
|
|
|
<div class="card">
|
|
<h3>Access Points</h3>
|
|
<div id="ap"></div>
|
|
</div>
|
|
|
|
<div class="card">
|
|
<h3>Clients</h3>
|
|
<div id="clients"></div>
|
|
</div>
|
|
|
|
<div class="card">
|
|
<h3>Temperatures</h3>
|
|
<div id="thermal"></div>
|
|
</div>
|
|
|
|
<div class="card">
|
|
<h3>Battery / Power</h3>
|
|
<div id="battery"></div>
|
|
</div>
|
|
|
|
<div class="card">
|
|
<h3>WAN Failover</h3>
|
|
<div id="failover"></div>
|
|
</div>
|
|
|
|
<div class="card">
|
|
<h3>Starlink</h3>
|
|
<div id="starlink"></div>
|
|
</div>
|
|
|
|
<div class="card">
|
|
<div class="card-head">
|
|
<h3>Wi-Fi Networks</h3>
|
|
<button id="wifi-scan" class="btn">Scan</button>
|
|
</div>
|
|
<div id="wifi"><p class="muted">Click Scan to search for networks.</p></div>
|
|
</div>
|
|
|
|
<div class="card">
|
|
<h3>WAN / Uplinks</h3>
|
|
<table>
|
|
<thead>
|
|
<tr><th>Device</th><th>Type</th><th>State</th><th>IPv4</th><th>Signal</th><th>Metric</th><th>Actions</th></tr>
|
|
</thead>
|
|
<tbody id="wan"></tbody>
|
|
</table>
|
|
<p class="muted">Lower metric = preferred default route. <span class="active-wan">★ blue</span> = current internet egress.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="vanrouter.js"></script>
|
|
</body>
|
|
</html>
|