Skip to content

Instantly share code, notes, and snippets.

@azsde
Created October 30, 2023 15:54
Show Gist options
  • Save azsde/e620cfc7460123d2b394d005ecdd1754 to your computer and use it in GitHub Desktop.
Save azsde/e620cfc7460123d2b394d005ecdd1754 to your computer and use it in GitHub Desktop.
Fix R8168/R8169 ethernet issues on Proxmox 8.0
Fix N95 Ethernet issues on Proxmox 8.0
Step 1 - Edit /etc/apt/sources.list
- Add "non-free" at the end to the first two lines
- Add proxmox repository:
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
Step 2 - Apt update
apt update
Step 3 - Install pve-headers
apt install pve-headers
Step 4 - Install r8168-dkms
apt install r8168-dkms
Step 5 - Update kernel boot command to disable some options in r8168 driver:
- Edit /etc/default/grub
- Add : "r8168.aspm=0 r8168.eee_enable=0 pcie_aspm=off loglevel=3" to the end of GRUB_CMDLINE_LINUX_DEFAULT entry
- Then update your grub
update-grub
- Reboot
Step 6 - Once rebooted, edit /etc/network/interfaces and set the correct inteface in the bridge option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment