Skip to content

Instantly share code, notes, and snippets.

@kdmukai
Created September 3, 2023 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kdmukai/5f7603c39ed83dafb47c5e2f403d6897 to your computer and use it in GitHub Desktop.
Save kdmukai/5f7603c39ed83dafb47c5e2f403d6897 to your computer and use it in GitHub Desktop.
Fix Realtek r8111 / r8169 NIC driver in Proxmox 8.x host

Overview

Have to install r8168 driver and remove r8169.

Update package sources:

/etc/apt/sources.list

deb http://ftp.us.debian.org/debian bookworm main contrib non-free non-free-firmware

deb http://ftp.us.debian.org/debian bookworm-updates main contrib

# Proxmox VE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

# security updates
deb http://security.debian.org bookworm-security main contrib

/etc/apt/sources.list.d/pve-enterprise.list

#deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise

/etc/apt/sources.list.d/ceph.list

#deb https://enterprise.proxmox.com/debian/ceph-quincy bookworm enterprise
deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription

Read from updated sources

apt update

Install dependencies

apt install pve-headers -y

Install the driver

apt install r8168-dkms -y

Remove the old driver and restart

modprobe -r -v r8169 && reboot now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment