首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >pppd:由对等方终止的LCP (对等方拒绝认证)

pppd:由对等方终止的LCP (对等方拒绝认证)
EN

Ask Ubuntu用户
提问于 2014-09-04 20:42:57
回答 1查看 5.4K关注 0票数 1

我很困惑,VPN客户端在我的虚拟机上完美无缺地工作,今天当我尝试它无法连接到L2TP VPN服务器时.这是我客户端VM的日志,有人能帮忙吗?我没有改变任何东西(故意),我不明白为什么突然间同伴不想认证,这是预期的,在过去还是一个新的东西?我的平板电脑仍然能像以前一样连接起来。

代码语言:javascript
复制
Sep  4 22:29:51 ubuntu64 ipsec_setup: ...Openswan IPsec started
Sep  4 22:29:51 ubuntu64 L2tpIPsecVpnControlDaemon: Command ipsec setup start finished with exit code 0
Sep  4 22:29:51 ubuntu64 L2tpIPsecVpnControlDaemon: Executing command service xl2tpd start
Sep  4 22:29:51 ubuntu64 xl2tpd[4665]: setsockopt recvref[30]: Protocol not available
Sep  4 22:29:51 ubuntu64 ipsec__plutorun: adjusting ipsec.d to /etc/ipsec.d
Sep  4 22:29:51 ubuntu64 xl2tpd[4665]: This binary does not support kernel L2TP.
Sep  4 22:29:51 ubuntu64 L2tpIPsecVpnControlDaemon: Command service xl2tpd start finished with exit code 0
Sep  4 22:29:51 ubuntu64 pluto: adjusting ipsec.d to /etc/ipsec.d
Sep  4 22:29:51 ubuntu64 xl2tpd[4666]: xl2tpd version xl2tpd-1.3.6 started on ubuntu64 PID:4666
Sep  4 22:29:51 ubuntu64 xl2tpd[4666]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Sep  4 22:29:51 ubuntu64 xl2tpd[4666]: Forked by Scott Balmos and David Stipp, (C) 2001
Sep  4 22:29:51 ubuntu64 xl2tpd[4666]: Inherited by Jeff McAdams, (C) 2002
Sep  4 22:29:51 ubuntu64 xl2tpd[4666]: Forked again by Xelerance (www.xelerance.com) (C) 2006
Sep  4 22:29:51 ubuntu64 xl2tpd[4666]: Listening on IP address 0.0.0.0, port 1701
Sep  4 22:29:51 ubuntu64 ipsec__plutorun: 002 added connection description "CBER_L2TP_CABLE"
Sep  4 22:29:51 ubuntu64 L2tpIPsecVpnControlDaemon: Executing command ipsec auto --ready
Sep  4 22:29:52 ubuntu64 ipsec__plutorun: 002 added connection description "CBER_L2TP_ADSL"
Sep  4 22:29:52 ubuntu64 L2tpIPsecVpnControlDaemon: Command ipsec auto --ready finished with exit code 0
Sep  4 22:29:52 ubuntu64 L2tpIPsecVpnControlDaemon: Executing command ipsec auto --up CBER_L2TP_CABLE
Sep  4 22:29:52 ubuntu64 L2tpIPsecVpnControlDaemon: Command ipsec auto --up CBER_L2TP_CABLE finished with exit code 0
Sep  4 22:29:53 ubuntu64 L2tpIPsecVpnControlDaemon: Closing client connection
Sep  4 22:29:53 ubuntu64 xl2tpd[4666]: Connecting to host yin-cable.dyndns.biz, port 1701
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: Connection established to 999.999.999.999, 1701.  Local: 19801, Remote: 56042 (ref=0/0).
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: Calling on tunnel 19801
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: check_control: Received out of order control packet on tunnel 56042 (got 0, expected 1)
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: handle_packet: bad control packet!
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: check_control: Received out of order control packet on tunnel 56042 (got 0, expected 1)
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: handle_packet: bad control packet!
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: Call established with 999.999.999.999, Local: 5753, Remote: 13038, Serial: 1 (ref=0/0)
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: start_pppd: I'm running: 
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: "/usr/sbin/pppd" 
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: "passive" 
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: "nodetach" 
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: ":" 
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: "file" 
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: "/etc/ppp/CBER_L2TP_CABLE.options.xl2tpd" 
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: "/dev/pts/4" 
Sep  4 22:29:55 ubuntu64 pppd[4725]: Plugin passprompt.so loaded.
Sep  4 22:29:55 ubuntu64 pppd[4725]: pppd 2.4.5 started by root, uid 0
Sep  4 22:29:55 ubuntu64 pppd[4725]: Using interface ppp0
Sep  4 22:29:55 ubuntu64 pppd[4725]: Connect: ppp0 <--> /dev/pts/4
Sep  4 22:29:55 ubuntu64 NetworkManager[794]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Sep  4 22:29:55 ubuntu64 NetworkManager[794]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Sep  4 22:29:55 ubuntu64 NetworkManager[794]: <warn> /sys/devices/virtual/net/ppp0: couldn't determine device driver; ignoring...
Sep  4 22:29:55 ubuntu64 pppd[4725]: LCP terminated by peer (peer refused to authenticate)
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: control_finish: Connection closed to 999.999.999.999, serial 1 ()
Sep  4 22:29:55 ubuntu64 xl2tpd[4666]: Terminating pppd: sending TERM signal to pid 4725
Sep  4 22:29:55 ubuntu64 pppd[4725]: Terminating on signal 15
Sep  4 22:29:55 ubuntu64 pppd[4725]: Modem hangup
Sep  4 22:29:55 ubuntu64 pppd[4725]: Connection terminated.
Sep  4 22:29:55 ubuntu64 NetworkManager[794]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Sep  4 22:29:55 ubuntu64 pppd[4725]: Exit.
EN

回答 1

Ask Ubuntu用户

发布于 2015-10-28 10:50:49

您的L2TP客户端在连接过程中丢失密码。您必须在文件中添加连接参数,例如下面的用户名短语-密码"Your_pass“。

代码语言:javascript
复制
nano /etc/ppp/Your_connection_name.options.xl2tpd

您应该在文件的底部添加:

代码语言:javascript
复制
password "Your_pass"

但请记住:

  • 保留纯文本密码不是个好主意,
  • 更改设置后,您的密码将被重写,并将取消密码。
票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/520220

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档