Replace Network Manager with dhcpd on headless system - any issues?

Chris Green cl at isbd.net
Sun Feb 13 11:54:46 UTC 2022


On Sun, Feb 13, 2022 at 02:51:22AM +0100, Oliver Grawert wrote:
> hi,
> Am Samstag, dem 12.02.2022 um 18:10 +0000 schrieb Chris Green:
> > I have an xubuntu 21.10 system that is going to become headless.
> > 
> > While I *could* leave Network Manager installed it seems to me that
> > it's overkill as the system has only a single hard-wired ethernet
> > interface, no WiFi.
> > 
> ubuntu (and all derivatives) use netplan to configure networking
> (systmd-resolved, systemd-networkd if no network-manager is installed)
> on the low level ... after you removed network-manager and its
> dependencies just follow the examples on:
> 
> https://netplan.io/examples/
> 
Yes, I just dug my way down to netplan, it actually looks like quite a
sensible approach to network configuration.


> (though i'd use ubuntu-server (or UbuntuCore, depending on the use
> case) from the start for a headless system. it is way more work to
> recursively remove the desktops and their dependencies than simply
> using a server install)
> 
Yes, I agree.  However this headless system is going to back up
various services on my desktop system so I want it to be as similar as
possible.

I may end up leaving Network Manager in charge as it's *reasonably*
straightforward and I know how it works at present.  The only issue is
how to get to manage it remotely.  I guess I can just install xubuntu
with a real screen on the system and then just work remotely.  The
network interface is never going to change.

-- 
Chris Green




More information about the ubuntu-users mailing list