mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-29 06:29:36 +01:00
systemd-networkd: clean up lines I always clean up anyway
This commit is contained in:
parent
c37af52cec
commit
8a52d849bc
@ -2,30 +2,16 @@
|
|||||||
Type=ether
|
Type=ether
|
||||||
|
|
||||||
[Link]
|
[Link]
|
||||||
RequiredForOnline=false
|
# I always mask systemd-networkd-wait-online.service anyway, so everything can
|
||||||
# If something else (like NetworkManager) manages network, uncomment
|
# be required for online if it wants to be.
|
||||||
#Unmanaged=true
|
ActivationPolicy=always-up
|
||||||
# Required for mDNS
|
# Nothing else is managing addressing etc.
|
||||||
#Multicast=true
|
Unmanaged=false
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
DHCP=true
|
DHCP=true
|
||||||
# systemctl enable systemd-resolved && systemctl start systemd-resolved
|
IPv6PrivacyExtensions=true
|
||||||
# ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
|
IPv6LinkLocalAddressGenerationMode=stable-privacy
|
||||||
DNS=
|
|
||||||
DNS=::1
|
|
||||||
DNS=127.0.0.1
|
|
||||||
DNS=127.0.0.53
|
|
||||||
DNSSEC=true
|
DNSSEC=true
|
||||||
#DNSOverTLS=opportunistic
|
|
||||||
DNSOverTLS=true
|
DNSOverTLS=true
|
||||||
# Search domains
|
|
||||||
Domains=.
|
Domains=.
|
||||||
# Enable systemd-timesyncd with `timedatectl set-ntp true`, may be specified
|
|
||||||
# multiple times, but you are using Chrony instead, right?
|
|
||||||
#NTP=fi.pool.ntp.org
|
|
||||||
#NTP=time.cloudflare.com
|
|
||||||
# Enable mDNS/.local for systemd-resolved
|
|
||||||
#MulticastDNS=true
|
|
||||||
# Windows
|
|
||||||
#LLMNR=true
|
|
||||||
|
@ -2,11 +2,9 @@
|
|||||||
# Dock MACAddress here?
|
# Dock MACAddress here?
|
||||||
MACAddress=ff:ff:ff:ff:ff:ff
|
MACAddress=ff:ff:ff:ff:ff:ff
|
||||||
|
|
||||||
[Link]
|
# Redunant for reading in the main file, but reminder never hurts?
|
||||||
RequiredForOnline=true
|
#[Link]
|
||||||
# Takes "ipv4", "ipv6", "both", or "any" (default).
|
#ActivationPolicy=always-up
|
||||||
#RequiredFamilyForOnline=both
|
|
||||||
ActivationPolicy=always-up
|
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
# /24, /16, /8 are the the class C, B, A networks
|
# /24, /16, /8 are the the class C, B, A networks
|
||||||
|
@ -1,35 +1,17 @@
|
|||||||
[Match]
|
[Match]
|
||||||
#Name=*
|
|
||||||
# Can be {colon,hyphen,dot}-delimited hexadecimal or IPv{4,6} address
|
|
||||||
#MACAddress=
|
|
||||||
Type=wlan
|
Type=wlan
|
||||||
|
|
||||||
[Link]
|
[Link]
|
||||||
# Takes "ipv4", "ipv6", "both", or "any" (default).
|
# I always mask systemd-networkd-wait-online.service anyway, so everything can
|
||||||
#RequiredFamilyForOnline=both
|
# be required for online if it wants to be.
|
||||||
# Always set administrative state to up. Implies RequiredForOnline=true
|
|
||||||
ActivationPolicy=always-up
|
ActivationPolicy=always-up
|
||||||
# If something else (like iwd EnableNetworkConfiguration=true) manages network,
|
# Nothing else is managing addressing etc.
|
||||||
# uncomment
|
Unmanaged=false
|
||||||
#Unmanaged=true
|
|
||||||
# Required for mDNS
|
|
||||||
#Multicast=true
|
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
DHCP=true
|
DHCP=true
|
||||||
IPv6PrivacyExtensions=true
|
IPv6PrivacyExtensions=true
|
||||||
IPv6LinkLocalAddressGenerationMode=stable-privacy
|
IPv6LinkLocalAddressGenerationMode=stable-privacy
|
||||||
DNS=
|
|
||||||
DNS=::1
|
|
||||||
DNS=127.0.0.1
|
|
||||||
DNS=127.0.0.53
|
|
||||||
# Enable mDNS/.local for systemd-resolved
|
|
||||||
#MulticastDNS=true
|
|
||||||
# Windows
|
|
||||||
#LLMNR=true
|
|
||||||
# systemd-resolved configuration
|
|
||||||
DNSSEC=true
|
DNSSEC=true
|
||||||
#DNSOverTLS=opportunistic
|
|
||||||
DNSOverTLS=true
|
DNSOverTLS=true
|
||||||
# Search domains
|
|
||||||
Domains=.
|
Domains=.
|
||||||
|
Loading…
Reference in New Issue
Block a user