Skip to content

Instantly share code, notes, and snippets.

@MadDirtMonkey
Created December 18, 2024 21:42
Show Gist options
  • Save MadDirtMonkey/d66ef97f77f6d97e1d4c29c78fda5066 to your computer and use it in GitHub Desktop.
Save MadDirtMonkey/d66ef97f77f6d97e1d4c29c78fda5066 to your computer and use it in GitHub Desktop.
Installing Realtek RTL8125 drivers on Proxmox
# Install build dependencies + appropriate linux-headers package
apt install -y dkms build-essential pve-headers-$(uname -r)
# Download the latest r8125 dkms package
curl -s https://api.github.com/repos/awesometic/realtek-r8125-dkms/releases/latest |
grep "browser_download_url.*amd64.deb" |
cut -d : -f 2,3 |
tr -d \" |
wget -i -
# Install it
dpkg -i realtek-r8125-dkms*.deb
# Blacklist the old driver
echo "blacklist r8169" > /etc/modprobe.d/blacklist-r8169.conf
# Update initramfs
update-initramfs -u
echo "Finished, please reboot now!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment