Date: Thu, 01 Dec 2022 02:10:16 +0100 From: Peter Gibbs <balrog7777@l37.st> To: questions@freebsd.org Subject: Re: DHCP stopped working on RTL8168/8111 Message-ID: <FB19025F-9451-4360-8A83-3665791836CA@l37.st> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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]: <http://pkg.freebsd.org/FreeBSD:13:amd64/quarterly/All/realtek-re-km= od-197.00.pkg>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FB19025F-9451-4360-8A83-3665791836CA>