[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ethernet interfaces ignoring 'Connect Automatically' setting on Debian 12 (Bookworm)



On Fri, 4 Apr 2025 00:56:05 +0200 (CEST)
coffeeforblood.pardon117@slmail.me wrote:

> Is it normal for 'systemd-networkd' not to be running by default on a
> fresh installation of Debian 12, as a general rule? I disabled it
> again after troubleshooting this problem.

Yes, it is.

Installation does no setup for systemd-networkd, and running it before
you have done that setup is meaningless. I usually install the Debian
ifupdown package via preseeding so I have networking on a fresh
installation. I then switch to either Network Manager or
systemd-networkd as appropriate. For the latter, I install one or more
files in /etc/systemd/network/, one for each interface. See "man
systemd-networkd" for the gory details.

For what you are doing, I suggest Network Manager and firewalld. They
play well together, and handle connections coming and going well. You
can assign firewall zones to specific interfaces, which helps.

> 'ifconfig' is not installed by default. Is this also normal for a
> fresh installation of Debian 12?

Yes. ifconfig is part of the net-tools package. Or you could use ip.
I've been using ifconfig for more than 25 years, and am slowly learning
ip.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


Reply to: