我的systemd-networkd-wait-online.service
失败了。当我看一眼时:
% networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 eth0 ether routable configuring
% ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 0a:e9:d9:16:22:4e brd ff:ff:ff:ff:ff:ff
inet xx.xx.xx.xx/24 brd xx.xx.xx.255 scope global dynamic eth0
valid_lft 2794sec preferred_lft 2794sec
它似乎卡在了那个状态,configuring
但一切似乎都运行正常。这个状态是什么意思?我该如何摆脱它?
已添加:内容/etc/systemd/network/50-ubos-eth0.network
:
[Match]
Name=eth0
[Network]
DHCP=yes