mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-28 21:17:36 +00:00
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> |
||
|---|---|---|
| .. | ||
| espressobin-ultra | ||
| espressobin-v7 | ||
| mochabin | ||
| rpi400 | ||
| vm-arm64 | ||
| vm-x64 | ||
| x64-live | ||
| x64-vm | ||