Back up network stuff
This commit is contained in:
parent
0e201a13b0
commit
1f196d21b6
7 changed files with 76 additions and 0 deletions
|
@ -134,6 +134,30 @@ dotfiles:
|
|||
f_system.conf:
|
||||
src: etc/systemd/system.conf
|
||||
dst: /etc/systemd/system.conf
|
||||
f_99-wireguard.netdev:
|
||||
src: etc/systemd/network/99-wireguard.netdev
|
||||
dst: /etc/systemd/network/99-wireguard.netdev
|
||||
f_99-wireguard.network:
|
||||
src: etc/systemd/network/99-wireguard.network
|
||||
dst: /etc/systemd/network/99-wireguard.network
|
||||
f_01-wired.network:
|
||||
src: etc/systemd/network/01-wired.network
|
||||
dst: /etc/systemd/network/01-wired.network
|
||||
f_02-usb0.link:
|
||||
src: etc/systemd/network/02-usb0.link
|
||||
dst: /etc/systemd/network/02-usb0.link
|
||||
f_02-usb0.network:
|
||||
src: etc/systemd/network/02-usb0.network
|
||||
dst: /etc/systemd/network/02-usb0.network
|
||||
f_03-wireless.network:
|
||||
src: etc/systemd/network/03-wireless.network
|
||||
dst: /etc/systemd/network/03-wireless.network
|
||||
f_04-wlan0.link:
|
||||
src: etc/systemd/network/04-wlan0.link
|
||||
dst: /etc/systemd/network/04-wlan0.link
|
||||
f_04-wlan0.network:
|
||||
src: etc/systemd/network/04-wlan0.network
|
||||
dst: /etc/systemd/network/04-wlan0.network
|
||||
profiles:
|
||||
Locale:
|
||||
dotfiles:
|
||||
|
@ -169,6 +193,14 @@ profiles:
|
|||
- f_vconsole.conf
|
||||
- f_20-quiet-printk.conf
|
||||
- f_system.conf
|
||||
- f_99-wireguard.netdev
|
||||
- f_99-wireguard.network
|
||||
- f_01-wired.network
|
||||
- f_02-usb0.link
|
||||
- f_02-usb0.network
|
||||
- f_03-wireless.network
|
||||
- f_04-wlan0.link
|
||||
- f_04-wlan0.network
|
||||
include:
|
||||
- Locale
|
||||
- Pacman
|
||||
|
|
8
root/etc/systemd/network/01-wired.network
Normal file
8
root/etc/systemd/network/01-wired.network
Normal file
|
@ -0,0 +1,8 @@
|
|||
[Match]
|
||||
Name=enp*
|
||||
|
||||
[Network]
|
||||
DHCP=ipv4
|
||||
|
||||
[DHCP]
|
||||
RouteMetric=10
|
6
root/etc/systemd/network/02-usb0.link
Normal file
6
root/etc/systemd/network/02-usb0.link
Normal file
|
@ -0,0 +1,6 @@
|
|||
[Match]
|
||||
MACAddress=00:e0:4c:68:05:90
|
||||
|
||||
[Link]
|
||||
Description=USB to Ethernet Adapter
|
||||
Name=usb0
|
8
root/etc/systemd/network/02-usb0.network
Normal file
8
root/etc/systemd/network/02-usb0.network
Normal file
|
@ -0,0 +1,8 @@
|
|||
[Match]
|
||||
Name=usb0
|
||||
|
||||
[Network]
|
||||
DHCP=ipv4
|
||||
|
||||
[DHCP]
|
||||
RouteMetric=10
|
8
root/etc/systemd/network/03-wireless.network
Normal file
8
root/etc/systemd/network/03-wireless.network
Normal file
|
@ -0,0 +1,8 @@
|
|||
[Match]
|
||||
Name=wlp*
|
||||
|
||||
[Network]
|
||||
DHCP=ipv4
|
||||
|
||||
[DHCP]
|
||||
RouteMetric=20
|
6
root/etc/systemd/network/04-wlan0.link
Normal file
6
root/etc/systemd/network/04-wlan0.link
Normal file
|
@ -0,0 +1,6 @@
|
|||
[Match]
|
||||
MACAddress=dc:fb:48:2b:b7:86
|
||||
|
||||
[Link]
|
||||
Description=Internal wireless adapter
|
||||
Name=wlan0
|
8
root/etc/systemd/network/04-wlan0.network
Normal file
8
root/etc/systemd/network/04-wlan0.network
Normal file
|
@ -0,0 +1,8 @@
|
|||
[Match]
|
||||
Name=wlan0
|
||||
|
||||
[Network]
|
||||
DHCP=ipv4
|
||||
|
||||
[DHCP]
|
||||
RouteMetric=20
|
Loading…
Reference in a new issue