fedora 16安装ByPass四网口网卡遇到的问题
这个问题困扰了好几天,今天终于在大谷歌的帮助下,在这个网站http://blog.bwysystems.com/bwysystems/?p=16上找到了答案!还是国外的技术论坛强,在百度上搜遍了也没有找到这篇文章,下面简单叙述整个安装过程。
1. 安装e1000e驱动。
1. Move the base driver tar file to the directory of your choice. For
example, use /home/username/e1000e or /usr/local/src/e1000e. 2. Untar/unzip archive: tar zxf e1000e-x.x.x.tar.gz 3. Change to the driver src directory: cd e1000e-x.x.x/src/ 4. Compile the driver module: # make install The binary will be installed as: /lib/modules/<KERNEL VERSION>/kernel/drivers/net/e1000e/e1000e.[k]o The install locations listed above are the default locations. They
might not be correct for certain Linux distributions. 5. Load the module using either the insmod or modprobe command: modprobe e1000e insmod e1000e Note that for 2.6 kernels the insmod command can be used if the full
path to the driver module is specified. For example: insmod /lib/modules/<KERNEL VERSION>/kernel/drivers/net/e1000e/e1000e.ko With 2.6 based kernels also make sure that older e1000e drivers are
removed from the kernel, before loading the new module: rmmod e1000e; modprobe e1000e 6. Assign an IP address to the interface by entering the following, where
x is the interface number: ifconfig ethx <IP_address> 7. Verify that the interface works. Enter the following, where <IP_address>
is the IP address for another machine on the same subnet as the
interface that is being tested: ping <IP_address>
2. 安装igb驱动。如果没有这一步,ifconfig -a是看不到eth2..eth5接口的,通过lspci可以看到下面的信息:
03:00.0 Ethernet controller: Intel Corporation Device 10c9 (rev 01)
03:00.1 Ethernet controller: Intel Corporation Device 10c9 (rev 01)
04:00.0 Ethernet controller: Intel Corporation Device 10c9 (rev 01)
04:00.1 Ethernet controller: Intel Corporation Device 10c9 (rev 01)
06:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
07:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
在这个网址http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=13663&lang=eng下载igb文件,然后安装下面步骤安装:
# tar xfv igb-1.2.44.9.tar.gz
# cd igb-1.2.44.9/src
# make
# make install
# modprobe igb
3. 使用ifconfig -a可以看到如下信息(下面是IP配置好的结果)
[root@localhost src]# ifconfig
eth0 Link encap:Ethernet HWaddr :::B3::
inet addr:192.168.115.178 Bcast:192.168.115.255 Mask:255.255.255.0
inet6 addr: fe80:::48ff:feb3:/ Scope:Link
UP BROADCAST RUNNING MULTICAST MTU: Metric:
RX packets: errors: dropped: overruns: frame:
TX packets: errors: dropped: overruns: carrier:
collisions: txqueuelen:
RX bytes: (3.6 GiB) TX bytes: (1.9 MiB)
Interrupt: eth2 Link encap:Ethernet HWaddr :E0:ED::8B:AE
inet addr:192.168.115.60 Bcast:192.168.115.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:edff:fe21:8bae/ Scope:Link
UP BROADCAST RUNNING MULTICAST MTU: Metric:
RX packets: errors: dropped: overruns: frame:
TX packets: errors: dropped: overruns: carrier:
collisions: txqueuelen:
RX bytes: (862.1 MiB) TX bytes: (1.3 KiB) eth3 Link encap:Ethernet HWaddr :E0:ED::8B:AF
inet addr:192.168.115.61 Bcast:192.168.115.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:edff:fe21:8baf/ Scope:Link
UP BROADCAST RUNNING MULTICAST MTU: Metric:
RX packets: errors: dropped: overruns: frame:
TX packets: errors: dropped: overruns: carrier:
collisions: txqueuelen:
RX bytes: (859.9 MiB) TX bytes: (1.4 KiB) eth4 Link encap:Ethernet HWaddr :E0:ED::8B:B0
inet addr:192.168.115.62 Bcast:192.168.115.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:edff:fe21:8bb0/ Scope:Link
UP BROADCAST RUNNING MULTICAST MTU: Metric:
RX packets: errors: dropped: overruns: frame:
TX packets: errors: dropped: overruns: carrier:
collisions: txqueuelen:
RX bytes: (864.3 MiB) TX bytes: (1.4 KiB) eth5 Link encap:Ethernet HWaddr :E0:ED::8B:B1
inet addr:192.168.115.63 Bcast:192.168.115.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:edff:fe21:8bb1/ Scope:Link
UP BROADCAST RUNNING MULTICAST MTU: Metric:
RX packets: errors: dropped: overruns: frame:
TX packets: errors: dropped: overruns: carrier:
collisions: txqueuelen:
RX bytes: (836.5 MiB) TX bytes: (1.3 KiB) lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::/ Scope:Host
UP LOOPBACK RUNNING MTU: Metric:
RX packets: errors: dropped: overruns: frame:
TX packets: errors: dropped: overruns: carrier:
collisions: txqueuelen:
RX bytes: (8.1 MiB) TX bytes: (8.1 MiB) [root@localhost src]#
http://blog.bwysystems.com/bwysystems/?p=16网站的内容如下:
Linux Intel PRO/ GB Ethernet Controller
Back to the server that was sitting on my desk… The Debian Lenny installation did not seem to recognize the Intel Pro/ // server Ethernet cards, dual port, PCI-E x4. I ran: # lspci | grep Ethernet to list the pci devices (duh ). This gave me the following output: :00.0 Ethernet controller: Intel Corporation Device 10c9 (rev )
:00.1 Ethernet controller: Intel Corporation Device 10c9 (rev )
:00.0 Ethernet controller: Intel Corporation Device 10c9 (rev )
:00.1 Ethernet controller: Intel Corporation Device 10c9 (rev )
:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection The last two are the on board Ethernet controllers that work fine using the e1000e driver. The ones that I really wanted working were the first items displayed as “Device 10c9 (rev )”. I couldn’t find anything on the internet other than a German post, which looked like the guy was having the same problem (I can’t decipher German). So I started trying out some different Intel drivers. I first tried the standard e1000 driver as I noticed even some PCI express cards used this driver. That didn’t work. Then on my second shot I tried out this one “igb-1.2.44.9.tar.gz”. I’m assuming “igb” stands for Intel Gigabit, which makes sense as that’s what those cards are. If you don’t have the Intel driver disc that came with your cards you can find this driver here: http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=13663&lang=eng To install this driver just do the following: # tar xfv igb-1.2.44.9.tar.gz
# cd igb-1.2.44.9/src
# make
# make install
# modprobe igb As soon as I executed “modprobe igb” I instantly had new eth interfaces! You might want to add “igb” to /etc/modules, which is where you can also supply some parameters for the driver. Hopefully this post will help out anyone else who is having trouble with these cards on Debian. This entry was posted on Sunday, November 15th, at : pm and is filed under Debian GNU/Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Responses to “Linux Intel PRO/ GB Ethernet Controller”
fedora 16安装ByPass四网口网卡遇到的问题的更多相关文章
- Windows 7硬盘安装CentOS 6.4 双系统 (WIN7硬盘安装Linux(Fedora 16,CentOS 6.2,Ubuntu 12.04))
WIN7下硬盘安装Linux(Fedora 16,CentOS 6.2.Ubuntu 12.04) 近期在看<鸟哥私房菜:基础学习篇>.认为非常不错,想要用U盘装个windows 7 和 ...
- Windows 7硬盘安装CentOS 6.4 双系统 (WIN7下硬盘安装Linux(Fedora 16,CentOS 6.2,Ubuntu 12.04))
WIN7下硬盘安装Linux(Fedora 16,CentOS 6.2,Ubuntu 12.04) 最近在看<鸟哥私房菜:基础学习篇>,觉得很不错,想要用U盘装个windows 7 和 ...
- Fedora 16下安装ruby on rails
Fedora 16下安装ruby on rails 最近在windows下写了些rails小程序,问题一个接一个,到最后终于坚信了那句话“windows不适合用于ruby on rails开发”.于是 ...
- (转载)eclipse插件安装的四种方法
eclipse插件安装的四种方法 Eclipse插件的安装方法 1.在eclipse的主目录(ECLIPSE_HOME, 比如在我的机器上安装的目录是:D:\eclipse)有一个plugins的目录 ...
- virtualbox 最小化安装centos7 配置双网卡(nat和桥接)记录----已经过期
该文章已经过期 请参考另一篇文章:virtualbox 安装centos7 配置桥接网卡,实现主机和虚拟机互通,虚拟机可以访问外网,解决无法上网问题 先说明一下为什么要配置双网卡? 配置nat ...
- fedora 16 yum yuan
暑假买了几本Linux的书一直放在书架上没看,周末闲着没事就拿起本<LinuxC从入门到精通>看了起来,初学Linux首先要做的便是在电脑上安装Linux系统.于是按书上的要求下载了Fed ...
- 国内不fq安装K8S四: 安装过程中遇到的问题和解决方法
目录 4 安装过程中遇到的问题和解决方法 4.1 常见问题 4.2 常用的操作命令 4.3 比较好的博客 国内不fq安装K8S一: 安装docker 国内不fq安装K8S二: 安装kubernet 国 ...
- 在fedora 31 安装docker
简介: 本来没啥特别的,但是fedora使用的cgroup版本太高,docker还没跟上来. 就简单介绍一下怎么在fedora上安装docker吧 一:回退cgroup $ sudo dnf inst ...
- Centos7安装成功后,网卡配置及更改镜像地址为国内镜像
Centos7安装成功后,网卡配置及更改镜像地址为国内镜像 一.网卡配置 二.修改网络配置 踩坑一:IPADDR 踩坑二:网关,DNS与本地不一致 重启网络服务 三.镜像修改为aliyun 四.相关知 ...
随机推荐
- Remember that ordinal parameters are 1-based!
问题发生的原因是:hql语句里不需要参数,却添加了一个参数,删掉添加参数的语句就可以了!
- LA 3983 Robotruck
这道题感觉挺吃力的,还用到了我不熟悉的优先队列 题目中的推导也都看明白了,总之以后还要多体会才是 这里用优先对列的原因就是因为要维护一个滑动区间的最小值,比如在区间里2在1的前面,2在离开这个滑动区间 ...
- hdu4605 magic ball game 树状数组+离线处理
题意:给你一棵二叉树,每个节点有一个w值,现在有一颗小球,值为x,从根节点往下掉,如果w==x,那么它就会停止:如果w>x,那么它往左.右儿子的概率都是1.2:如果w<x,那么它往左儿子的 ...
- IOS中(类似于进度条哪种效果)MBProgressHUD的使用
1.显示HUD MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES]; hud.labelText = ...
- HDU 5348 MZL's endless loop 给边定向(欧拉回路,最大流)
题意: 给一个所有你可能想得到的奇葩无向图,要求给每条边定向,使得每个点的入度与出度之差不超过1.输出1表示定向往右,输出0表示定向往左. 思路: 网络流也是可以解决的!!应该挺简单理解的.但是由于复 ...
- 使用dev http client调试restful API开发
安装chrome 插件:dev http client, 使用VPN打开 google网站,
- JavaScript对象 + Browser 对象 + HTML DOM 对象
JavaScript 对象 Array Boolean Date Math Number String RegExp Global Browser 对象 Window Navigator Screen ...
- POJ 2249 Binomial Showdown
// n 个 数 取 k个数的取法// C(n,k) 注意些细节#include <iostream> #include <string> #include<sstrea ...
- Oracle时间函数numtoyminterval()
格式:NumToYMInterval(n, interval_unit); n: 数值类型 interval_unit: 'YEAR', 'MONTH' ,或其他可以转换成这两个值之一的表达式 N ...
- ORACLE 临时表空间清理
Oracle临时表空间主要用来做查询和存放一些缓冲区数据.临时表空间消耗的主要原因是需要对查询的中间结果进行排序.临时表空间的主要作用: 索引create或rebuildOrder by 或 grou ...