|
原来有台测试服务器,因为网卡坏了,把硬盘接到另一台新机器上了,但发现在新的机器启动以后用不了网络,主要是两台机器的网卡不一样
lspci 显示是8168/8111
lsmod 显示是8169
modprobe r8168
FATAL: Module r8168 not found.
下载8168的驱动,挺readme的步骤,
# 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
但是发现安装不了,提示
no rules to make target 'modules'
如何才能不丟失原来数据的前提下安装好新的网卡驱动呢,分区是整个linux一个主分区 |
|