Re: [問題] CentOS 網路設定 、 kernel 及 GCC 問題
Intel的網卡很常在Linux下沒有Driver...
你要裝的有make, gcc, kernel-headers, kernel-devel這四個
所以你最好在安裝時就選全裝就好了 ((大誤特誤
※ 引述《original1 (Original)》之銘言:
: 最近 被指派 幫忙實驗室 架設工作站
: OS 是使用 CentOS 5.3 參考書--- 鳥哥
: 安裝完後,網路一直無法連上去
: 網路的參數設定 已經再三確認過了 應該不會有錯
: 用 ping 總是得到 Destination Host Unreachable
不過你的推測是網卡沒driver....
那你有沒有看一下ifconfig -a有沒有除了lo跟sit0的裝置?
沒有才需要上driver
有的話
你應該要檢查的是netstat -i有沒有BMRU出來
沒有就是線掛了或那張卡爛掉了(誤
: 網卡是 Inter Corporation 82576 Gigabit Network connection
: 我推測是 網卡沒有驅動 所以上網下載了驅動程式
: 正在安裝時 依照 裡面的 README 的步驟
: 打 # make install
: 得到
: Makefile:70: *** Linux kernel source not found in any of these locations:
: Makefile:71:
: Makefile:72: *** Install the appropriate kernel development package, e.g.
: Makefile:73: *** kernel-devel, for building kernel modules and try again.
: Stop.
: 接下來我又 去更新了 kernel
: 原本的版本 是 2.6.18-128.el5xen
: 上網下載了 linux-2.6.31.5
: 安裝 到 /usr/src/linux-2.6.31.5
: 之後
: [root@bpl linux-2.6.31.5]# make mrproper
: make: gcc: Command not found
: [root@bpl linux-2.6.31.5]# make menuconfig
: HOSTCC scripts/basic/fixdep
: /bin/sh: gcc: command not found
: make[1]: *** [scripts/basic/fixdep] Error 127
: make: *** [scripts_basic] Error 2
: 接下來 就
: # rpm -q gcc
: 套件 gcc 尚未安裝
: 又上網下載了 gcc
: root@bpl ~]# rpm -Uvh libstdc++43-devel-4.3.2-7.el5.i386.rpm
: l:libstdc++43-devel ##################### 100%
: 看狀態 gcc 似乎 安裝完成 有出現
: 可是 安裝Kernel 問題依然沒有解決
: 請問板上的高手們 小弟 的 流程 有哪裡有錯嗎?
: 請大家多多給於指教 謝謝
--
OS: Debian GNU/Linux 5.0 Lenny
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.128.252.130
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):