secubox-deb/packages/secubox-toolbox/scripts
CyberMind 45e5f8aa84
fix(secubox-toolbox): persist AP iface IP via systemd-networkd (ref #482) (#484)
Sans ce fix, à chaque débranchement+rebranchement de la clé USB Wi-Fi,
l'iface perd son IP 10.99.0.1/24. dnsmasq répond "DHCP packet received
which has no address" et tous les clients VILLAGE3B restent en limbo.

## Implementation

- conf/ap-iface.network.j2 : template Jinja rendu vers
  /etc/systemd/network/10-secubox-toolbox-ap.network
- scripts/toolbox-up : rend + applique + recharge systemd-networkd
  (fallback ip-addr-replace si networkd indisponible)

Match=Name=<iface>, Address=<gateway>/24, ConfigureWithoutCarrier=yes
pour que l'IP s'applique AVANT que hostapd ne porte le radio.

## Bump

1.4.0 → 1.5.0-1~bookworm1

## Test E2E sur gk2 (2026-06-04)

- toolbox-up rendu le fichier depuis /etc/secubox/toolbox.toml ✓
- networkctl reload appliqué ✓
- ip addr show wlxa854b2428fbb → 10.99.0.1/24 OK ✓
- À tester : unplug → replug → vérifier IP réapparaît auto

Co-authored-by: CyberMind-FR <gandalf@Gk2.net>
2026-06-05 06:27:48 +02:00
..
ca-init
toolbox-up fix(secubox-toolbox): persist AP iface IP via systemd-networkd (ref #482) (#484) 2026-06-05 06:27:48 +02:00