安装网卡驱动出现问题!!!
[size=4]系统:CentOS 5 / Fedora 7我的网卡是DFI 975X集成的
RTL8111B 驱动是最新的:[/size][size=4]r8168-8.001.0
这个是安装说明文件:[/size]
[quote]<Requirements>
- kernel source tree (supported Linux kernel 2.6.x)
- compiler/binutils for kernel compilation
<Quick install with proper kernel settings>
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 (as root or with sudo)
# make install
# depmod -a
# insmod ./src/r8168.ko[/quote]
[size=4]
这个是命令行安装:[/size]
[quote][root@localhost ~]# cd r8
[root@localhost r8]# make clean modules
make -C src/ clean
make[1]: Entering directory `/root/r8/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions
make[1]: Leaving directory `/root/r8/src'
make -C src/ modules
make[1]: Entering directory `/root/r8/src'
make -C /lib/modules/2.6.18-8.el5xen/build SUBDIRS=/root/r8/src modules
make: Entering an unknown directory
make: *** /lib/modules/2.6.18-8.el5xen/build: 没有那个文件或目录。 停止。
make: Leaving an unknown directory
make[1]: *** [modules] 错误 2
make[1]: Leaving directory `/root/r8/src'
make: *** [modules] 错误 2
[root@localhost r8]# make install
make -C src/ install
make[1]: Entering directory `/root/r8/src'
install -m 644 -c r8168.ko /lib/modules/2.6.18-8.el5xen/kernel/drivers/net/
install: 无法 stat “r8168.ko”: 没有那个文件或目录
make[1]: *** [install] 错误 1
make[1]: Leaving directory `/root/r8/src'
make: *** [install] 错误 2
[root@localhost r8]#[/quote]
页:
[1]