Files
fips/packaging/openwrt-ipk/files/etc
ArjenandJohnathan Corgan 40b24cc9df chore(openwrt): ship the radio transports enabled and optional
The mesh0/mesh1 and ap0/ap1 Ethernet transports shipped commented out, and
fips-mesh-setup / fips-ap-setup awk-toggled the comment prefix in fips.yaml
when they created or removed an interface. That existed for one reason: a
transport whose interface was missing at startup was skipped and never
retried, so a stock install that never ran the helpers would have logged a
bind warning every boot.

The daemon now waits for the interface and binds it when it appears, so the
toggling has nothing left to protect. The blocks ship enabled with
optional: true — which is the honest statement about a radio the router may
never configure — and the helpers create the interface and stop there. No
config rewrite, and no "restart fips AFTER the interface is up" step
anywhere in either procedure.

phy0-sta0 (wwan) gets optional: true for the same reason: it only exists
while a radio is in station mode. eth0 and br-lan stay required, and the
test pins that they do — marking the whole ethernet block optional would
silence exactly the failures this policy exists to surface. With presence on
IFF_UP rather than IFF_UP|IFF_RUNNING, that stays correct for a router with
nothing plugged into its LAN ports: absence now means the netdev is gone or
admin-down, a real fault, rather than an empty switch port.

fips-ap-setup still edits node.rendezvous.lan, and that one does still need
a restart: it is a config value, not an interface.

The changelog entry gains an upgrade note. fips.yaml is a package conffile, so
a router whose setup script had already uncommented a block keeps that block
untouched and never receives the new key; with optional defaulting to false
the block is required, and an absent interface there stays Degraded and errors
once at ten seconds where the shipped file is silent.
2026-09-10 19:18:09 +00:00
..