Files
dotfiles/.local/bin/setup/fixrealtek

13 lines
355 B
Plaintext
Raw Normal View History

2021-10-02 20:01:56 +01:00
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
2021-10-03 11:22:14 +01:00
# https://wiki.archlinux.org/title/Network_configuration/Ethernet#Troubleshooting
2021-10-02 20:01:56 +01:00
blacklist r8169
HRD
# Rebuild kernel modules
sudo mkinitcpio -p linux
echo "Please restart your computer to update kernel modules"