Chinaunix首页 | 论坛 | 博客
  • 博客访问: 550956
  • 博文数量: 116
  • 博客积分: 2063
  • 博客等级: 大尉
  • 技术积分: 1174
  • 用 户 组: 普通用户
  • 注册时间: 2007-10-26 16:44
个人简介

none

文章分类

全部博文(116)

文章存档

2023年(2)

2020年(3)

2019年(4)

2018年(7)

2017年(6)

2016年(17)

2015年(13)

2014年(19)

2013年(6)

2012年(13)

2011年(5)

2010年(11)

2008年(10)

分类: IT业界

2019-11-07 17:09:15

works with version e1000e-3.4.0.2.tar.gz

[root@localhost e1000e-all]# lspci |grep "net"  
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) (rev 10)

e1000e.ko.xz.jpg
e1000e-3.4.0.2.tar.gz.jpg
[root@localhost modules]# pwd
/lib/modules
[root@localhost modules]# 
[root@localhost modules]# find . -type f -name "e1000e*"
./3.10.0-693.el7.x86_64/kernel/drivers/net/ethernet/intel/e1000/e1000e.ko
./3.10.0-693.el7.x86_64/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko
./3.10.0-693.el7.x86_64/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko.xz_
./3.10.0-693.el7.x86_64/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko.xz
./3.10.0-1062.4.1.el7.x86_64/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko.xz
[root@localhost modules]# 
[root@localhost modules]# cat /etc/rc.local 
#!/bin/bash
# THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES
#
# It is highly advisable to create own systemd services or udev rules
# to run scripts during boot instead of using this file.
#
# In contrast to previous versions due to parallel execution during boot
# this script will NOT be run after all other services.
#
# Please note that you must run 'chmod +x /etc/rc.d/rc.local' to ensure
# that this script will be executed during boot.
touch /var/lock/subsys/local
modprobe e1000e
insmod /etc/e1000e.ko
ifconfig em1 10.80.64.174 netmask 255.255.255.0 up
route add default gw 10.80.64.1
#echo > /usr/local/sbin/.www

[root@localhost modules]# cat /etc/redhat-release 
CentOS Linux release 7.7.1908 (Core)
[root@localhost modules]# 
[root@localhost modules]# uname -a
Linux localhost.localdomain 3.10.0-1062.4.1.el7.x86_64 #1 SMP Fri Oct 18 17:15:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
阅读(941) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~