zoukankan      html  css  js  c++  java
  • 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 00:30:48:B3:84:00  
              inet addr:192.168.115.178  Bcast:192.168.115.255  Mask:255.255.255.0
              inet6 addr: fe80::230:48ff:feb3:8400/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:5735548 errors:0 dropped:0 overruns:0 frame:0
              TX packets:15565 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:3948293497 (3.6 GiB)  TX bytes:2046024 (1.9 MiB)
              Interrupt:212 
    
    eth2      Link encap:Ethernet  HWaddr 00:E0:ED:21: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/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:733618 errors:0 dropped:0 overruns:0 frame:0
              TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:904051573 (862.1 MiB)  TX bytes:1356 (1.3 KiB)
    
    eth3      Link encap:Ethernet  HWaddr 00:E0:ED:21: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/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:731838 errors:0 dropped:0 overruns:0 frame:0
              TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:901697655 (859.9 MiB)  TX bytes:1440 (1.4 KiB)
    
    eth4      Link encap:Ethernet  HWaddr 00:E0:ED:21: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/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:735868 errors:0 dropped:0 overruns:0 frame:0
              TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:906385445 (864.3 MiB)  TX bytes:1482 (1.4 KiB)
    
    eth5      Link encap:Ethernet  HWaddr 00:E0:ED:21: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/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:711906 errors:0 dropped:0 overruns:0 frame:0
              TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:877194188 (836.5 MiB)  TX bytes:1398 (1.3 KiB)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:51852 errors:0 dropped:0 overruns:0 frame:0
              TX packets:51852 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:8561424 (8.1 MiB)  TX bytes:8561424 (8.1 MiB)
    
    [root@localhost src]# 

    http://blog.bwysystems.com/bwysystems/?p=16网站的内容如下:

    Linux Intel PRO/1000 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/1000 10/100/1000 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:
    
    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
    
    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 4 items displayed as “Device 10c9 (rev 01)”. 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 4 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, 2009 at 6:10 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.
    5 Responses to “Linux Intel PRO/1000 GB Ethernet Controller”
  • 相关阅读:
    改Android手机定位位置
    设计模式-行为型模式
    设计模式-结构型模式
    设计模式-创建型模式
    LoadRunner改脚本
    交互设计流程
    java正则过滤特殊字符
    js正则表达式判断非法字符 .(转)
    <BEA-141281> <unable to get file lock, will retry ...> (转)
    JAVA调用打印机打印指定文件
  • 原文地址:https://www.cnblogs.com/xiaowenhu/p/3216651.html
Copyright © 2011-2022 走看看