Mark povo connection metered

project-yukart's map-tile sync treats NetworkManager's metered flag as
a second guard against syncing over LTE; the flag was never set. It is
now, live on the car unit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mikkeli
2026-10-08 09:58:35 +09:00
parent e29c20de75
commit 9ba464f4a4
+2
View File
@@ -93,6 +93,8 @@ sudo nmcli con add type gsm ifname '*' con-name povo gsm.apn povo.jp \
```
- `ifname '*'`: binds to whichever modem ModemManager exposes (now `cdc-wdm0`).
- `connection.metered yes` (added 2026-10-08): marks LTE as metered so bulk transfers can refuse it. Project Yukart's
map-tile sync uses this as its second guard (LAN-only rsync).
- `autoconnect-retries 0` (forever): the default of 4 retries left the link permanently down after early failures. In a car, the modem may
come up after NetworkManager.
- Metric 1000 vs NM defaults Ethernet 100 / WiFi 600 → LTE only carries traffic when both are gone. Right after connecting the route