From nobody Wed Dec 3 10:17:50 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dLtr74bD7z6J584 for ; Wed, 03 Dec 2025 10:17:59 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp-relay-int-backup.realworks.nl (smtp-relay-int-backup.realworks.nl [87.255.56.188]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4dLtr71p9Xz3n6n; Wed, 03 Dec 2025 10:17:58 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Authentication-Results: mx1.freebsd.org; none Received: from smtp-relay-int-backup.realworks.nl (crmpreview5.colo2.realworks.nl [10.2.52.35]) by mailrelayint1.colo2.realworks.nl (Postfix) with ESMTP id 4dLtqy3PNgzbm; Wed, 3 Dec 2025 11:17:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1764757070; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WCSBu+oaZqvjraNfjsS6ybAw+e/pe5/8Yfqr4t5aEU8=; b=OFmDeok6lDLa0B/jo3u9zfuu/FF66mQc9/8gA+6FyyxWAk05PaQ+yFRXXEDm8aNDrWkwFF X4VAoQCe5kzR6y5QAdi3mFPkCS19HuiTCHpL8EcuXmSl1gZ6rwvhRDsGdKd0gK6/xaMEHy FxTOreeCC1InWhjCu9wpytXni3PaBcKXhzKuUAijSHMGIKqe0Tmq1J+wO8O1iK3/a+cBtn 1bYX2iR5DyfN8FqDeDpg6WpmjxMZurKz0q1i78sOxQk/4ob4AVu0vSj4yc3eg3myL715Ty rBq5z/sKo1pljTBhjqLPQyFsbMxAg9sttaRCwIBVLQwuzFBJ4n6GTyzaQo6h9Q== Received: from crmpreview5.colo2.realworks.nl (localhost [127.0.0.1]) by crmpreview5.colo2.realworks.nl (Postfix) with ESMTP id 2F210C04C5; Wed, 3 Dec 2025 11:17:50 +0100 (CET) Date: Wed, 3 Dec 2025 11:17:50 +0100 (CET) From: Ronald Klop To: FreeBSD User Cc: FreeBSD CURRENT , =?UTF-8?Q?Dag-Erling_Sm=C3=B8rgrav?= Message-ID: <1585113262.3581.1764757070010@localhost> In-Reply-To: <20251203101500.36545493@hermann> References: <20251128082630.3dbea678@hermann> <20251128110534.3987f908@hermann> <86fr9yie5u.fsf@ltc.des.dev> <20251201132649.5aef71e8@thor.sb211.local> <86a500hdbu.fsf@ltc.des.dev> <20251203101500.36545493@hermann> Subject: Re: 15-STABLE: dhclient fails on em0 (Lenovo T580) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3580_1726522567.1764757070004" X-Mailer: Realworks (775.25) X-Originating-Host: from (89-20-164-210.static.ef-service.nl [89.20.164.210]) by crmpreview5.colo2.realworks.nl [10.2.52.35] with HTTP; Wed, 03 Dec 2025 11:17:50 +0100 Importance: Normal X-Priority: 3 (Normal) X-Originating-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:145.0) Gecko/20100101 Firefox/145.0 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dLtr71p9Xz3n6n ------=_Part_3580_1726522567.1764757070004 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable 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 confi= g and enabling some services. Like what you have in /etc/rc.conf.local. Regards, Ronald. =20 Van: FreeBSD User Datum: woensdag, 3 december 2025 10:15 Aan: "Dag-Erling Sm=C3=B8rgrav" CC: FreeBSD CURRENT Onderwerp: Re: 15-STABLE: dhclient fails on em0 (Lenovo T580) >=20 > On Tue, 02 Dec 2025 20:51:33 +0100 > Dag-Erling Sm=C3=B8rgrav wrote: >=20 > > A FreeBSD User writes: > > > Dag-Erling Sm=C3=B8rgrav writes: =20 > > > > As a workaround, add this to /boot/loader.conf: > > > > > > > > net.inet.ip.fw.default_to_accept=3D"1" =20 > > > the above "trick" doesn't help. =20 > > > > 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 hav= e > > 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 >=20 > 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 th= e very > same. >=20 > Attached you'll find the requested files. >=20 > A side note: I do etcupdate on a regular basis on all of the maintained b= oxes. >=20 > Kind regards, >=20 > oh >=20 >=20 >=20 > =20 =20 ------=_Part_3580_1726522567.1764757070004 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 confi= g 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=C3=B8rgrav" <des@FreeBSD.org> CC: FreeBSD CURRENT <freebsd-current@freebsd.org> Onderwerp: Re: 15-STABLE: dhclient fails on em0 (Lenovo T5= 80)

On Tue, 02 Dec 2025 20:51:3= 3 +0100
Dag-Erling Sm=C3=B8rgrav <des@FreeBSD.org> wrote:

> A FreeBSD User <freebsd@walstatt-de.de> writes:
> > Dag-Erling Sm=C3=B8rgrav <des@FreeBSD.org> writes:   > > > As a workaround, add this to /boot/loader.conf:
> > >
> > >     net.inet.ip.fw.default_to_accept=3D"= 1"  
> > the above "trick" doesn't help.  
>
> This is concerning.
>
> The fact that `dhclient em0` works after the firewall is up proves tha= t
> the firewall rules themselves are not the issue.  I therefore ass= umed
> that the problem was that dhclient was trying to acquire a lease befor= e
> the firewall was configured.  Switching default_to_accept on shou= ld 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 a= t 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 in= to
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 box= es.

Kind regards,

oh

 

  ------=_Part_3580_1726522567.1764757070004--