Created
          December 18, 2024 21:42 
        
      - 
      
- 
        Save MadDirtMonkey/d66ef97f77f6d97e1d4c29c78fda5066 to your computer and use it in GitHub Desktop. 
    Installing Realtek RTL8125 drivers on Proxmox
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # 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