红联首页 凝聚Linux人的力量
菜鸟过关 | 精华文档 | 同城人(交友) | 我与Linux的故事 | Linux新闻 | Linux视频 | Linux人才 | 软件下载 | 大学校园 | English
 27 123
发新话题
打印

求助,F8里设置 IP ,但还是无法开网页。(放回显在7楼)

求助,F8里设置 IP ,但还是无法开网页。(放回显在7楼)

求助,F8里设置 IP ,但还是无法开网页。
。(放回显在7楼)

如图:







///////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////
.//////////////////////////////////////////////////////////////////
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 编辑 ]

TOP

换过自动或是不设DNS,或用HTTP都试一下

TOP

ping 自己
ping 网关
ping DNS
看看哪里卡住了

TOP

引用:
原帖由 deepwhite 于 2008-7-9 12:26 发表
ping 自己
ping 网关
ping DNS
看看哪里卡住了
同意.
沧海月明珠有泪。。。

TOP

ping 192.168.0.1     网关 通
ping192.168.0.157   自己 通
ping DNS 202.103.224.68  不通


我防火墙都关了,网页要不就是打不开,要不就是一直在那里连接。

TOP

引用:
原帖由 codycody23 于 2008-7-9 18:14 发表
ping 192.168.0.1     网关 通
ping192.168.0.157   自己 通
ping DNS 202.103.224.68  不通


我防火墙都关了,网页要不就是打不开,要不就是一直在那里连接。
XP下可以ping通DNS服务器么?终端下输入:nslookup www.google.com有什么反应么?

TOP

有*码~~~~~~~~~~~~~
放*码~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~·

[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 编辑 ]
附件: 您所在的用户组无法下载或查看附件

TOP

通过局域网?

是的是局域网。

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下配置就是上不了,不是提示无法打开网页就是一直在那里正在打开网页。。。。。。。不知道是什么卡住了。

TOP

linux下打开网页时,总提示:"载入http://www.xxxx.com时出错,无法连接到www.xxx.com主机.
或者卡在那里一直载入。。。。。。。。。。。。。。。。

TOP

改换另一种方式,用自动获取的,还是不行:

郁闷现在我把路由接上去了, 然后用电脑接路由 linux设自动获取。。。。。。。情况一样

在XP里设自动获取可以上得网。。。。。。。。。。。。

TOP

 27 123
发新话题