CentOS安裝網路卡驅動程式

在CentOS上安裝Intel e1000e驅動

下載 Intel e1000e src

#wget http://sourceforge.net/projects/e1000/
files/ixgbe%20stable/3.2.9/ixgbe-3.2.9.tar.gz/download

安裝及載入驅動

#tar -xzvf ixgbe-3.2.9.tar.gz
#cd ixgbe-3.2.9/src
#sudo make install
#sudo depmod -a
#sudo modprobe ixgbe

為網卡指定驅動

#vim /etc/modprobe.conf
#add a line like this one
alias eth1 ixgbe

設定與啟動網路卡

#vim /etc/sysconfig/network-script/ifcfg-eth1
#ifcfg-eth1
DEVICE=eth1
BOOTPROTO=static
BROADCAST=10.16.0.255
IPADDR=10.16.0.5
NETMASK=255.255.255.0
NETWORK=10.16.0.0
ONBOOT=yes
TYPE=Ethernet
#ifup eth1
#ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 48:5B:39:BC:8B:BE
          inet addr:10.16.0.5  Bcast:10.16.0.255  Mask:255.255.255.0
          inet6 addr: fe80::4a5b:39ff:febc:8bbe/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6237670 errors:0 dropped:0 overruns:0 frame:4
          TX packets:13654520 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:463049980 (441.5 Mb)  TX bytes:3321726756 (3167.8 Mb)
          Interrupt:16

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s