LinuxSir.cn,穿越时空的Linuxsir!

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

Linux下设置直通车成功的达人们请帮忙看看

[复制链接]
发表于 2007-5-17 16:28:35 | 显示全部楼层 |阅读模式
能否告知一下怎么弄?我照着网上的方法设置,pptp启动不了
平时是使用无线网络,eth2
按照网上设置
gentoo peers # cat eduexp
pty "pptp 219.242.176.37 --nolaunchpppd"
name starain
remotename eduexp
file /etc/ppp/options.pptp
ipparam eduexp

但是启动不成功
gentoo peers # pon eduexp
gentoo peers # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.18.0 0.0.0.0 255.255.255.0 U 2000 0 0 eth2
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.18.1 0.0.0.0 UG 2000 0 0 eth2

内核版本2.6.19

谢谢
 楼主| 发表于 2007-5-17 16:32:33 | 显示全部楼层
日志:

May 17 16:18:41 gentoo pppd[8422]: pppd 2.4.4 started by root, uid 0
May 17 16:18:41 gentoo pppd[8422]: using channel 4
May 17 16:18:41 gentoo pppd[8422]: Using interface ppp0
May 17 16:18:41 gentoo pppd[8422]: Connect: ppp0 <--> /dev/pts/2
May 17 16:18:41 gentoo pptp[8423]: anon log[main:pptp.c:272]: The synchronous pptp option is NOT activated
May 17 16:18:41 gentoo pptp[8428]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
May 17 16:18:41 gentoo pptp[8428]: anon log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
May 17 16:18:41 gentoo pptp[8428]: anon log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.
May 17 16:18:42 gentoo pppd[8422]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd672d44c> <pcomp> <accomp>]
May 17 16:18:42 gentoo pptp[8428]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
May 17 16:18:42 gentoo pptp[8428]: anon log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.
May 17 16:18:42 gentoo pptp[8428]: anon log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's call ID 48640).
May 17 16:18:45 gentoo pppd[8422]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd672d44c> <pcomp> <accomp>]
May 17 16:18:48 gentoo pppd[8422]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd672d44c> <pcomp> <accomp>]
May 17 16:18:51 gentoo pppd[8422]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd672d44c> <pcomp> <accomp>]
May 17 16:18:54 gentoo pppd[8422]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd672d44c> <pcomp> <accomp>]
May 17 16:18:57 gentoo pppd[8422]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd672d44c> <pcomp> <accomp>]
May 17 16:19:00 gentoo pppd[8422]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd672d44c> <pcomp> <accomp>]
May 17 16:19:03 gentoo pppd[8422]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd672d44c> <pcomp> <accomp>]
May 17 16:19:06 gentoo pppd[8422]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd672d44c> <pcomp> <accomp>]
May 17 16:19:09 gentoo pppd[8422]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd672d44c> <pcomp> <accomp>]
May 17 16:19:12 gentoo pppd[8422]: LCP: timeout sending Config-Requests
May 17 16:19:12 gentoo pppd[8422]: Connection terminated.
May 17 16:19:12 gentoo pptp[8423]: anon warn[decaps_hdlc:pptp_gre.c:197]: short read (-1): Input/output error
May 17 16:19:12 gentoo pptp[8423]: anon warn[decaps_hdlc:pptp_gre.c:209]: pppd may have shutdown, see pppd log
May 17 16:19:12 gentoo pppd[8422]: Modem hangup
May 17 16:19:12 gentoo pppd[8422]: Waiting for 1 child processes...
May 17 16:19:12 gentoo pppd[8422]: script pptp 219.242.176.37 --nolaunchpppd, pid 8423
May 17 16:19:12 gentoo pppd[8422]: Script pptp 219.242.176.37 --nolaunchpppd finished (pid 8423), status = 0x0
May 17 16:19:12 gentoo pppd[8422]: Exit.
May 17 16:19:12 gentoo pptp[8428]: anon log[callmgr_main:pptp_callmgr.c:231]: Closing connection (unhandled)
May 17 16:19:12 gentoo pptp[8428]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
May 17 16:19:12 gentoo pptp[8428]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
回复 支持 反对

使用道具 举报

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

本版积分规则

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