slackware12 adsl不能上网(pppoe-start已连接)。。
时间:2007-10-20
来源:互联网
电话线接猫,猫接网卡,
root@darkslack:~# pppoe-start
. Connected!
root@darkslack:~# cat /etc/resolv.conf
nameserver 218.2.135.1
nameserver 61.147.37.1
root@darkslack:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:03:0D:6B:1A:83
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::203:dff:fe6b:1a83/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2628 errors:0 dropped:0 overruns:0 frame:0
TX packets:2959 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1437805 (1.3 MiB) TX bytes:388568 (379.4 KiB)
Interrupt:17 Base address:0x2000
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:38 errors:0 dropped:0 overruns:0 frame:0
TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3096 (3.0 KiB) TX bytes:3096 (3.0 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:221.226.137.86 P-t-P:221.231.205.99 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:54 (54.0 b) TX bytes:61 (61.0 b)
root@darkslack:~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.236 ms
--- 192.168.1.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.236/0.236/0.236/0.000 ms
root@darkslack:~# ping 221.226.137.86
PING 221.226.137.86 (221.226.137.86) 56(84) bytes of data.
64 bytes from 221.226.137.86: icmp_seq=1 ttl=64 time=0.033 ms
64 bytes from 221.226.137.86: icmp_seq=2 ttl=64 time=0.032 ms
--- 221.226.137.86 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.032/0.032/0.033/0.005 ms
root@darkslack:~# ping 221.231.205.99
PING 221.231.205.99 (221.231.205.99) 56(84) bytes of data.
From 192.168.1.100 icmp_seq=1 Destination Host Unreachable
From 192.168.1.100 icmp_seq=2 Destination Host Unreachable
From 192.168.1.100 icmp_seq=3 Destination Host Unreachable
--- 221.231.205.99 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3008ms
, pipe 3
root@darkslack:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
221.231.205.99 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 1 0 0 eth0
root@darkslack:~# pppoe-start
. Connected!
root@darkslack:~# cat /etc/resolv.conf
nameserver 218.2.135.1
nameserver 61.147.37.1
root@darkslack:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:03:0D:6B:1A:83
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::203:dff:fe6b:1a83/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2628 errors:0 dropped:0 overruns:0 frame:0
TX packets:2959 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1437805 (1.3 MiB) TX bytes:388568 (379.4 KiB)
Interrupt:17 Base address:0x2000
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:38 errors:0 dropped:0 overruns:0 frame:0
TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3096 (3.0 KiB) TX bytes:3096 (3.0 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:221.226.137.86 P-t-P:221.231.205.99 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:54 (54.0 b) TX bytes:61 (61.0 b)
root@darkslack:~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.236 ms
--- 192.168.1.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.236/0.236/0.236/0.000 ms
root@darkslack:~# ping 221.226.137.86
PING 221.226.137.86 (221.226.137.86) 56(84) bytes of data.
64 bytes from 221.226.137.86: icmp_seq=1 ttl=64 time=0.033 ms
64 bytes from 221.226.137.86: icmp_seq=2 ttl=64 time=0.032 ms
--- 221.226.137.86 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.032/0.032/0.033/0.005 ms
root@darkslack:~# ping 221.231.205.99
PING 221.231.205.99 (221.231.205.99) 56(84) bytes of data.
From 192.168.1.100 icmp_seq=1 Destination Host Unreachable
From 192.168.1.100 icmp_seq=2 Destination Host Unreachable
From 192.168.1.100 icmp_seq=3 Destination Host Unreachable
--- 221.231.205.99 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3008ms
, pipe 3
root@darkslack:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
221.231.205.99 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 1 0 0 eth0
作者: darkslack 发布时间: 2007-10-20
我用的是mandriva2008,联网时,我的问题和你的一样
作者: humand 发布时间: 2007-10-25
请问你现在解决这个问题了吗?教教我把,我的还上不了
南昌宽带+netcore路由器作交换机用+电脑
南昌宽带+netcore路由器作交换机用+电脑
作者: humand 发布时间: 2007-10-25
终于搞定了~~~~
我的问题是路由的问题
route add default gw 221.231.205.99
其中221.231.205.99是ifconfig ppp0时P-t-P:后面的。
我的问题是路由的问题
route add default gw 221.231.205.99
其中221.231.205.99是ifconfig ppp0时P-t-P:后面的。
作者: darkslack 发布时间: 2007-10-25
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28