Another option, as long as the standard method is to attach a wireless interface to a bridge though the "option network" in the wifi-ifaces, would be to add a corresponding "option pvid" to wifi-ifaces which could then be propagated to the bridge when the wifi interface is added.
On Thu, 23 Jul 2020 at 12:10, Jo-Philipp Wich <j...@mein.io> wrote: > > Hi, > > yeah I forgot to elaborate that in my last mail. The problem of dynamic / not > explicitly addressable wifi interface names in the network config remains. > > The best solution I can think of is fixing the wifi ifnames using "option > ifname" in the wifi-iface sections (which causes some very interesting effects > in my tests when not applied to *all* wifi-ifaces) and then using those fixes > names in /etc/config/network. > > The other alternative I see would be a hypothetical new notation comparable to > the existing alias notation that resolves ifnames to their actual values at > runtime... something like "@wifi-network(ssid=foo)" but this is just a very > vague idea I had from time to time throughout the last few years which never > gained any traction. > > ~Jo > _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel