fix: show correct 'reach the Pi' URL per uplink mode + BUG-15
- Settings: when the Pi is on the phone's hotspot (mode phone), show the Pi's hotspot IP (http://<ip>) with an LTE-only hint instead of the AP URL - BUG-15 documents the phone dual-role routing loop (host hotspot + connect to AP simultaneously breaks the uplink)
This commit is contained in:
@@ -133,6 +133,19 @@
|
||||
If the page doesn't load, try <strong>disabling cellular/mobile data</strong> on your phone.
|
||||
</div>
|
||||
</div>
|
||||
<div id="in-car-phone-info" hidden>
|
||||
<p class="mb-2 fw-semibold">Your phone can reach the Pi at:</p>
|
||||
<div class="d-flex align-items-center gap-2 mb-3">
|
||||
<code class="fs-5" id="phone-url">http://10.21.0.112</code>
|
||||
<button class="btn btn-outline-secondary btn-sm" id="copy-phone-url" type="button" title="Copy">
|
||||
<i class="fas fa-copy"></i>
|
||||
</button>
|
||||
</div>
|
||||
<div class="alert alert-info py-2 mb-0 small">
|
||||
<i class="fas fa-info-circle me-1"></i>
|
||||
The Pi is on your phone's hotspot. Keep the phone on <strong>mobile data (LTE)</strong> — don't also connect it to the Pi's WiFi.
|
||||
</div>
|
||||
</div>
|
||||
<div id="in-car-wifi-info" hidden>
|
||||
<p class="mb-1 small text-muted">The Pi is connected to WiFi. Open <code>http://yaris.local</code> from any device on the same network.</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user