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]
|
||||
Name=enp2s0
|
||||
Name=en*
|
||||
|
||||
[Network]
|
||||
DHCP=ipv4
|
||||
DNS=9.9.9.9
|
||||
DNSOverTLS=opportunistic
|
||||
DNSSEC=true
|
||||
|
||||
[DHCP]
|
||||
RouteMetric=10
|
||||
UseDNS=no
|
||||
Bond=bond1
|
||||
LinkLocalAddressing=no
|
||||
PrimarySlave=true
|
||||
|
|
|
|||
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]
|
||||
Name=wlp3s0
|
||||
Driver=rtl8192eu
|
||||
|
||||
[Network]
|
||||
DHCP=ipv4
|
||||
DNS=9.9.9.9
|
||||
DNSOverTLS=opportunistic
|
||||
DNSSEC=true
|
||||
|
||||
[DHCP]
|
||||
RouteMetric=20
|
||||
UseDNS=no
|
||||
LinkLocalAddressing=no
|
||||
Bond=bond1
|
||||
|
|
|
|||
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]
|
||||
Name=wlp0s20f0u2
|
||||
Driver=mt76x2u
|
||||
|
||||
[Network]
|
||||
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=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
||||
BindReadOnly=/tmp/.X11-unix
|
||||
|
||||
[Network]
|
||||
VirtualEthernet=false
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[Exec]
|
||||
Boot=true
|
||||
Capability=CAP_NET_ADMIN
|
||||
PrivateUsers=no
|
||||
PrivateUsers=false
|
||||
|
||||
[Files]
|
||||
Bind=/dev/dri
|
||||
|
|
@ -15,3 +15,6 @@ Bind=/dev/nvidia-uvm-tools
|
|||
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
||||
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
||||
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=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
||||
BindReadOnly=/tmp/.X11-unix
|
||||
|
||||
[Network]
|
||||
VirtualEthernet=false
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[Exec]
|
||||
Boot=true
|
||||
Capability=CAP_NET_ADMIN
|
||||
PrivateUsers=no
|
||||
PrivateUsers=false
|
||||
|
||||
[Files]
|
||||
Bind=/dev/dri
|
||||
|
|
@ -15,3 +15,6 @@ Bind=/dev/nvidia-uvm-tools
|
|||
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
||||
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
||||
BindReadOnly=/tmp/.X11-unix
|
||||
|
||||
[Network]
|
||||
VirtualEthernet=false
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[Exec]
|
||||
Boot=true
|
||||
Capability=CAP_NET_ADMIN
|
||||
PrivateUsers=no
|
||||
PrivateUsers=false
|
||||
|
||||
[Files]
|
||||
Bind=/dev/dri
|
||||
|
|
@ -15,3 +15,6 @@ Bind=/dev/nvidia-uvm-tools
|
|||
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
||||
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
||||
BindReadOnly=/tmp/.X11-unix
|
||||
|
||||
[Network]
|
||||
VirtualEthernet=false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue