From nobody Thu Dec 1 01:10:16 2022 X-Original-To: questions@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 4NMyg26Gftz4jc0t for ; Thu, 1 Dec 2022 01:10:22 +0000 (UTC) (envelope-from balrog7777@l37.st) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (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 4NMyg15jc8z3LYh for ; Thu, 1 Dec 2022 01:10:21 +0000 (UTC) (envelope-from balrog7777@l37.st) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=l37.st header.s=fm1 header.b="V EM4pm+"; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=Z5gluTmd; spf=pass (mx1.freebsd.org: domain of balrog7777@l37.st designates 64.147.123.24 as permitted sender) smtp.mailfrom=balrog7777@l37.st; dmarc=none Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 1A884320090B for ; Wed, 30 Nov 2022 20:10:20 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 30 Nov 2022 20:10:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=l37.st; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1669857019; x= 1669943419; bh=WAhiPhZvSWxyVaRTkta6oh5HEN3dSRUjdpWywSyWBhI=; b=V EM4pm+KpybnEsgs1Yqa7UHEpuBf2Hw/tN/rS4iTFrS2qUymyguKQgiSdMloFKMxp cXVwJS0K2T6WMFH1lzueWf+s1Z5usXzhP327w0kDjPK3kAERBYhU2hv+q820a3Nv b6OqGipwVSMh6jAHBRfWbIpXkCpe5JsJ6FKo4rQYSXRsBvgwTmCRVh8w/ezTook7 xFG1RX4YLtPHl3oTdIqtnyip7PE0dOVA3Plae+x54yrSMym93fcgk8NYbqddDb8e myD8qETbVNuG/qGbbdd2hWJFn0zYUVXCMA/RdCZ9AQO7SIUN3jr2iewerMvydSqA ZLcpzlntFMoiPdXcaaZbQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1669857019; x=1669943419; bh=W AhiPhZvSWxyVaRTkta6oh5HEN3dSRUjdpWywSyWBhI=; b=Z5gluTmdVk0w4qO3i ssXf8bIXliq1VvQ8h3FW/OeYu41VvKLUeRJuPBZan3sM3hY9FxmKTh6XCfwXYOzQ KQzIs7tzwCbkAHMYbl6hnR8tni/ypObZuG0dP8O8q1G3StSu8JjWyzo9v/PV6HMy yPZ10B39hlQaoD/3nYV+E20NIVSy3GOIdQEo4gjvKioA0BBGY5KMGJKkb2cNpynv yT+C4Oi/S9nmi0+3L2by/gb4eIqb9EIsdp8jRfgaMiqtoWkhV54utefF2lXNegvg HyS2aWLgtiLeLzTMTN8koiiohkOhx1ggxPG1RJV7Jz9vxiI3DShgq3v6FCsYYtaQ z8EvQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrtdeggdeffecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffoffkjghfgggtgfesthhqmh dtredtjeenucfhrhhomheprfgvthgvrhcuifhisggsshcuoegsrghlrhhoghejjeejjees lhefjedrshhtqeenucggtffrrghtthgvrhhnpeefieetfeefieetueefheetieeitdegje egueeuheeiieduffeiteekgedtleefieenucffohhmrghinhepfhhrvggvsghsugdrohhr ghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsrg hlrhhoghejjeejjeeslhefjedrshht X-ME-Proxy: Feedback-ID: id3394665:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 30 Nov 2022 20:10:19 -0500 (EST) From: Peter Gibbs To: questions@freebsd.org Subject: Re: DHCP stopped working on RTL8168/8111 Date: Thu, 01 Dec 2022 02:10:16 +0100 X-Mailer: MailMate (1.14r5895) Message-ID: In-Reply-To: <8c6728f5-5b1c-547d-5c10-0e784a897983@pp.dyndns.biz> References: <54512AE0-6DF7-4653-9FC4-FE2272A721C8@l37.st> <8c6728f5-5b1c-547d-5c10-0e784a897983@pp.dyndns.biz> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-4.60 / 15.00]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[l37.st:s=fm1,messagingengine.com:s=fm1]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.24:c]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.24:from]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[64.147.123.24:from]; DMARC_NA(0.00)[l37.st]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[l37.st:+,messagingengine.com:+]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4NMyg15jc8z3LYh X-Spamd-Bar: ---- X-ThisMailContainsUnwantedMimeParts: N On 30 Nov 2022, at 23:43, Morgan Wesstr=C3=B6m wrote: > On 2022-11-30 23:14, Peter Gibbs wrote: > It seems you're hitting this old bug which is still open after 10 years= : > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D166724 > > The bug states there's a Realtek driver in Ports that doesn't experienc= e this issue but I have never tested it. Installing this driver was a bit of a chicken-and-egg problem, since ports and packages require a working internet connection. However, I=E2=80= =99ve managed. List of steps I took, in case anyone has a similar issue in the future: 1. Downloaded realtek-re-kmod-197.00.pkg[1], using a web browser on a different computer. 2. Extracted files from realtek-re-kmod-197.00.pkg using: tar -C realtek -xf realtek-re-kmod-197.00.pkg 3. Copied the realtek directory to a USB drive. 4. Mounted the USB drive on the FreeBSD machine. 5. Copied realtek/boot/modules/if_re.ko to /boot/modules/if_re_own.ko. 6. Added the following 2 lines to /boot/loader.conf: if_re_load=3D"YES" if_re_name=3D"/boot/modules/if_re_own.ko" 7. Rebooted the machine. At that point the NIC started working (along with DHCP). To tidy this temporary hack up: 8. Installed the proper driver package with: pkg install realtek-re-kmod 9. Updated the if_re_name line in /boot/loader.conf to: if_re_name=3D"/boot/modules/if_re.ko" 10. Rebooted the machine. 11. Checked that everything works. 12. Deleted /boot/modules/if_re_own.ko. Thank you Morgan for the help! Peter [1]: