I did some digging and it seems that the
r8168-dkms
package in Debian testing is slightly newer, and fixed for the newer kernels. Unfortunately, it's not in
bookworm-backports
, probably because it is in the
non-free
repo.
On my system, I was about to reboot with a pinned 6.2 kernel, and decided to gamble a bit by installing this updated version through dpkg. It does claim a dependency on dkms >= 3.0.11, where we have 3.0.10 on bookworm/stable, but this does not seem to be a real requirement.
Here's what I did:
- wget the package from one of the mirrors (
https://packages.debian.org/trixie/r8168-dkms)
-
dpkg --force-depends -i r8168-dkms_8.052.01-1_all.deb
- proxmox-boot-tool kernel unpin
- reboot
Early to tell yet, but so far so good, running a 6.5 kernel, with a working network (at least, as well as I expect from Realtek

). Very much in the realm of "do this at your own risk" with my method, so if you can tolerate the older kernel, podmox's instructions above are certainly the cleaner method.
EDIT: minor changes, forgot I can't use markdown here
EDIT2: missed more of the markdown