网卡驱动升级
<p>1.查看当前网卡类型</p><pre class="brush:bash;toolbar:false"># /sbin/lspci |grep Ethernet</pre><p>2.查看网卡驱动模块</p><pre class="brush:bash;toolbar:false"># cat /etc/modprobe.conf|grep eth</pre><p>3.查看网卡驱动当前版本</p><pre class="brush:bash;toolbar:false"># modinfo bnx2</pre><p>4.下载最新网卡驱动程序<br>到以下链接,根据查询到的网卡型号下载最新的驱动程序:<br>
http://zh-cn.broadcom.com/support/ethernet_nic/downloaddrivers.php</p>
<p>5.驱动程序安装</p><pre class="brush:bash;toolbar:false"># unzip linux-7.6.62.zip
# cd Server/Linux/Driver/
# rpm -ivh netxtreme2-7.2.20-1.src.rpm
# cd /usr/src/redhat/SPECS/
# yum install rpm-build.x86_64
# rpmbuild -bb netxtreme2.spec
# cd ../RPMS/x86_64/
# rpm -ivh netxtreme2-7.6.62-2.x86_64.rpm</pre><p>6.加载最新驱动模块</p><pre class="brush:bash;toolbar:false">#vi change_net_driver.sh
rmmod bnx2
modprobe bnx2</pre><p>执行脚本:</p><pre class="brush:bash;toolbar:false">sh change_net_driver.sh</pre><p>7.查看最新驱动版本</p><pre class="brush:bash;toolbar:false">#modinfo bnx2</pre><p>8.卸载最新驱动,还原到以前的驱动</p><pre class="brush:bash;toolbar:false">#rpm -e netxtreme2-7.6.62-2</pre><p></p>
頁:
[1]