mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Update
This commit is contained in:
parent
bba39ad1f9
commit
0f36c4af34
12 changed files with 51 additions and 29 deletions
10
etc/systemd/network/10-bond1.netdev
Normal file
10
etc/systemd/network/10-bond1.netdev
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
[NetDev]
|
||||||
|
Name=bond1
|
||||||
|
Kind=bond
|
||||||
|
|
||||||
|
[Bond]
|
||||||
|
Mode=active-backup
|
||||||
|
PrimaryReselectPolicy=always
|
||||||
|
TransmitHashPolicy=layer3+4
|
||||||
|
MIIMonitorSec=1s
|
||||||
|
LACPTransmitRate=fast
|
||||||
5
etc/systemd/network/10-bond1.network
Normal file
5
etc/systemd/network/10-bond1.network
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
[Match]
|
||||||
|
Name=bond1
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
DHCP=ipv4
|
||||||
|
|
@ -1,12 +1,7 @@
|
||||||
[Match]
|
[Match]
|
||||||
Name=enp2s0
|
Name=en*
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
DHCP=ipv4
|
Bond=bond1
|
||||||
DNS=9.9.9.9
|
LinkLocalAddressing=no
|
||||||
DNSOverTLS=opportunistic
|
PrimarySlave=true
|
||||||
DNSSEC=true
|
|
||||||
|
|
||||||
[DHCP]
|
|
||||||
RouteMetric=10
|
|
||||||
UseDNS=no
|
|
||||||
|
|
|
||||||
5
etc/systemd/network/20-wired.network.bk
Normal file
5
etc/systemd/network/20-wired.network.bk
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
[Match]
|
||||||
|
Name=en*
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
DHCP=ipv4
|
||||||
|
|
@ -1,12 +1,6 @@
|
||||||
[Match]
|
[Match]
|
||||||
Name=wlp3s0
|
Driver=rtl8192eu
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
DHCP=ipv4
|
LinkLocalAddressing=no
|
||||||
DNS=9.9.9.9
|
Bond=bond1
|
||||||
DNSOverTLS=opportunistic
|
|
||||||
DNSSEC=true
|
|
||||||
|
|
||||||
[DHCP]
|
|
||||||
RouteMetric=20
|
|
||||||
UseDNS=no
|
|
||||||
|
|
|
||||||
5
etc/systemd/network/25-wireless.network.bk
Normal file
5
etc/systemd/network/25-wireless.network.bk
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
[Match]
|
||||||
|
Name=wl*
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
DHCP=ipv4
|
||||||
|
|
@ -1,12 +1,5 @@
|
||||||
[Match]
|
[Match]
|
||||||
Name=wlp0s20f0u2
|
Driver=mt76x2u
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
DHCP=ipv4
|
DHCP=ipv4
|
||||||
DNS=9.9.9.9
|
|
||||||
DNSOverTLS=opportunistic
|
|
||||||
DNSSEC=true
|
|
||||||
|
|
||||||
[DHCP]
|
|
||||||
RouteMetric=30
|
|
||||||
UseDNS=no
|
|
||||||
|
|
|
||||||
|
|
@ -15,3 +15,6 @@ Bind=/dev/nvidia-uvm-tools
|
||||||
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
||||||
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
||||||
BindReadOnly=/tmp/.X11-unix
|
BindReadOnly=/tmp/.X11-unix
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
VirtualEthernet=false
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
[Exec]
|
[Exec]
|
||||||
Boot=true
|
Boot=true
|
||||||
Capability=CAP_NET_ADMIN
|
Capability=CAP_NET_ADMIN
|
||||||
PrivateUsers=no
|
PrivateUsers=false
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
Bind=/dev/dri
|
Bind=/dev/dri
|
||||||
|
|
@ -15,3 +15,6 @@ Bind=/dev/nvidia-uvm-tools
|
||||||
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
||||||
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
||||||
BindReadOnly=/tmp/.X11-unix
|
BindReadOnly=/tmp/.X11-unix
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
VirtualEthernet=false
|
||||||
|
|
|
||||||
|
|
@ -15,3 +15,6 @@ Bind=/dev/nvidia-uvm-tools
|
||||||
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
||||||
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
||||||
BindReadOnly=/tmp/.X11-unix
|
BindReadOnly=/tmp/.X11-unix
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
VirtualEthernet=false
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
[Exec]
|
[Exec]
|
||||||
Boot=true
|
Boot=true
|
||||||
Capability=CAP_NET_ADMIN
|
Capability=CAP_NET_ADMIN
|
||||||
PrivateUsers=no
|
PrivateUsers=false
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
Bind=/dev/dri
|
Bind=/dev/dri
|
||||||
|
|
@ -15,3 +15,6 @@ Bind=/dev/nvidia-uvm-tools
|
||||||
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
||||||
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
||||||
BindReadOnly=/tmp/.X11-unix
|
BindReadOnly=/tmp/.X11-unix
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
VirtualEthernet=false
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
[Exec]
|
[Exec]
|
||||||
Boot=true
|
Boot=true
|
||||||
Capability=CAP_NET_ADMIN
|
Capability=CAP_NET_ADMIN
|
||||||
PrivateUsers=no
|
PrivateUsers=false
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
Bind=/dev/dri
|
Bind=/dev/dri
|
||||||
|
|
@ -15,3 +15,6 @@ Bind=/dev/nvidia-uvm-tools
|
||||||
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
||||||
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
||||||
BindReadOnly=/tmp/.X11-unix
|
BindReadOnly=/tmp/.X11-unix
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
VirtualEthernet=false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue