From nobody Wed Dec 03 10:34:59 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 4dLvDV5y1jz6J6qr for ; Wed, 03 Dec 2025 10:35:38 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp052.goneo.de (smtp052.goneo.de [85.220.129.60]) (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 4dLvDV2bVpz3qk7; Wed, 03 Dec 2025 10:35:38 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; none Received: from hub2.goneo.de (hub2.goneo.de [IPv6:2001:1640:5::8:53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp5.goneo.de (Postfix) with ESMTPS id CBE3D240DA4; Wed, 3 Dec 2025 11:35:35 +0100 (CET) Received: from hub2.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPS id 3D9C52402E8; Wed, 3 Dec 2025 11:35:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1764758134; 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=wV4kA5DeUmu/GJ68kqGCHFSTBhR006Ge7yKNSpMggL8=; b=QKg4sUF8iF3W+wCReTzo9bQeeQ96s0S3VmzFFHxqi/2P/CigGrJv75Ka0U8OWmgSubh6Kg ARPH4rU63MkqKCc/P/bjexO7xFu3pfAggedUU9zzEBXr31GbWaJUTMowcd5xiEFx6aeGed fOHogPySh6k5PQeTgadTO8BBwukTNOoT3LHVG1RKaBX3yckmRSCmUeht7bf7VQCgcenNuI fdIuOpVSxVozJ0qlo3fsqc2NzPNHz388Ml6M5iqJ6jtQtp6cswQwZM4GYmCgazJw0Pfz9k mruJtlf0erYqadMdiqmfUB0fms/xdbIoHHHx++okIqhGucWNcYR2PFFY8pdnvQ== Received: from thor.sb211.local (dynamic-2a02-3100-2e69-c402-021b-21ff-fe4e-8f4d.310.pool.telefonica.de [IPv6:2a02:3100:2e69:c402:21b:21ff:fe4e:8f4d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPSA id 0714C24021E; Wed, 3 Dec 2025 11:35:33 +0100 (CET) Date: Wed, 3 Dec 2025 11:34:59 +0100 From: A FreeBSD User To: Ronald Klop Cc: FreeBSD CURRENT , Dag-Erling =?UTF-8?B?U23DuHJncmF2?= Subject: Re: 15-STABLE: dhclient fails on em0 (Lenovo T580) Message-ID: <20251203113526.398dfc6c@thor.sb211.local> In-Reply-To: <1585113262.3581.1764757070010@localhost> 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> <1585113262.3581.1764757070010@localhost> X-Mailer: Claws Mail 3.21.0 (GTK+ 2.24.33; amd64-portbld-freebsd16.0) 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/signed; boundary="Sig_/Mf8r8I=2PtnefUxAfJd4TIt"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Rspamd-UID: 42b470 X-Rspamd-UID: 406b78 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: 4dLvDV2bVpz3qk7 --Sig_/Mf8r8I=2PtnefUxAfJd4TIt Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am Tage des Herren Wed, 3 Dec 2025 11:17:50 +0100 (CET) Ronald Klop schrieb: > Hi, >=20 > Did you copy /etc/defaults/rc.conf to /etc/rc.conf? Yes, I do, since I change things on an experimental basis quite often. That never induced any issue in the last decades using this kind of approac= h. Each variable set in defaults/rc.conf should be cleanly overriden via rc.conf and rc.conf= .local, shouldn't it? The only possible issue I could imagine is the order variables appear a= nd being processed by rc.subr and siblings ... or am I wrong? Kind regards, oh >=20 > AFAIK, the idea is to only override settings from /etc/defaults/rc.conf i= n /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. >=20 > Regards, > Ronald. >=20 > =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: =20 > > > > 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 th= at > > > the firewall rules themselves are not the issue. I therefore assumed > > > that the problem was that dhclient was trying to acquire a lease befo= re > > > the firewall was configured. Switching default_to_accept on should h= ave > > > 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 bo= ot. > > > > > > 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 > >=20 > > Having had a feeling that statically compiling in FIREWALL (ipw) suppor= t 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. > >=20 > > Attached you'll find the requested files. > >=20 > > A side note: I do etcupdate on a regular basis on all of the maintained= boxes. > >=20 > > Kind regards, > >=20 > > oh > >=20 > >=20 > >=20 > > =20 >=20 > =20 --=20 A FreeBSD user --Sig_/Mf8r8I=2PtnefUxAfJd4TIt Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCaTASbgAKCRCxzvs8Oqok rwtwAQDX1vZUGTyiAa+BvT62EydZrRBKvEglfxrsqJljT084hQD/X0+tYeVGdXYj IgcFgFWYUAA7/MuRpDIbqYwtgv/mXgU= =0Cu/ -----END PGP SIGNATURE----- --Sig_/Mf8r8I=2PtnefUxAfJd4TIt--