Last active
August 29, 2015 14:17
-
-
Save nocturnaltortoise/9c1b741d93b10aa4a19c to your computer and use it in GitHub Desktop.
Ethernet Driver Reinstaller for Realtek rtl8168
This file contains 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
#!/bin/sh | |
(( EUID != 0 )) && exec sudo -- "$0" "$@" | |
cd /opt/r8168-8.039.00/ | |
make clean modules | |
make install | |
depmod -a | |
insmod ./src/r8168.ko | |
echo "r8168" >> /etc/modules |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: This is a reinstaller - you'll need to download the right driver for the ethernet card, and extract it to /opt.