LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
123
返回列表 发新帖
楼主: 玉碎残魂

redhat9 ,ADSL上不了网 (开始能上后来不能了)

[复制链接]
 楼主| 发表于 2004-10-19 18:03:20 | 显示全部楼层
太奇怪了,我没再 改adsl到设置,但今天居然又 能上网了。
运行#adsl-start后没出现任何提示,就是以前上网一样,
再 运行#ifconfig看到了我自己到动态IP,然后就可以ping到网络里到主机了。
下面是#ifconfig,和#route -n的输出,不知道有可以说明些 什 么。现在是能上网了。呵呵

[root@localhost root]# adsl-start
[root@localhost root]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:4C:F2:79:08
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:744 (744.0 b)  TX bytes:2848 (2.7 Kb)
          Interrupt:10 Base address:0x6000

lo        Link encapocal Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:638 errors:0 dropped:0 overruns:0 frame:0
          TX packets:638 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:43320 (42.3 Kb)  TX bytes:43320 (42.3 Kb)

ppp0      Link encapoint-to-Point Protocol
          inet addr:61.149.22.167  P-t-P:24.24.24.24  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:150 (150.0 b)  TX bytes:206 (206.0 b)

[root@localhost root]# ipconfig
bash: ipconfig: command not found
[root@localhost root]# ping www.163.com
PING www.163.com (202.108.36.172) 56(84) bytes of data.
64 bytes from 202.108.36.172: icmp_seq=1 ttl=56 time=11.5 ms
64 bytes from 202.108.36.172: icmp_seq=2 ttl=56 time=11.8 ms
64 bytes from 202.108.36.172: icmp_seq=3 ttl=56 time=12.5 ms
64 bytes from 202.108.36.172: icmp_seq=4 ttl=56 time=12.4 ms
64 bytes from 202.108.36.172: icmp_seq=5 ttl=56 time=13.1 ms
64 bytes from 202.108.36.172: icmp_seq=6 ttl=56 time=11.9 ms
64 bytes from 202.108.36.172: icmp_seq=7 ttl=56 time=12.7 ms

--- www.163.com ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 9156ms
rtt min/avg/max/mdev = 11.509/12.329/13.181/0.531 ms
[root@localhost root]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
24.24.24.24     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 lo
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         24.24.24.24     0.0.0.0         UG    0      0        0 ppp0
[root@localhost root]#
发表于 2004-10-19 19:43:55 | 显示全部楼层
可怕的预兆,我喜欢探险
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表