Linux 网卡驱动安装

2 篇文章 0 订阅
1 篇文章 0 订阅

相对于windows系统,Linux的易用性相对要差些。今天为了解决问题,用再生龙把3年前的镜像装到最新型号机器中,发现网卡起不来。

 

 异常信息大意是说e1000e型号的设备eth0不存在。百度异常信息结果多是虚拟机系统迁移导致设备名称变化或者MAC不匹配,但是根据经验判断应该是驱动问题,也就是当前网卡型号不是e1000e。

接下来首要的事情就是确定网卡型号,通过以下命令可以达到目的。

 [root@dimos log]# lspci -vvv

 输出信息有很多,其中Ethernet controller信息是关于网卡的。

 



 红色圈起部分就是网卡具体型号。

从百度搜索关键字可以导航到Intel官网,有下载链接和安装步骤。

在安装之前还有个问题要解决,就是文件传输。网卡没驱无法FTP,只能优盘;多数Linux系统不是即插即用的,所以就要先通过mount命令挂载分区。

先插上优盘,然后通过以下命令查看u盘分区:

 

 对比插入优盘前后分区变化,确认/dev/sdb4是优盘分区,然后通过以下命令挂载分区:

mkdir /mnt/usb
mount -t vfat /udev/sdb4

 挂载成功后,通过df -h 可以查看优盘容量,以确认挂载成功。

 

接下来安装的过程就简单了以下摘自Intel 官网:

 

Move the base driver tar file to the directory of your choice. For example, use '/home/username/igb' or '/usr/local/src/igb'.

Untar/unzip the archive, where <x.x.x> is the version number for the driver tar file:

    tar zxf igb-<x.x.x>.tar.gz 

Change to the driver src directory, where <x.x.x> is the version number for the driver tar:

    cd igb-<x.x.x>/src/ 

Compile the driver module:

    # make install

The binary will be installed as:

    /lib/modules/<KERNEL VERSION>/kernel/drivers/net/igb/igb.[k]o

The install location listed above is the default location. This may differ for various Linux distributions.

Load the module using either the insmod or modprobe command:

    modprobe igb

    insmod igb

 

 参考地址:

http://blog.chinaunix.net/uid-26729093-id-4257952.html

http://downloadmirror.intel.com/20927/eng/e1000.htm

https://downloadcenter.intel.com/download/13663

downloadmirror.intel.com/20927/eng/e1000.htm#igb_driver

 

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值