Getting networkd and resolved to work?

asked 2019-04-17 18:52:40 -0500

updated 2019-04-21 06:06:37 -0500

I'm on a static IP and RAM constrained on a VPS, running Fedora 29, I tried disabling NetworkManager and using systemd-networkd and systemd-resolved but they both kept failing to start, the configuration was the EXACT same as the Arch system I was using before. I can't even figure out the error as journalctl isn't even giving me anything and the error is very cryptic when I check the status.

I've tried to RTFM but I can't even begin to pin point where the problem is.

Edit: The problem seems to have just gone away when I retried now, same config and settings 4 days later.

edit retag flag offensive close merge delete



I've installed systemd-networkd and systemd-resolved (without any problem) on centos7 couple of years ago, and they work for me.

I can try to help you, but can make no guarantees ))

I think we'll have to start somewhere, and I afraid the too cryptic error is all we have. Post it here please (you can edit your question).

Also please post the output of sudo journalctl -b0 -u systemd-networkd.

We'll try to understand, what's wrong with networkd first.

Night Romantic gravatar imageNight Romantic ( 2019-04-18 10:21:09 -0500 )edit

Make sure you use name of network interface as Fedora sees it, they can be different in Arch and Fedora.

Also you can look through this Fedora Magazine article in part about configuring networkd.

Night Romantic gravatar imageNight Romantic ( 2019-04-18 10:28:23 -0500 )edit

@Night Romantic I didn't get alerts to comments sorry for the lateness I tried again today and it worked!? I don't understand why :/

RapidTransit gravatar imageRapidTransit ( 2019-04-21 05:59:51 -0500 )edit

Maybe you just needed to reboot your system, or restart relevant services, or something. Maybe make systemd read new unit files with network configuration (I don't remember the command from the top of my head).

Good that it works )

Night Romantic gravatar imageNight Romantic ( 2019-04-22 01:41:07 -0500 )edit