Asus P5GC-MX/1333 安裝 CentOS Linux 網卡 Driver
安裝程序
參考資料
-
Attansic L2 並不是 Giga 網卡, 只是 10/100 網卡
-
說真的如果這片主機板是要安裝 CentOS, 而且還會常常更新 Linux Kernel, 建議還是另外找一片預設有支援的網卡比較方便, 否則每次更新 kernel 之後就要重新 compile atl2 driver..
-
確定可以在 CentOS 4 compile 成功的 atl2 Driver :
-
如果是在 CentOS 5 必須將 kcompat.h 的 1084 行移除,否則就會出現這樣的錯誤訊息 /tmp/l2-linux-v1.0.40.4/src/kcompat.h:1084: 錯誤:「irq_handler_t」 重定義 include/linux/interrupt.h:67: 錯誤:「irq_handler_t」 的上一個宣告在此 make[2]: *** [/tmp/l2-linux-v1.0.40.4/src/at_main.o] Error 1
,主要原因是 1083 - 1085 定義
#if (!(( RHEL_VERSION == 4 ) && ( RHEL_UPDATE >= 5 ))) /* typedef irqreturn_t 40;*irq_handler_t41;40;int, void*, struct pt_regs *41;; */ #endif
-
因為我還安裝 , 對於 eth0 / eth1 的設定亂跳也感到很困擾, 目前的解決方法說明如下:
-
設定 /etc/modprobe.conf
-
設定 /etc/sysconfig/network-scripts/ifcfg-eth0
-
設定 /etc/sysconfig/network-scripts/ifcfg-eth1
-
只有指定 /etc/modprobe.conf 內的 alias ethx 並無法正確指定哪張網卡擔任 eth0 或 eth1
-
透過 /etc/sysconfig/network-scripts/ifcfg-ethx 內的 HWADDR 指定 mac 就可正確決定 eth0 或 eth1