Post by Tom Gundersen
I just pushed the last couple of patches to enable DHCPv4 support in
networkd. Testing and feedback would be greatly appreciated.
It is still very basic, but I'm personally using it full-time on my
laptop (replacing NetworkManager/ConnMan), so it should be complete
enough to at least start testing. If you want to use it with wifi (as
your device and configure that for your networks manually.
I have a wired e1000e connection to a DSL router.
I removed NetworkManager and added that:
$ cat /etc/systemd/network/wired.network
$ journalctl -b -o short-monotonic -u systemd-networkd.service
[ 1.318123] lon systemd: Started Network Service.
[ 3.073097] lon systemd-networkd: Network '(null)' being
applied to link 'enp0s25'
[ 3.301739] lon systemd-networkd: Interface 'enp0s25' is up
[ 4.815708] lon systemd-networkd: Interface 'enp0s25' is connected
[ 8.943769] lon systemd-networkd: Received config over DHCPv4
[ 8.952326] lon systemd-networkd: Addresses set for link 'enp0s25'
[ 8.952614] lon systemd-networkd: Routes set for link 'enp0s25'
[ 8.952957] lon systemd-networkd: Link 'enp0s25' configured
Any idea why it takes 4 seconds? Do you have any numbers for your setup?
And there is a "(null)" in the log output.