secubox-deb/board
CyberMind-FR 4c17304aa2 feat(wan): package secubox-wan-link-guard + netplan static fallback (backport live gk2 fix) (ref #913)
Backports the live gk2 WAN link guard into source as a proper package
(mirrors the secubox-frigate-diskguard skeleton):
- sbin/secubox-wan-link-guard: mvpp2 eth2 pause-off (ethtool -A) + renegotiate
  (ethtool -r) + lan0 parasite route/addr cleanup + force default via eth2.
  NEVER ip link down/up (wedges the comphy). Tunable via /etc/default.
- secubox-wan-link-guard.service + boot/30s .timer
- 10-secubox-eth2-noflowctl.link: flow-control off at eth2 appearance (boot)
- secubox-eth2-flowctl-off.service backstop (installed, left disabled; .link
  supersedes it, matching live)
- postinst migrates the pre-dpkg hand-placed copies out of /etc/systemd +
  /usr/local/sbin so the packaged units win, then enables the timer.

netplan (board/mochabin): add static fallback 192.168.1.200/24 on eth2 at
route-metric 200 (higher than the DHCP route's 100) so the box is always
reachable even without a lease — closes #913 task 1. Source-only; not applied
live (avoids a remote WAN blip on the already-marginal link).

Verified on gk2: install migrated the old units, timer enabled+active, guard
ran clean (Result=success), WAN gateway stayed reachable throughout.

Co-Authored-By: Gerald KERMA <devel@cybermind.fr>
2026-07-28 19:26:28 +02:00
..
espressobin-ultra feat(netplan): standardize SecuBox LAN to 192.168.10.0/24; bump 1.10.0 (ref #760) 2026-06-27 17:11:23 +02:00
espressobin-v7 feat(netplan): standardize SecuBox LAN to 192.168.10.0/24; bump 1.10.0 (ref #760) 2026-06-27 17:11:23 +02:00
mochabin feat(wan): package secubox-wan-link-guard + netplan static fallback (backport live gk2 fix) (ref #913) 2026-07-28 19:26:28 +02:00
rpi400 feat(ci): Add unified multi-platform live USB workflow 2026-04-11 11:20:46 +02:00
vm-arm64 feat(netplan): standardize SecuBox LAN to 192.168.10.0/24; bump 1.10.0 (ref #760) 2026-06-27 17:11:23 +02:00
vm-x64 feat(netplan): standardize SecuBox LAN to 192.168.10.0/24; bump 1.10.0 (ref #760) 2026-06-27 17:11:23 +02:00
x64-live feat(netplan): standardize SecuBox LAN to 192.168.10.0/24; bump 1.10.0 (ref #760) 2026-06-27 17:11:23 +02:00
x64-vm feat(netplan): standardize SecuBox LAN to 192.168.10.0/24; bump 1.10.0 (ref #760) 2026-06-27 17:11:23 +02:00