Prioritize eth0 Route Over WLAN
You can prioritise the eth0 route over the WLAN route. Perform the following steps:
Modify the
/etc/systemd/network/99-dhcp-en.networkfile and add the following content:[DHCP] RouteMetric=512Restart
systemd-networkd.
Last modified July 24, 2023: trivial change to show what's up (911b3fb)