Created
December 7, 2012 09:24
-
-
Save nekoya/4232068 to your computer and use it in GitHub Desktop.
Setup r8168 NIC driver
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
#!/bin/bash | |
cd /usr/local/src | |
wget http://r8168.googlecode.com/files/r8168-8.032.00.tar.bz2 | |
tar -jxvf r8168-8.032.00.tar.bz2 | |
cd r8168-8.032.00 | |
make clean modules | |
make modules | |
make install | |
/sbin/depmod -a | |
/sbin/modprobe r8168 | |
sed -i s/r8169/r8168/ /etc/modprobe.conf | |
echo 'Done.' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment