changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra > box / airootfs/etc/systemd/network/20-wlan.network

changeset 2: 2fafbe22bd34
author: Richard Westhaver <ellis@rwest.io>
date: Fri, 31 May 2024 17:30:09 -0400
permissions: -rw-r--r--
description: init releng
1 [Match]
2 Name=wl*
3 
4 [Link]
5 RequiredForOnline=routable
6 
7 [Network]
8 DHCP=yes
9 MulticastDNS=yes
10 
11 # systemd-networkd does not set per-interface-type default route metrics
12 # https://github.com/systemd/systemd/issues/17698
13 # Explicitly set route metric, so that Ethernet is preferred over Wi-Fi and Wi-Fi is preferred over mobile broadband.
14 # Use values from NetworkManager. From nm_device_get_route_metric_default in
15 # https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c
16 [DHCPv4]
17 RouteMetric=600
18 
19 [IPv6AcceptRA]
20 RouteMetric=600