summaryrefslogtreecommitdiff
path: root/configs/releng/airootfs/etc/systemd/network/20-wwan.network
diff options
context:
space:
mode:
Diffstat (limited to 'configs/releng/airootfs/etc/systemd/network/20-wwan.network')
-rw-r--r--configs/releng/airootfs/etc/systemd/network/20-wwan.network7
1 files changed, 5 insertions, 2 deletions
diff --git a/configs/releng/airootfs/etc/systemd/network/20-wwan.network b/configs/releng/airootfs/etc/systemd/network/20-wwan.network
index 9d19945..6e1c8dd 100644
--- a/configs/releng/airootfs/etc/systemd/network/20-wwan.network
+++ b/configs/releng/airootfs/etc/systemd/network/20-wwan.network
@@ -1,5 +1,8 @@
[Match]
-Type=ww*
+Name=ww*
+
+[Link]
+RequiredForOnline=routable
[Network]
DHCP=yes
@@ -10,7 +13,7 @@ DHCP=yes
# Use values from NetworkManager. From nm_device_get_route_metric_default in
# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c
[DHCPv4]
-RouteMetric=2048
+RouteMetric=700
[IPv6AcceptRA]
RouteMetric=700