Fix Realtek RTL8111/8168 ethernet adapter support for ASUS TUF Gaming laptops (#4497)

This commit is contained in:
Jamoladdin
2026-02-04 14:18:56 +05:00
committed by GitHub
parent 4b3e21445b
commit cf72c02ea5
4 changed files with 19 additions and 0 deletions

View File

@@ -37,3 +37,4 @@ run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-t2.sh
run_logged $OMARCHY_INSTALL/config/hardware/fix-surface-keyboard.sh
run_logged $OMARCHY_INSTALL/config/hardware/fix-asus-rog-audio-mixer.sh
run_logged $OMARCHY_INSTALL/config/hardware/fix-asus-rog-mic.sh
run_logged $OMARCHY_INSTALL/config/hardware/fix-realtek-r8168.sh

View File

@@ -0,0 +1,11 @@
# Install r8168 driver for Realtek RTL8111/8168/8211/8411 ethernet adapters
# Common in ASUS TUF Gaming laptops and other modern systems
if lspci | grep -i "RTL8111\|RTL8168\|RTL8211\|RTL8411"; then
omarchy-pkg-add linux-headers r8168-lts
# Blacklist problematic r8169 driver
echo "blacklist r8169" | sudo tee /etc/modprobe.d/blacklist-r8169.conf
# Regenerate initramfs to ensure r8168 loads on boot
sudo mkinitcpio -P
fi