Re: 15-STABLE: dhclient fails on em0 (Lenovo T580)
Date: Wed, 03 Dec 2025 10:17:50 UTC
Hi, Did you copy /etc/defaults/rc.conf to /etc/rc.conf? AFAIK, the idea is to only override settings from /etc/defaults/rc.conf in /etc/rc.conf. My rc.conf is usually just 10 or 20 lines. Some network config and enabling some services. Like what you have in /etc/rc.conf.local. Regards, Ronald. Van: FreeBSD User <freebsd@walstatt-de.de> Datum: woensdag, 3 december 2025 10:15 Aan: "Dag-Erling Smørgrav" <des@FreeBSD.org> CC: FreeBSD CURRENT <freebsd-current@freebsd.org> Onderwerp: Re: 15-STABLE: dhclient fails on em0 (Lenovo T580) > > On Tue, 02 Dec 2025 20:51:33 +0100 > Dag-Erling Smørgrav <des@FreeBSD.org> wrote: > > > A FreeBSD User <freebsd@walstatt-de.de> writes: > > > Dag-Erling Smørgrav <des@FreeBSD.org> writes: > > > > As a workaround, add this to /boot/loader.conf: > > > > > > > > net.inet.ip.fw.default_to_accept="1" > > > the above "trick" doesn't help. > > > > This is concerning. > > > > The fact that `dhclient em0` works after the firewall is up proves that > > the firewall rules themselves are not the issue. I therefore assumed > > that the problem was that dhclient was trying to acquire a lease before > > the firewall was configured. Switching default_to_accept on should have > > made that possible. The fact that it doesn't means the firewall isn't > > to blame at all. Something else is causing dhclient not to run at boot. > > > > Could you please provide the output from the following command: > > > > grep -r '^[^#]' /etc/rc.conf* > > > > Could you please also provide a log of the boot messages, if possible? > > > > DES > > Having had a feeling that statically compiling in FIREWALL (ipw) support into > my kernel, I tested by excluding the appropritae lines and adding the > /boot/loader.conf.local line again allow packets by default. Result is the very > same. > > Attached you'll find the requested files. > > A side note: I do etcupdate on a regular basis on all of the maintained boxes. > > Kind regards, > > oh > > > >