gistfile1.txt
· 352 B · Text
Неформатований
# /etc/systemd/network/10-wired1.network
[Match]
Name=enp5s0
[Link]
RequiredForOnline=routable
[Network]
DHCP=yes
# /etc/systemd/network/20-wired2.network
[Match]
Name=eno1
[Link]
RequiredForOnline=routable
[Network]
DHCP=yes
# /etc/systemd/network/30-wireless.network
[Match]
Name=enp5s0
[Link]
RequiredForOnline=routable
[Network]
DHCP=yes
| 1 | # /etc/systemd/network/10-wired1.network |
| 2 | |
| 3 | [Match] |
| 4 | Name=enp5s0 |
| 5 | |
| 6 | [Link] |
| 7 | RequiredForOnline=routable |
| 8 | |
| 9 | [Network] |
| 10 | DHCP=yes |
| 11 | |
| 12 | # /etc/systemd/network/20-wired2.network |
| 13 | |
| 14 | [Match] |
| 15 | Name=eno1 |
| 16 | |
| 17 | [Link] |
| 18 | RequiredForOnline=routable |
| 19 | |
| 20 | [Network] |
| 21 | DHCP=yes |
| 22 | |
| 23 | # /etc/systemd/network/30-wireless.network |
| 24 | |
| 25 | [Match] |
| 26 | Name=enp5s0 |
| 27 | |
| 28 | [Link] |
| 29 | RequiredForOnline=routable |
| 30 | |
| 31 | [Network] |
| 32 | DHCP=yes |