Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Dec 2025 20:51:33 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        A FreeBSD User <freebsd@walstatt-de.de>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: 15-STABLE: dhclient fails on em0 (Lenovo T580)
Message-ID:  <86a500hdbu.fsf@ltc.des.dev>
In-Reply-To: <20251201132649.5aef71e8@thor.sb211.local> (A. FreeBSD User's message of "Mon, 1 Dec 2025 13:26:22 %2B0100")
References:  <20251128082630.3dbea678@hermann> <20251128110534.3987f908@hermann> <86fr9yie5u.fsf@ltc.des.dev> <20251201132649.5aef71e8@thor.sb211.local>

index | next in thread | previous in thread | raw e-mail

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
-- 
Dag-Erling Smørgrav - des@FreeBSD.org


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86a500hdbu.fsf>