Skip to content

Instantly share code, notes, and snippets.

@nekoya
Created December 7, 2012 09:24
Show Gist options
  • Save nekoya/4232068 to your computer and use it in GitHub Desktop.
Save nekoya/4232068 to your computer and use it in GitHub Desktop.
Setup r8168 NIC driver
#!/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