全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:1633
推到 Plurk!
推到 Facebook!

還是無法連上Internet

尚未結案
azi
一般會員


發表:10
回覆:39
積分:9
註冊:2002-05-27

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-03-09 16:53:26 IP:210.241.xxx.xxx 未訂閱
我最近想要嘗試kylix,之前我先要安裝linux。我以前也裝過REDHAT,不過就 是會有問題,這次我改裝Mandrake 9.0,安裝起來順手多了。不過在網路上就 是無法連到INTERNET。因為我的網卡是DFE-530,搜尋了一下很多人都說這張卡 的驅動程式要重裝,我重新安裝後,原本無法啟動的網卡就可以啟動了,也可 以PING到區域網路和GATEWAY。不過還是不能連上INTERNET,我重複檢查與設定 我的NETWORK:IP、GATEWAY、DNS(168.95.1.1)都設了。還是連不出去。 同樣的機器我有安裝WINDOWS(多重開機),同樣的設定值,就可以連出去。 雖然區域網路有CISCO firewall,可是相同的IP應該不會是FIREWALL的問題。 我試了一天,有誰可以給我意見嗎,或者找解決方式的管道。 --- Azi
------
---
Azi
william
版主


發表:66
回覆:2535
積分:3048
註冊:2002-07-11

發送簡訊給我
#2 引用回覆 回覆 發表時間:2004-03-09 17:54:46 IP:147.8.xxx.xxx 未訂閱
Any default route in the routing table?
azi
一般會員


發表:10
回覆:39
積分:9
註冊:2002-05-27

發送簡訊給我
#3 引用回覆 回覆 發表時間:2004-03-09 22:54:26 IP:218.175.xxx.xxx 未訂閱
引言: Any default route in the routing table?
william 版主,不好意思我不太懂你的意思。 我同樣一台機器,同一個IP,在linux下也可以ping到通訊閘, windows可以連上internet,而linux卻不行。 是需要另行建立routine table嗎? routine table 需要給他什麼default 值嗎? 多謝你的指點。 --- Azi
------
---
Azi
william
版主


發表:66
回覆:2535
積分:3048
註冊:2002-07-11

發送簡訊給我
#4 引用回覆 回覆 發表時間:2004-03-10 09:50:46 IP:147.8.xxx.xxx 未訂閱
route to view the routing table route add default gw {your gateway ip} to add the defaul route.
azi
一般會員


發表:10
回覆:39
積分:9
註冊:2002-05-27

發送簡訊給我
#5 引用回覆 回覆 發表時間:2004-03-12 08:29:43 IP:210.241.xxx.xxx 未訂閱
引言: route to view the routing table route add default gw {your gateway ip} to add the defaul route.
我的防火牆是 192.168.1.254,ATUR 是 192.168.1.253 我在 Linuxconf->networking-> Routing and getways 中的 Defaults: 設為 192.168.1.254 (也試過設為192.168.1.253) 但都還是不能連上網路。 我在退出(QUIT)Linuxconf時,他會出現'some error were report' 'Do you want to examine the logs?' 不過我看不出裡面寫什麼錯誤訊息? 而且我用GNOM 進去時,剛開始時會有一個'無法查詢'Testhost.localhost' 的網路位址,這會使GNOM無法正常運作。 或許將Testhost.localhost 加入 /etc/hosts 可以避免問題出現。 這是否與我連上internet有關係?我會再試試。謝謝williams一直給建議。 --- Azi
------
---
Azi
william
版主


發表:66
回覆:2535
積分:3048
註冊:2002-07-11

發送簡訊給我
#6 引用回覆 回覆 發表時間:2004-03-12 09:12:44 IP:147.8.xxx.xxx 未訂閱
If you can ping your gateway, can you ping your DNS or any other external ip address? If you can ping you DNS, perhaps you should check you /etc/resolv.conf file. Otherwise can you show the output of the command route?
azi
一般會員


發表:10
回覆:39
積分:9
註冊:2002-05-27

發送簡訊給我
#7 引用回覆 回覆 發表時間:2004-03-12 17:38:28 IP:210.241.xxx.xxx 未訂閱
ping 區域網路各點與閘道器192.168.1.254 都可以,ping 168.95.1.1就不行。 ,因該是firewall有擋,windows與linux都相同。 我用windows查如下: Active Routes: Network Address Netmask Gateway Address Interface Metric 0.0.0.0 0.0.0.0 192.168.1.254 192.168.1.128 1 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 192.168.0.0 255.255.0.0 192.168.1.128 192.168.1.128 1 192.168.1.128 255.255.255.255 127.0.0.1 127.0.0.1 1 192.168.1.255 255.255.255.255 192.168.1.128 192.168.1.128 1 224.0.0.0 224.0.0.0 192.168.1.128 192.168.1.128 1 255.255.255.255 255.255.255.255 192.168.1.128 0.0.0.0 1 mandake linux 如下: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 192.168.1.254 0.0.0.0 UG 0 0 0 eth0 --- Azi
------
---
Azi
william
版主


發表:66
回覆:2535
積分:3048
註冊:2002-07-11

發送簡訊給我
#8 引用回覆 回覆 發表時間:2004-03-12 17:48:48 IP:147.8.xxx.xxx 未訂閱
Your routing table looks fine to me. Can you test your DNS settings by trying to lookup? e.g. nslookup www.borland.com Perhaps test the route: traceroute -d 168.95.1.1
azi
一般會員


發表:10
回覆:39
積分:9
註冊:2002-05-27

發送簡訊給我
#9 引用回覆 回覆 發表時間:2004-03-12 18:23:06 IP:210.241.xxx.xxx 未訂閱
nslookup www.blorland.com 如下: ;; connection timed out; no servers could be reached traceroute -d 168.95.1.1 如下: 1 traceroute: wrote 168.95.1.1 38 chars, ret=-1 *traceroute: wrote 168.95.1.1 38 chars, ret=-1 *traceroute: wrote 168.95.1.1 38 chars, ret=-1 * 2 traceroute: wrote 168.95.1.1 38 chars, ret=-1 --- Azi
------
---
Azi
william
版主


發表:66
回覆:2535
積分:3048
註冊:2002-07-11

發送簡訊給我
#10 引用回覆 回覆 發表時間:2004-03-16 10:10:17 IP:218.190.xxx.xxx 未訂閱
Perhaps you have firewall running on the Linux box? ipchains? iptables?
azi
一般會員


發表:10
回覆:39
積分:9
註冊:2002-05-27

發送簡訊給我
#11 引用回覆 回覆 發表時間:2004-03-16 12:54:37 IP:210.241.xxx.xxx 未訂閱
引言: Perhaps you have firewall running on the Linux box? ipchains? iptables?
我找到問題所在,確實是我linux的firewall沒有開放的緣故。 因為安裝linux到今天,一直都沒有查看firwall的設定。 開放firewall之後就okey了。多謝williams。 --- Azi
------
---
Azi
系統時間:2024-05-16 11:54:16
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!