+ -
当前位置:首页 → 问答吧 → L2TP 一键安装包 俢改chap-secrets后无法联线

L2TP 一键安装包 俢改chap-secrets后无法联线

时间:2014-03-05

来源:互联网

原本
复制内容到剪贴板代码:[root~]# vi /etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
test l2tpd test123 *
~
俢改前l2tpd debug mode LOG
复制内容到剪贴板代码:xl2tpd[20268]: Enabling IPsec SAref processing for L2TP transport mode SAs
xl2tpd[20268]: IPsec SAref does not work with L2TP kernel mode yet, enabling for ceuserspace=yes
xl2tpd[20268]: setsockopt recvref[22]: Protocol not available
xl2tpd[20268]: This binary does not support kernel L2TP.
xl2tpd[20268]: xl2tpd version xl2tpd-1.2.4 started on li385-236 PID:20268
xl2tpd[20268]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
xl2tpd[20268]: Forked by Scott Balmos and David Stipp, (C) 2001
xl2tpd[20268]: Inherited by Jeff McAdams, (C) 2002
xl2tpd[20268]: Forked again by Xelerance (www.xelerance.com) (C) 2006
xl2tpd[20268]: Listening on IP address 0.0.0.0, port 1701
[color=Red]xl2tpd[20268]: control_finish: Peer requested tunnel 35 twice, ignoring second o ne.
xl2tpd[20268]: Connection established to 210.*.*.***, 1701. Local: 1538, Remo te: 35 (ref=0/0). LNS session is 'default'
xl2tpd[20268]: result_code_avp: result code not appropriate for Incoming-Call-Re quest. Ignoring.
xl2tpd[20268]: start_pppd: I'm running:
xl2tpd[20268]: "/usr/sbin/pppd"
xl2tpd[20268]: "passive"
xl2tpd[20268]: "nodetach"
xl2tpd[20268]: "10.0.99.1:10.0.99.2"
xl2tpd[20268]: "refuse-pap"
xl2tpd[20268]: "refuse-chap"
xl2tpd[20268]: "auth"
xl2tpd[20268]: "debug"
xl2tpd[20268]: "file"
xl2tpd[20268]: "/etc/ppp/options.xl2tpd"
xl2tpd[20268]: "/dev/pts/1"
xl2tpd[20268]: Call established with 210.*.***.***, Local: 10990, Remote: 1, Ser ial: 0
xl2tpd[20268]: control_finish: Connection closed to 210.*.***.***, serial 0 ()
xl2tpd[20268]: Terminating pppd: sending TERM signal to pid 20287
xl2tpd[20268]: pppd 20287 successfully terminated[/color]
俢改
复制内容到剪贴板代码:[root~]# vi /etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
test l2tpd test123 *
hkepcdemo l2tpd hkepc123 *
~
俢改chap-secrets 后 xl2tpd debug mode LOG
复制内容到剪贴板代码:xl2tpd[20601]: Enabling IPsec SAref processing for L2TP transport mode SAs
xl2tpd[20601]: IPsec SAref does not work with L2TP kernel mode yet, enabling forceuserspace=yes
xl2tpd[20601]: setsockopt recvref[22]: Protocol not available
xl2tpd[20601]: This binary does not support kernel L2TP.
xl2tpd[20601]: xl2tpd version xl2tpd-1.2.4 started on li385-236 PID:20601
xl2tpd[20601]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
xl2tpd[20601]: Forked by Scott Balmos and David Stipp, (C) 2001
xl2tpd[20601]: Inherited by Jeff McAdams, (C) 2002
xl2tpd[20601]: Forked again by Xelerance (www.xelerance.com) (C) 2006
xl2tpd[20601]: Listening on IP address 0.0.0.0, port 1701
无法联线

[ 本帖最后由 99236299 於 2013-11-3 05:40 PM 编辑 ]

作者: 99236299   发布时间: 2014-03-05