Hello everyone.
I'll try to be as breif as possible. I'm really sorry if i'm creating a thread for an old and well-discussed issue.
First and foremost, I'm new to Proxmox and Linux environments. It's a single-node homelab made of a Ryzen 3 CPU + A320 chipset, (i know it isn't recommended at all).
I've succesfully installed it, but i'm experiencing the well-known issue with Realtek ethernet controllers: randomly loosing network connection.
My motherboard has an integrated Realtek RTL8111H NIC, running r8169 driver under Proxmox 8.1 with kernel 6.5.11-6-pve (x86_64)
I searched as much as i could, and tried to fix it by my own, but now i feel i'm stucked. My knowledge limitations are encouraging me to ask for help.
I've read somewhere that Realtek r8168/9 drivers had always been an issue for Linux kernels, and the upgrade from pve 7.4 to 8 open it again..
What i've tried to do is to install the r8168-dkms driver from debian bookworm non-free repo, without success (pve-headers previously installed).
No matter what i do, I (always) get this error:
FWIW each time i try to install it, i completely loose network connection. If i do
Thanks in advance
I'll try to be as breif as possible. I'm really sorry if i'm creating a thread for an old and well-discussed issue.
First and foremost, I'm new to Proxmox and Linux environments. It's a single-node homelab made of a Ryzen 3 CPU + A320 chipset, (i know it isn't recommended at all).
I've succesfully installed it, but i'm experiencing the well-known issue with Realtek ethernet controllers: randomly loosing network connection.
My motherboard has an integrated Realtek RTL8111H NIC, running r8169 driver under Proxmox 8.1 with kernel 6.5.11-6-pve (x86_64)
I searched as much as i could, and tried to fix it by my own, but now i feel i'm stucked. My knowledge limitations are encouraging me to ask for help.
I've read somewhere that Realtek r8168/9 drivers had always been an issue for Linux kernels, and the upgrade from pve 7.4 to 8 open it again..
What i've tried to do is to install the r8168-dkms driver from debian bookworm non-free repo, without success (pve-headers previously installed).
No matter what i do, I (always) get this error:
Code:
Building initial module for 6.5.1-6-pve
Error! Bad return status for module build on kernel: 6.5.1-6-pve (x86_64)
Consult /var/lib/dkms/r8168/8.051.02/build/make.log for more information.
dpkg: error processing package r8168-dkms (--configure):
installed r8168-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.5.11-6-pve
Running hook script 'zz-proxmox-boot'
Re-executing 'etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
Errors were encountered while processing:
r8168-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
FWIW each time i try to install it, i completely loose network connection. If i do
lspci -vs 1b:00.0
, it says "Kernel driver in use: r8169" and "Kernel modules: r8168". Even sometimes the "kerner driver in use" disappears.Thanks in advance