免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1100 | 回复: 3
打印 上一主题 下一主题

[求助]adsl拨号问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-10-13 11:17 |只看该作者 |倒序浏览
现在拨号的时候显示:No available tunnel devices found(No such file or directory)

我的ppp.conf
default:
set log Phase tun command
ident user-ppp VERSION (built COMPILATIONDATE)

# Ensure that "device" references the correct serial port
# for your modem. (cuaa0 = COM1, cuaa1 = COM2)
#
set device PPPoE:lnc0

set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set timeout 180                        # 3 minute idle timer (the default)
enable dns                                # request DNS info (for resolv.conf)

PPPoE:
#
# edit the next three lines and replace the items in caps with
# the values which have been assigned by your ISP.
#

set phone PHONE_NUM
set authname ####
set authkey ******

set ifaddr 10.0.0.1/0 10.0.0.2/0
add default HISADDR                        # Add a (sticky) default route




我的ifconfig
lnc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>; mtu 1500
        inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::20c:29ff:fe2c:c5c6%lnc0 prefixlen 64 scopeid 0x1
        ether 00:0c:29:2c:c5:c6
lp0: flags=8810<OINTOPOINT,SIMPLEX,MULTICAST>; mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST>; mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<OINTOPOINT,MULTICAST>; mtu 1500
sl0: flags=c010<OINTOPOINT,LINK2,MULTICAST>; mtu 552
faith0: flags=8002<BROADCAST,MULTICAST>; mtu 1500
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST>; mtu 1500
        inet 10.0.0.1 -->; 10.0.0.2 netmask 0xffffffff
        Opened by PID 179
tun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST>; mtu 1500
        Opened by PID 197
tun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST>; mtu 1500
        Opened by PID 199
tun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST>; mtu 1500
        Opened by PID 202

论坛徽章:
0
2 [报告]
发表于 2004-10-13 13:50 |只看该作者

[求助]adsl拨号问题

论坛徽章:
0
3 [报告]
发表于 2004-10-13 20:23 |只看该作者

[求助]adsl拨号问题

然后我把默认路由去掉
route delete 0.0.0.0
然后再拨,没有错误提示了,如下:
[root@no1 /etc/ppp]$ppp -ddial PPPoE
Working in ddial mode
Using interface: tun0

可死活ping不通外网,显示no route to host,怎么回事

论坛徽章:
0
4 [报告]
发表于 2004-10-14 22:40 |只看该作者

[求助]adsl拨号问题

ding
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP