Files
dotfiles/.local/bin/setup/fixrealtek
2021-10-03 11:22:14 +01:00

13 lines
355 B
Plaintext
Executable File

sudo tee /etc/modprobes.d/r8169.conf <<HRD
# Do not load the r819 realtek module to force it to use r8168 instead for
# better reliability
# https://wiki.archlinux.org/title/Network_configuration/Ethernet#Troubleshooting
blacklist r8169
HRD
# Rebuild kernel modules
sudo mkinitcpio -p linux
echo "Please restart your computer to update kernel modules"