You are not logged in.
I currently use systemd-networkd to setup a wifi access point and share internet (obtained via ethernet) with a bridge
I'm looking for a way to automatically switch to another setup when Ethernet is not available.
In clear, if the Ethernet cable is not plugged in, I want the computer to connect to some wifi network instead.
Is there a configuration option for the [Match] section that takes the status of Ethernet into account. I didn't find anything similar in the wiki
The files in my /etc/systemd/network are as follows
02-br0.netdev
----------
[NetDev]
Name=br0
Kind=bridge04-br0_add-eth0.network
----------
[Match]
Name=eth0
[Network]
Bridge=br004-eth0.network
----------
[Match]
Name=eth0
[Network]
DHCP=yes08-wlan0.network
----------
[Match]
Name=wlan0
[Network]
DHCP=yes12-br0_up.network
----------
[Match]
Name=br0
[Network]
MulticastDNS=yes
DHCP=yes99-default.link
----------Offline