Dell 12代服务器兼容的操作系统版本比之前要高些,如红帽Linux系统只支持从RHEL 5.7版本以上,如安装RHEL 5.6,默认是不能驱动网卡的(即启动系统后,使用ifconfig -a将只看到loopback),这样需要我们手动去安装网卡驱动。
以RHEL 5.6 X86_64系统为例:
一、下载网卡驱动
根据服务器的网卡型号下载相应的驱动程序,我这里是Dell R420默认的板载网卡(Broadcom 5720),去以下链接下载相应网卡型号的驱动。
![29084906_eTfZ.png](http://static.oschina.net/uploads/img/201404/29084906_eTfZ.png)
二、安装
# unzip linux-3.122n.zip
# cd Server/Linux/Driver
# rpm -ivh tg3-3.122n-1.src.rpm
# cd /usr/src/redhat/SPECS
# rpmbuild -bb tg3.spec
# cd /usr/src/redhat/RPMS/x86_64
# rpm -ivh tg3-3.122n-1.x86_64.rpm
# rpm -ivh tg3-3.122n-1.x86_64.rpm
三、加载模块
# modprobe tg3
vim /etc/modprobe.conf
添加以下两行,或重启系统,自动会添加
alias eth0 tg3
alias eth1 tg3
四、查看网卡是否激活
# ifconfig -a
-------
使用源码安装:
如使用rpm不能安装成功,使用这种方式,安装gcc等工具,以
tg3-3.129d版本为例
cd Server/Linux/Driver
tar xvf tg3-3.129d.tar.gz
cd tg3-3.129d
make && make install
验证:
modinfo tg3
查看软件包里面的帮助:
less README.TXT