2012年5月4日 星期五

USB網卡(AX88772a)CentOS 5.5不支援 驅動程式source code又compile失敗 - ELRepo佛心套件

USB有線網卡插到CentOS 5.5 server無法驅動
原廠光碟裡的driver都是要自己編譯的source code
readme說得很簡單: make, make install 就好
其實不然... 
make執行下去,先要kernel source、又要gcc、又缺Library.....
功力不好肯定走不到make install這一步

想偷個懶上網找人家編好的driver沒下落
卻意外發現ELRepo這個好東西,真是懶人的救星!
官方網址  http://elrepo.org
它是為RedHat Enterprise及衍生系統設計的好東東
ELRepo supports Red Hat Enterprise Linux (RHEL) and its derivatives (Scientific Linux, CentOS & others)

強烈建議常亂加硬體的人要裝這套!!!

安裝方式非常簡單,先這樣:

如果是 RHEL-5, SL-5 or CentOS-5,下這行:

如果是 RHEL-6, SL-6 or CentOS-6,用這行:

這麼簡單一套懶人神器就安裝完成了~

接下來,依照你的硬體加裝driver
我的是AX88772網卡,來自ASIX公司,用這行:
yum install kmod-asix

ELRepo佛心好物就幫我把driver裝好了
網卡插上USB埠試看看,上工!  bravo!!!
 
( 不知道裝哪隻的話 這裡查 http://elrepo.org/tiki/Packages )


由衷感謝開發這套系統的大哥大姐們~
誠如其slogan所說:

"For the community, by the community."