LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1128|回复: 0

adsl宽带上网路由设置的问题。

[复制链接]
发表于 2005-3-22 15:19:48 | 显示全部楼层 |阅读模式
我在安装debian linux hiweed版时,让系统自动设置DHCP没有成功说是无法获得ip。
然后我又用设置了adsl上网在输入我的铁通帐户和密码后,adsl启动了。但是无法上网,ping也不同。

我用ifconfig 查看了一下连接信息如下:

eth0 Link encap:Ethernet HWaddr 00:11:9D:87:86:C2
inet6 addr: fe80::211:5bff:fe87:86c2/64 Scopeink
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:289 errors:0 dropped:0 overruns:0 frame:0
TX packets:608 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24078 (23.5 KiB) TX bytes:40233 (39.2 KiB)
Interrupt:10 Base address:0xc000

lo Link encapocal 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:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:700 (700 B) TX bytes:700 (700.0 B)

ppp0 Link encapoint-to-Point Protocol
POINTOPOINT NOARP MULTICAST MTU:1492 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:0 (0 B) TX bytes:0 (0 b)

然后我用netstat -r 查了一下。显示如下:
Kernel IP routing table
Destinations Gateway Genmask Flags MSS Window irtt Iface
只有这几个表头,显示内容为空,什么都没显示。

我又用route 查了一下
Kernel IP routing table
Destinations Gateway Genmask Flags Metric Ref Use Iface
同样也为空。
是不是说明我没有路由配置?
我又使用route add default ppp0 命令,但是显示错误信息说找不到设备。

是不是我不能上网是因为路由配置没有设置?如果是这样,路由设置应该怎样设置?
一个多月了,换了n个系统,都上不了网。
我应该怎么办,各位大虾,谢谢。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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