cd ~
wget http://victor2012.info/r8168-8.031.00.tar.bz2
tar xvf r8168-8.031.00.tar.bz2
cd r8168*
make
sudo make install
sudo depmod -a
sudo modprobe r8168
ifconfig -a
?
root@Server:/home/administrator# cd ~
root@Server:~# wget
http://victor2012.info/r8168-8.031.00.tar.bz2--2013-01-11 14:34:00--
http://victor2012.info/r8168-8.031.00.tar.bz2Resolving victor2012.info (victor2012.info)... 197.221.14.35
Connecting to victor2012.info (victor2012.info)|197.221.14.35|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 68024 (66K) [application/octet-stream]
Saving to: `r8168-8.031.00.tar.bz2'
100%[================================>] 68 024 114K/s in 0,6s
2013-01-11 14:34:02 (114 KB/s) - `r8168-8.031.00.tar.bz2' saved [68024/68024]
root@Server:~# tar xvf r8168-8.031.00.tar.bz2
r8168-8.031.00/
r8168-8.031.00/src/
r8168-8.031.00/src/r8168_n.c
r8168-8.031.00/src/rtl_eeprom.h
r8168-8.031.00/src/Makefile_linux24x
r8168-8.031.00/src/r8168_asf.h
r8168-8.031.00/src/rtl_eeprom.c
r8168-8.031.00/src/rtltool.c
r8168-8.031.00/src/r8168.h
r8168-8.031.00/src/Makefile
r8168-8.031.00/src/r8168_asf.c
r8168-8.031.00/src/rtltool.h
r8168-8.031.00/Makefile
r8168-8.031.00/autorun.sh
r8168-8.031.00/README
root@Server:~# cd r8168*
root@Server:~/r8168-8.031.00# make
make -C src/ clean
make[1]: Entering directory `/root/r8168-8.031.00/src'
make -C /lib/modules/3.2.0-35-generic/build SUBDIRS=/root/r8168-8.031.00/src clean
make[2]: Entering directory `/usr/src/linux-headers-3.2.0-35-generic'
make[2]: Leaving directory `/usr/src/linux-headers-3.2.0-35-generic'
make[1]: Leaving directory `/root/r8168-8.031.00/src'
make -C src/ modules
make[1]: Entering directory `/root/r8168-8.031.00/src'
make -C /lib/modules/3.2.0-35-generic/build SUBDIRS=/root/r8168-8.031.00/src modules
make[2]: Entering directory `/usr/src/linux-headers-3.2.0-35-generic'
CC [M] /root/r8168-8.031.00/src/r8168_n.o
CC [M] /root/r8168-8.031.00/src/r8168_asf.o
CC [M] /root/r8168-8.031.00/src/rtl_eeprom.o
CC [M] /root/r8168-8.031.00/src/rtltool.o
LD [M] /root/r8168-8.031.00/src/r8168.o
Building modules, stage 2.
MODPOST 1 modules
CC /root/r8168-8.031.00/src/r8168.mod.o
LD [M] /root/r8168-8.031.00/src/r8168.ko
make[2]: Leaving directory `/usr/src/linux-headers-3.2.0-35-generic'
make[1]: Leaving directory `/root/r8168-8.031.00/src'
make -C src/ install
make[1]: Entering directory `/root/r8168-8.031.00/src'
make -C /lib/modules/3.2.0-35-generic/build SUBDIRS=/root/r8168-8.031.00/src INSTALL_MOD_DIR=kernel/drivers/net/ethernet/realtek modules_install
make[2]: Entering directory `/usr/src/linux-headers-3.2.0-35-generic'
INSTALL /root/r8168-8.031.00/src/r8168.ko
DEPMOD 3.2.0-35-generic
make[2]: Leaving directory `/usr/src/linux-headers-3.2.0-35-generic'
make[1]: Leaving directory `/root/r8168-8.031.00/src'
root@Server:~/r8168-8.031.00# sudo make install
make -C src/ install
make[1]: Entering directory `/root/r8168-8.031.00/src'
make -C /lib/modules/3.2.0-35-generic/build SUBDIRS=/root/r8168-8.031.00/src INSTALL_MOD_DIR=kernel/drivers/net/ethernet/realtek modules_install
make[2]: Entering directory `/usr/src/linux-headers-3.2.0-35-generic'
INSTALL /root/r8168-8.031.00/src/r8168.ko
DEPMOD 3.2.0-35-generic
make[2]: Leaving directory `/usr/src/linux-headers-3.2.0-35-generic'
make[1]: Leaving directory `/root/r8168-8.031.00/src'
root@Server:~/r8168-8.031.00# sudo depmod -a
root@Server:~/r8168-8.031.00# sudo modprobe r8168
root@Server:~/r8168-8.031.00# ifconfig -a