[font=楷体_GB2312]。(放回显在7楼)
[/font]
如图:






///////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////
.//////////////////////////////////////////////////////////////////
nslookup www.google.cn
nslookup www.hao123.com
nslookup www.baidu.com
nslookup www.sina.com.cn
都是通的 但是就只能打开百度,其余的一直卡在哪里,百度搜出来的网页打开,也是一直卡在哪里
换UBUNTU试情况和fedora一样。。。。。。。
发现问题,好像只可以上百度
,百度搜出来的网页也上不了
google和新浪,好123都上不了,卡在那里。。。。
fedora中 用gnome 带的火狐 或者KDE用kde的浏览器 都无法打开。。。

有*码~~~~~~~~~~~~~
放*码~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~?
[mojian@mojian ~]$ su -
[root@mojian ~]# config-bind
-bash: config-bind: command not found
[root@mojian ~]# lcpci
-bash: lcpci: command not found
///////////////////////////////////////
网络状况:
[root@mojian ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:05:13:64:0C
inet addr:192.168.0.157 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::240:5ff:fe13:640c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5019 errors:0 dropped:0 overruns:0 frame:0
TX packets:3587 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5521528 (5.2 MiB) TX bytes:203511 (198.7 KiB)
Interrupt:10 Base address:0x4f00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3645 errors:0 dropped:0 overruns:0 frame:0
TX packets:3645 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3650416 (3.4 MiB) TX bytes:3650416 (3.4 MiB)
virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:5556 (5.4 KiB)
////////////////////////////////////
PING测试:
[root@mojian ~]# ping 192.168.0.1 //////////////ping主机
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=255 time=0.333 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=255 time=0.330 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=255 time=0.278 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=255 time=0.298 ms
64 bytes from 192.168.0.1: icmp_seq=5 ttl=255 time=0.354 ms
64 bytes from 192.168.0.1: icmp_seq=6 ttl=255 time=0.335 ms
64 bytes from 192.168.0.1: icmp_seq=7 ttl=255 time=0.287 ms
64 bytes from 192.168.0.1: icmp_seq=8 ttl=255 time=0.281 ms
64 bytes from 192.168.0.1: icmp_seq=9 ttl=255 time=0.256 ms
[root@mojian ~]# ping 192.168.0.157 /////////////ping自己
PING 192.168.0.157 (192.168.0.157) 56(84) bytes of data.
64 bytes from 192.168.0.157: icmp_seq=1 ttl=64 time=0.119 ms
64 bytes from 192.168.0.157: icmp_seq=2 ttl=64 time=0.090 ms
64 bytes from 192.168.0.157: icmp_seq=3 ttl=64 time=0.108 ms
64 bytes from 192.168.0.157: icmp_seq=4 ttl=64 time=0.145 ms
64 bytes from 192.168.0.157: icmp_seq=5 ttl=64 time=0.106 ms
64 bytes from 192.168.0.157: icmp_seq=6 ttl=64 time=0.104 ms
64 bytes from 192.168.0.157: icmp_seq=7 ttl=64 time=0.113 ms
64 bytes from 192.168.0.157: icmp_seq=8 ttl=64 time=0.105 ms
64 bytes from 192.168.0.157: icmp_seq=9 ttl=64 time=0.104 ms
64 bytes from 192.168.0.157: icmp_seq=10 ttl=64 time=0.108 ms
64 bytes from 192.168.0.157: icmp_seq=11 ttl=64 time=0.101 ms
64 bytes from 192.168.0.157: icmp_seq=12 ttl=64 time=0.107 ms
--- 192.168.0.157 ping statistics ---
13 packets transmitted, 13 received, 0% packet loss, time 11998ms
rtt min/avg/max/mdev = 0.090/0.108/0.145/0.015 ms
[root@mojian ~]# ping 202.103.224.68 ///////////pingDNS
PING 202.103.224.68 (202.103.224.6 56(84) bytes of data.
[root@mojian ~]# ping 202.103.225.68
PING 202.103.225.68 (202.103.225.6 56(84) bytes of data.
[mojian@mojian ~]$ ping 202.103.225.38
PING 202.103.225.38 (202.103.225.3 56(84) bytes of data.
////////////////////////////////////////////////////////////////////////////////////////////
查看网络配置:
[root@mojian ~]# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=mojian
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/sysconfig/network" 2L, 31C
///////////////////////
网卡配置参数情况:
[root@mojian ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
GATEWAY=192.168.0.1
TYPE=Ethernet
DEVICE=eth0
BOOTPROTO=none
NETMASK=255.255.255.0
IPADDR=192.168.0.157
USERCTL=yes
IPV6INIT=yes
PEERDNS=yes
BROADCAST=192.168.0.255
HWADDR=00:40:05:13:64:0c
ONBOOT=yes
~
~
~
~
~
~
~
~
~
"/etc/sysconfig/network-scripts/ifcfg-eth0" 14L, 303C
//////////////////////////
DNS配置情况:
[root@mojian ~]# vi /etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 202.103.224.68
nameserver 202.103.225.68
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/resolv.conf" 3L, 89C
///////////
激活:
[root@mojian ~]# ifdown eth0
[root@mojian ~]# ifup eth0
[root@mojian ~]#
[ 本帖最后由 codycody23 于 2008-7-10 12:30 编辑 ]
xwy520999 于 2011-09-13 23:10:24发表:
我之前遇到这种问题,用ping命令可以ping通www.baidu.com,但是用火狐却打不开www.baidu.com,改了DNS为8.8.8.8后,就可以上网了。
xwy520999 于 2011-09-13 22:57:31发表:
应该是DNS服务器的问题,请将两个DNS服务器地址改为8.8.8.8和8.8.4.4(这2个DNS为谷歌公用DNS服务器)
kemen 于 2008-07-14 20:44:17发表:
如果XP下可以的?,?理由linux下不行的,首先先要?定你不能上的?站,你用ping可以ping通??如果可以ping得通,肯定是??器或是proxy的??。
codycody23 于 2008-07-12 14:37:12发表:
我家里还有个路由器我接到路由上配置路由后 linux里使用自动获取IP配置,照样开不了网页,
或者只能打开百度,搜出来的网页也打不开。
codycody23 于 2008-07-12 14:35:15发表:
.........................................................:0wl;l1
codycody23 于 2008-07-12 14:17:13发表:
为什么在XP下可以上的好好的 到了LINUX现就连不上,或者只能打开百度,搜出来的网页也打不开。
wgyzhechao 于 2008-07-11 13:51:48发表:
:0wszxc 可能是包被赌咯。
kemen 于 2008-07-11 08:53:04发表:
??呀,??和你的?子???,估???就出在你?位小?的服?器那?,找他?看下是不是做了?接??
codycody23 于 2008-07-11 00:21:03发表:
打不开,。。。。。。。。。。。。。
deepwhite 于 2008-07-10 14:30:31发表:
通过在firefox地址栏直接输入nslookup得到的IP可以访问么?
codycody23 于 2008-07-10 12:21:17发表:
nslookup www.google.cn
nslookup www.hao123.com
nslookup www.baidu.com
nslookup www.sina.com.cn
都是通的 但是就只能打开百度,其余的一直卡在哪里,百度搜出来的网页打开,也是一直卡在哪里。
codycody23 于 2008-07-10 12:17:18发表:
去不掉啊,是单位小区局域网服务器那里绑定的,我怎么去掉?
codycody23 于 2008-07-10 12:15:31发表:
不用火狐,用KDE 带的浏览器来上也不行。。。
codycody23 于 2008-07-10 12:12:36发表:
换UBUNTU试情况和fedora一样。。。。。。。

发现问题,好像只可以上百度
,百度搜出来的网页也上不了
google和新浪,好123都上不了,卡在那里。。。。
wgyzhechao 于 2008-07-10 10:07:31发表:
去掉路由器上IP和MAC绑定的设置试试看。
wgyzhechao 于 2008-07-10 10:02:56发表:
去掉路由器上IP和MAC绑定的设置试试看。
kemen 于 2008-07-10 09:22:32发表:
你的?路估?是???的,查下FireFox有??定proxy? ?定下fireFox的??方式,
改用另外一?DNS?下
xiaoyun5109 于 2008-07-10 09:05:23发表:
查看一下/etc/sysconfig/networking目录下的配置文件
/etc/sysconfig/networking 目录下的配置文件优先于 /etc/sysconfig/network-scripts目录下的配置;
另外 nslookup www.google.cn 看下效果
[root@localhost ~]# nslookup www.google.cn
Server: 10.10.0.27
Address: 10.10.0.27#53
Non-authoritative answer:
www.google.cn canonical name = cn.l.google.com.
Name: cn.l.google.com
Address: 203.208.35.101
Name: cn.l.google.com
Address: 203.208.35.100
最后查一下firefox设置,是否脱机状态等
codycody23 于 2008-07-10 08:27:38发表:
怀疑是DNS问题,怎么解决,,,,,,,,?
codycody23 于 2008-07-10 08:00:46发表:
改换另一种方式,用自动获取的,还是不行:
郁闷现在我把路由接上去了, 然后用电脑接路由 linux设自动获取。。。。。。。情况一样
在XP里设自动获取可以上得网。。。。。。。。。。。。
codycody23 于 2008-07-10 07:58:10发表:
linux下打开网页时,总提示:"载入http://www.xxxx.com时出错,无法连接到www.xxx.com主机.
或者卡在那里一直载入。。。。。。。。。。。。。。。。
codycody23 于 2008-07-10 07:57:47发表:
通过局域网?
是的是局域网。
IP和网卡物理地址绑定。
IP:192.168.0.157
子网:255.255.255.0
网关:192.168.0.1
DNS:202.103.224.68
DNS:202.103.225.68
我在XP下填这些就可以上网,在fedora8下配置就是上不了,不是提示无法打开网页就是一直在那里正在打开网页。。。。。。。不知道是什么卡住了。
codycody23 于 2008-07-10 07:55:26发表:
有*码~~~~~~~~~~~~~:0)1
放*码~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~?
[mojian@mojian ~]$ su -
[root@mojian ~]# config-bind
-bash: config-bind: command not found
[root@mojian ~]# lcpci
-bash: lcpci: command not found
///////////////////////////////////////
网络状况:
[root@mojian ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:05:13:64:0C
inet addr:192.168.0.157 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::240:5ff:fe13:640c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5019 errors:0 dropped:0 overruns:0 frame:0
TX packets:3587 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5521528 (5.2 MiB) TX bytes:203511 (198.7 KiB)
Interrupt:10 Base address:0x4f00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3645 errors:0 dropped:0 overruns:0 frame:0
TX packets:3645 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3650416 (3.4 MiB) TX bytes:3650416 (3.4 MiB)
virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:5556 (5.4 KiB)
////////////////////////////////////
PING测试:
[root@mojian ~]# ping 192.168.0.1 //////////////ping主机
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=255 time=0.333 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=255 time=0.330 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=255 time=0.278 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=255 time=0.298 ms
64 bytes from 192.168.0.1: icmp_seq=5 ttl=255 time=0.354 ms
64 bytes from 192.168.0.1: icmp_seq=6 ttl=255 time=0.335 ms
64 bytes from 192.168.0.1: icmp_seq=7 ttl=255 time=0.287 ms
64 bytes from 192.168.0.1: icmp_seq=8 ttl=255 time=0.281 ms
64 bytes from 192.168.0.1: icmp_seq=9 ttl=255 time=0.256 ms
[root@mojian ~]# ping 192.168.0.157 /////////////ping自己
PING 192.168.0.157 (192.168.0.157) 56(84) bytes of data.
64 bytes from 192.168.0.157: icmp_seq=1 ttl=64 time=0.119 ms
64 bytes from 192.168.0.157: icmp_seq=2 ttl=64 time=0.090 ms
64 bytes from 192.168.0.157: icmp_seq=3 ttl=64 time=0.108 ms
64 bytes from 192.168.0.157: icmp_seq=4 ttl=64 time=0.145 ms
64 bytes from 192.168.0.157: icmp_seq=5 ttl=64 time=0.106 ms
64 bytes from 192.168.0.157: icmp_seq=6 ttl=64 time=0.104 ms
64 bytes from 192.168.0.157: icmp_seq=7 ttl=64 time=0.113 ms
64 bytes from 192.168.0.157: icmp_seq=8 ttl=64 time=0.105 ms
64 bytes from 192.168.0.157: icmp_seq=9 ttl=64 time=0.104 ms
64 bytes from 192.168.0.157: icmp_seq=10 ttl=64 time=0.108 ms
64 bytes from 192.168.0.157: icmp_seq=11 ttl=64 time=0.101 ms
64 bytes from 192.168.0.157: icmp_seq=12 ttl=64 time=0.107 ms
--- 192.168.0.157 ping statistics ---
13 packets transmitted, 13 received, 0% packet loss, time 11998ms
rtt min/avg/max/mdev = 0.090/0.108/0.145/0.015 ms
[root@mojian ~]# ping 202.103.224.68 ///////////pingDNS
PING 202.103.224.68 (202.103.224.6 56(84) bytes of data.
[root@mojian ~]# ping 202.103.225.68
PING 202.103.225.68 (202.103.225.6 56(84) bytes of data.
[mojian@mojian ~]$ ping 202.103.225.38
PING 202.103.225.38 (202.103.225.3 56(84) bytes of data.
////////////////////////////////////////////////////////////////////////////////////////////
查看网络配置:
[root@mojian ~]# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=mojian
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/sysconfig/network" 2L, 31C
///////////////////////
网卡配置参数情况:
[root@mojian ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
GATEWAY=192.168.0.1
TYPE=Ethernet
DEVICE=eth0
BOOTPROTO=none
NETMASK=255.255.255.0
IPADDR=192.168.0.157
USERCTL=yes
IPV6INIT=yes
PEERDNS=yes
BROADCAST=192.168.0.255
HWADDR=00:40:05:13:64:0c
ONBOOT=yes
~
~
~
~
~
~
~
~
~
"/etc/sysconfig/network-scripts/ifcfg-eth0" 14L, 303C
//////////////////////////
DNS配置情况:
[root@mojian ~]# vi /etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 202.103.224.68
nameserver 202.103.225.68
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/resolv.conf" 3L, 89C
///////////
激活:
[root@mojian ~]# ifdown eth0
[root@mojian ~]# ifup eth0
[root@mojian ~]#
[ 本帖最后由 codycody23 于 2008-7-10 08:54 编辑 ]
deepwhite 于 2008-07-09 19:59:36发表:
XP下可以ping通DNS服务器么?终端下输入:nslookup www.google.com有什么反应么?
codycody23 于 2008-07-09 18:14:21发表:
ping 192.168.0.1 网关 通
ping192.168.0.157 自己 通
ping DNS 202.103.224.68 不通
我防火墙都关了,网页要不就是打不开,要不就是一直在那里连接。
奶茶dsk 于 2008-07-09 13:15:52发表:
同意.
deepwhite 于 2008-07-09 12:26:37发表:
ping 自己
ping 网关
ping DNS
看看哪里卡住了
jcmatio 于 2008-07-09 11:59:03发表:
换过自动或是不设DNS,或用HTTP都试一下