之前没装过LINUX的网卡驱动,都是内核自己认的,结果第一次装的时候把驱动下错老,我日他先人思密达哟,随便浪个都驱动不起,后头从新去官网下老一个才算解决老。确实是没事找事。
下载下来老直接解压,进入目录,里头有个readme文件,里头记录老浪个安装的方法,照到起做就思密达老
Unpack the tarball :
# tar vjxf r8168-8.aaa.bb.tar.bz2 (解压)
Change to the directory:
# cd r8168-8.aaa.bb (进去)
If you are running the target kernel, then you should be able to do :
# make clean modules (清除临时模块,我自己猜的)
# make install (安装)
# depmod -a (更新关联)
# insmod ./src/r8168.ko (手动加载模块)(or r8168.o in linux kernel 2.4.x)
You can check whether the driver is loaded by using following commands.
# lsmod | grep r8168 (查询加载的模块中有没有R8168)
# ifconfig -a (查询网卡起来没得)