<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    小螞蟻  
    風(fēng)雨過后才見彩虹
    公告

    • —————————————
      李麗君
      軟件測試工作者
      廣東籍貫的海南人
      北京生活12年
      目前在深圳

      郵箱:
      llj2003hbdd@163.com
      —————————————
      說明:本Blog中的內(nèi)容均為本人原創(chuàng)或轉(zhuǎn)載,本人依法保留Blog內(nèi)原創(chuàng)文章的所有權(quán)利,如需轉(zhuǎn)載,請注明作者及出處。未經(jīng)許可,不得將本Blog內(nèi)文章用于任何盈利性用途。
      —————————————
    日歷
    <2012年11月>
    28293031123
    45678910
    11121314151617
    18192021222324
    2526272829301
    2345678

    導(dǎo)航

    常用鏈接

    留言簿(174)

    隨筆分類(189)

    0--感興趣的網(wǎng)站

    1--國內(nèi)測試網(wǎng)站

    2--測試同行的blog

    3--開發(fā)好友的blog

    最新評論

     

    參考資料:http://blog.chinaunix.net/uid-10697776-id-3080243.html
                  http://hi.baidu.com/widebright/item/2f28cd0da72b9210addc70a7


    問:dell的optiplex 360或者optiplex 380機器,broadcom網(wǎng)卡如何在redhat enterprise linux 5系統(tǒng)下識別和安裝驅(qū)動?

    答案如下:
    首先看網(wǎng)卡是否已經(jīng)正確連接到計算機,使用的命令是lspci。redhat上使用lspci的輸出:
    [root@localhost ~]# lspci
    00:00.0 Host bridge: Intel Corporation Eaglelake DRAM Controller (rev 03)
    00:01.0 PCI bridge: Intel Corporation Eaglelake PCI Express Root Port (rev 03)
    00:02.0 VGA compatible controller: Intel Corporation Eaglelake Integrated Graphics Controller (rev 03)
    00:02.1 Display controller: Intel Corporation Eaglelake Integrated Graphics Controller (rev 03)
    00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
    00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
    00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
    00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
    00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
    00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
    00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
    00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
    00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
    00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
    00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)

    會發(fā)現(xiàn)系統(tǒng)識別不到這個網(wǎng)卡的設(shè)備,需要更新網(wǎng)卡設(shè)備讀取文件,具體是:
    用update-pciids 命令先更新一下 系統(tǒng)的pci.ids文件,這個最新的應(yīng)該有人維護的在http://pciids.sourceforge.net/ 可以找得到。
    或者像我這樣直接手工更新一下/usr/share/hwdata/pci.ids 文件的內(nèi)容。
    把pci.ids文件放到tmp目錄
    Redhat上使用命令:cp /tmp/pci.ids /usr/share/hwdata/pci.ids;回車后回復(fù)yes
    再次執(zhí)行l(wèi)spci,結(jié)果如下,成功識別。
    [root@localhost ~]# cp /tmp/llj/pci.ids /usr/share/hwdata/pci.ids
    cp:是否覆蓋“/usr/share/hwdata/pci.ids”? yes
    [root@localhost ~]# lspci
    00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
    00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03)
    00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
    00:02.1 Display controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
    00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
    00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01)
    00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
    00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
    00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
    00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
    00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
    00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
    00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
    00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01)
    00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 01)
    02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)

    網(wǎng)卡成功識別后,使用ifconfig命令看網(wǎng)卡信息,發(fā)現(xiàn)沒有eth0,需要進行如下操作:
    下載網(wǎng)卡驅(qū)動安裝包:
    kernel-2.6.18-92.el5.i686.rpm
    kernel-devel-2.6.18-92.el5.i686.rpm
    kernel-xen-2.6.18-92.el5.i686.rpm
    kernel-xen-devel-2.6.18-92.el5.i686.rpm
    tg3-3.122n-1.src.rpm
    使用rpm –ivh 命令安裝上面的kernel包
    Tg3包安裝步驟如下:
    [root@localhost llj]# rpm -ivh tg3-3.122n-1.src.rpm
    1:tg3                    ########################################### [100%]
    [root@localhost llj]# cd /usr/src/redhat/
    [root@localhost redhat]# rpmbuild -bb SPECS/tg3.spec
    [root@localhost redhat]# rpm -ivh RPMS/i386/tg3-3.122n-1.i386.rpm
    Preparing...                ########################################### [100%]
    1:tg3                    ########################################### [100%]
    [root@localhost redhat]# modprobe tg3
    打開網(wǎng)絡(luò)設(shè)備:[root@linpcl root]#ifconfig eth0 up
    使用命令ifconfig查看可看見eth0

    到此Dell optiplex 380 broadcom網(wǎng)卡在redhat 5下網(wǎng)卡識別和安裝驅(qū)動完畢。^_^。

    posted on 2012-11-29 18:03 lijun 閱讀(1441) 評論(0)  編輯  收藏 所屬分類: 測試環(huán)境維護實踐
     
    Copyright © lijun Powered by: 博客園 模板提供:滬江博客
    主站蜘蛛池模板: 日韩中文无码有码免费视频| 成人毛片免费网站| 国产V亚洲V天堂无码| 中文无码日韩欧免费视频| 国产亚洲精品不卡在线| 波霸在线精品视频免费观看| 亚洲午夜久久久影院伊人| 麻豆精品不卡国产免费看| 亚洲AV午夜成人影院老师机影院| 久久国产乱子免费精品| 亚洲欧洲精品久久| 最近中文字幕mv免费高清视频7 | 精品人妻系列无码人妻免费视频| 久久国产成人精品国产成人亚洲 | 国产V亚洲V天堂无码久久久| 99热这里有免费国产精品| 亚洲国产视频网站| 性做久久久久免费看| 一级毛片免费播放视频| 婷婷久久久亚洲欧洲日产国码AV| 亚洲精品视频在线观看免费| 国产午夜亚洲精品| 亚洲午夜福利精品久久| 四虎成人精品永久免费AV| 亚洲天堂男人影院| 亚洲精品无码永久在线观看| 免费国产午夜高清在线视频| 亚洲二区在线视频| 亚洲av无码乱码在线观看野外 | 亚洲欧洲国产精品你懂的| 最近中文字幕mv免费高清电影 | 国产美女视频免费观看的网站| 亚洲激情在线视频| 在线a人片天堂免费观看高清| 国产精品极品美女自在线观看免费 | 亚洲国产成人影院播放| 久久国产免费一区| 福利片免费一区二区三区| 亚洲福利在线视频| 国产一精品一aⅴ一免费| 99热这里只有精品免费播放|