etc/NetworkManager: move relevant parts to conf.d/

I have no idea when I have previously looked into those two files (git
history would probably tell me), but I don't think they make much sense,
while the important parts can be cut into conf.d/ and applied
individually as needed.
This commit is contained in:
Aminda Suomalainen 2019-10-04 20:18:32 +03:00
parent 16e66010a2
commit 077b1a7679
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
5 changed files with 18 additions and 40 deletions

View File

@ -1,28 +0,0 @@
## I am using this file supporting memory, I don't copy-paste this
## directly to anywhere.
[main]
# Ubuntu defaults
plugins=ifupdown,keyfile,ofono
# Use dnssec-triggerd (or dnsmasq at home)
dns=unbound
[keyfile]
# Disable misbehaving NIC
unmanaged-devices=mac:xx:xx:xx:xx:xx:xx
#hostname=HOSTNAME_TO_SEND_TO_DHCPD
[ifupdown]
# more Ubuntu defaults
managed=false
## HTTP-based connectivity check
[connectivity]
# On Arch I seem to be using the default instead.
uri=http://koti.kapsi.fi/~mikaela/check_network_status.txt
interval=300
# Defaults for all connections
[connection]
# Enable IPv6 privacy extensions, but this doesn't seem to work.
ipv6.ip6-privacy=2

View File

@ -1,12 +0,0 @@
[main]
plugins=keyfile
dns=dnsmasq
## HTTP-based connectivity check
[connectivity]
uri=http://nmcheck.gnome.org/check_network_status.txt
interval=100
[keyfile]
#unmanaged-devices=mac:xx:xx:xx:xx:xx:xx
#hostname=HOSTNAME_FOR_DHCPD

View File

@ -0,0 +1,10 @@
[connectivity]
uri=http://nmcheck.gnome.org/check_network_status.txt
interval=100
# Expect "NetworkManager is online" to check for captive portals.
# Debian: don't bother with this file,
# sudo apt install network-manager-config-connectivity-debian
# for /usr/lib/NetworkManager/conf.d/20-connectivity-debian.conf
# (http://network-test.debian.org/nm without interval)

View File

@ -0,0 +1,4 @@
# Defaults for all connections
[connection]
# Enable IPv6 privacy extensions, but this doesn't seem to work.
ipv6.ip6-privacy=2

View File

@ -0,0 +1,4 @@
#[keyfile]
# Disable misbehaving NIC
#unmanaged-devices=mac:xx:xx:xx:xx:xx:xx
#hostname=HOSTNAME_TO_SEND_TO_DHCPD