mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-05-29 02:47:34 +02:00
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:
parent
16e66010a2
commit
077b1a7679
@ -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
|
|
@ -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
|
|
10
etc/NetworkManager/conf.d/connectivity.conf
Normal file
10
etc/NetworkManager/conf.d/connectivity.conf
Normal 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)
|
4
etc/NetworkManager/conf.d/ipv6privacy.conf
Normal file
4
etc/NetworkManager/conf.d/ipv6privacy.conf
Normal 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
|
4
etc/NetworkManager/conf.d/keyfile.conf
Normal file
4
etc/NetworkManager/conf.d/keyfile.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#[keyfile]
|
||||||
|
# Disable misbehaving NIC
|
||||||
|
#unmanaged-devices=mac:xx:xx:xx:xx:xx:xx
|
||||||
|
#hostname=HOSTNAME_TO_SEND_TO_DHCPD
|
Loading…
x
Reference in New Issue
Block a user