My Lan network starts in the Down state. It only goes up after I plugin a cable.
This stops another service(sshd) from starting.
cat /etc/systemd/network/20-wired.network
[Match]
Name=enp8s0
[Link]
RequiredForOnline=no
[Network]
Address=20.21.22.1/24
DHCPServer=true
IPMasquerade=ipv4
[DHCPServer]
PoolOffset=100
PoolSize=20
EmitDNS=yes
networkctl:
2 enp8s0 ether no-carrier configuring
journalctl:
Sep 05 12:50:00 archlinux2 systemd-networkd[463]: enp8s0: Reconfiguring with /etc/systemd/network/20-wired.network.
Sep 05 12:50:00 archlinux2 kernel: r8169 0000:08:00.0 enp8s0: Link is Down
Sep 03 18:45:22 archlinux2 kernel: r8169 0000:08:00.0 enp8s0: Link is Down
Sep 03 18:45:22 archlinux2 systemd-networkd[463]: enp8s0: Link UP
thanks
This stops another service(sshd) from starting.
cat /etc/systemd/network/20-wired.network
[Match]
Name=enp8s0
[Link]
RequiredForOnline=no
[Network]
Address=20.21.22.1/24
DHCPServer=true
IPMasquerade=ipv4
[DHCPServer]
PoolOffset=100
PoolSize=20
EmitDNS=yes
networkctl:
2 enp8s0 ether no-carrier configuring
journalctl:
Sep 05 12:50:00 archlinux2 systemd-networkd[463]: enp8s0: Reconfiguring with /etc/systemd/network/20-wired.network.
Sep 05 12:50:00 archlinux2 kernel: r8169 0000:08:00.0 enp8s0: Link is Down
Sep 03 18:45:22 archlinux2 kernel: r8169 0000:08:00.0 enp8s0: Link is Down
Sep 03 18:45:22 archlinux2 systemd-networkd[463]: enp8s0: Link UP
thanks