链接vpn报错

上网、浏览、聊天、下载等
shouhulife
帖子: 13
注册时间: 2014-08-12 9:31
系统: win7

链接vpn报错

#1

帖子 shouhulife » 2014-08-25 18:41

我用pptp链接时报错是启动服务失败。
我用ipsec链接时报下面的错误
8月 25 18:32:25.044 xl2tpd[2775]: check_control: Received out of order control packet on tunnel 58382 (got 4, expected 5)
8月 25 18:32:25.044 xl2tpd[2775]: get_call: can't find call 57619 in tunnel 46619#012 (ref=0/0)
8月 25 18:32:25.044 xl2tpd[2775]: check_control: Received out of order control packet on tunnel 58382 (got 4, expected 5)
8月 25 18:32:25.046 xl2tpd[2775]: get_call: can't find call 57619 in tunnel 46619#012 (ref=0/0)
8月 25 18:32:25.046 xl2tpd[2775]: check_control: Received out of order control packet on tunnel 58382 (got 4, expected 5)
8月 25 18:32:25.046 xl2tpd[2775]: get_call: can't find call 57619 in tunnel 46619#012 (ref=0/0)

8月 25 18:33:44.081 xl2tpd[2775]: get_call: can't find call 57619 in tunnel 46619#012 (ref=0/0)
8月 25 18:33:44.082 xl2tpd[2775]: check_control: Received out of order control packet on tunnel 58382 (got 5, expected 6)
8月 25 18:33:44.082 xl2tpd[2775]: get_call: can't find call 57619 in tunnel 46619#012 (ref=0/0)
8月 25 18:33:44.082 xl2tpd[2775]: check_control: Received out of order control packet on tunnel 58382 (got 5, expected 6)
8月 25 18:33:44.082 xl2tpd[2775]: get_call: can't find call 57619 in tunnel 46619#012 (ref=0/0)
8月 25 18:33:44.082 xl2tpd[2775]: check_control: Received out of order control packet on tunnel 58382 (got 5, expected 6)
8月 25 18:33:44.083 xl2tpd[2775]: get_call: can't find call 57619 in tunnel 46619#012 (ref=0/0)
8月 25 18:33:44.083 xl2tpd[2775]: check_control: Received out of order control packet on tunnel 58382 (got 5, expected 6)
8月 25 18:33:44.083 xl2tpd[2775]: get_call: can't find call 57619 in tunnel 46619#012 (ref=0/0)
8月 25 18:33:44.083 xl2tpd[2775]: check_control: Received out of order control packet on tunnel 58382 (got 5, expected 6)
8月 25 18:33:44.084 xl2tpd[2775]: get_call: can't find call 57619 in tunnel 46619#012 (ref=0/0)
8月 25 18:33:44.084 xl2tpd[2775]: check_control: Received out of order control packet on tunnel 58382 (got 5, expected 6)
8月 25 18:33:44.084 xl2tpd[2775]: get_call: can't find call 57619 in tunnel 46619#012 (ref=0/0)
8月 25 18:33:44.084 xl2tpd[2775]: check_control: Received out of order control packet on tunnel 58382 (got 5, expected 6)
8月 25 18:33:44.085 xl2tpd[2775]: get_call: can't find call 57619 in tunnel 46619#012 (ref=0/0)
8月 25 18:33:44.086 xl2tpd[2775]: check_control: Received out of order control packet on tunnel 58382 (got 5, expected 6)
8月 25 18:33:44.086 xl2tpd[2775]: get_call: can't find call 57619 in tunnel 46619#012 (ref=0/0)
8月 25 18:33:44.086 xl2tpd[2775]: check_control: Received out of order control packet on tunnel 58382 (got 5, expected 6)
8月 25 18:33:44.087 xl2tpd[2775]: get_call: can't find call 57619 in tunnel 46619#012 (ref=0/0)
8月 25 18:33:44.088 xl2tpd[2775]: check_control: Received out of order control packet on tunnel 58382 (got 5, expected 6)
8月 25 18:33:44.088 xl2tpd[2775]: get_call: can't find call 57619 in tunnel 46619#012 (ref=0/0)
8月 25 18:33:44.088 xl2tpd[2775]: check_control: Received out of order control packet on tunnel 58382 (got 5, expected 6)
8月 25 18:34:19.049 xl2tpd[2775]: Maximum retries exceeded for tunnel 46619. Closing.
8月 25 18:34:19.050 [ERROR 410] Connection attempt to 'VPNCloud_L2TP' timed out
8月 25 18:34:19.050 xl2tpd[2775]: Connection 58382 closed to 203.175.172.123, port 1701 (Timeout)
8月 25 18:34:24.054 xl2tpd[2775]: Unable to deliver closing message for tunnel 46619. Destroying anyway.
:em20 这是为什么呢,求解答。非常感谢。
shouhulife
帖子: 13
注册时间: 2014-08-12 9:31
系统: win7

Re: 链接vpn报错

#2

帖子 shouhulife » 2014-08-25 19:41

network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 31205 Dumping.
taohunter
帖子: 1555
注册时间: 2012-03-31 3:29

Re: 链接vpn报错

#3

帖子 taohunter » 2014-08-25 20:50

'VPNCloud_L2TP'--和你确认一下,你给VPN连接起这么个名字,是确切地知道VPN服务器提供的是L2TP的服务,还是自己想试试?

IPSEC L2TP和PPTP是两种完全不同的VPN方式,表现在ubuntu上,两者要求安装的软件包都不一样。首先你需要明确服务器端提供的是PPTP还是IPSEC L2TP的服务,也有同时提供两种接入方式的VPN服务器,你要明确知道自己要用哪种方式,而不是去试--还有既不是PPTP也不是L2TP的方式。

如果你确定服务器端是L2TP的,那么要安装相应的包。ubuntu下有一个图形化的工具可以用来配置L2TP的连接。

如果服务器提供的是PPTP的服务,那么你要安装PPTP相关的包,然后可以通过panel上的nm-applet来添加PPTP的配置。与L2TP相比,这种方式还是比较简单的。

并且ubuntu下的L2TP的工具有校验的bug,不过你还根本没到bug那一步,先把前面的信息了解清楚,配置好了连接再说吧。。。
三年后终于回到16.04--稳定了!
shouhulife
帖子: 13
注册时间: 2014-08-12 9:31
系统: win7

Re: 链接vpn报错

#4

帖子 shouhulife » 2014-08-25 21:13

谢谢楼上的回复,我用的是云梯,的vpn,https://www.ytvpn.com/guides/ubuntu_pptp这个是他的配置链接教程,我是按照他上面的配置的,对这两种都是有支持的。我用他教程里面说的两种链接都试了的还是不行。我问他们客服但是那个客服明显就是一个妹子,什么都不知道,他说找技术人员给我看了的,日志看不出明显的原因,居然叫我重装系统。。。。。。


network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 26194 Dumping.
8月 25 21:05:17.702 pppd[9150]: LCP terminated by peer (peer refused to authenticate)
8月 25 21:05:17.976 xl2tpd[9089]: control_finish: Connection closed to 203.175.172.123, serial 1 ()
8月 25 21:05:17.976 xl2tpd[9089]: Terminating pppd: sending TERM signal to pid 9150
8月 25 21:05:17.976 pppd[9150]: Modem hangup
8月 25 21:05:17.977 pppd[9150]: Connection terminated.
8月 25 21:05:17.993 pppd[9150]: Exit.
taohunter
帖子: 1555
注册时间: 2012-03-31 3:29

Re: 链接vpn报错

#5

帖子 taohunter » 2014-08-25 21:25

多问一句,这个好像是收费的服务吧,你已经买了服务,拿到配置vpn需要的那些信息了吗?我看了一下其网页上的教程,虽然不是在最新的ubuntu 14.04上抓的画面,但教程本身是对的。建议你先尝试配置PPTP的连接,复杂度比L2TP低很多,成功了再去搞L2TP--而且L2TP是有bug的,有个小窍门。。。

另外,IT求助只要一听那边是令人酥麻的妹子的声音,那就代表她只是个接线员,不是真正做技术支持的,最多会照着列表给你几个电话、链接什么的。
三年后终于回到16.04--稳定了!
taohunter
帖子: 1555
注册时间: 2012-03-31 3:29

Re: 链接vpn报错

#6

帖子 taohunter » 2014-08-25 21:29

另外,你用自己的账号查看到的服务器ip地址能ping通吗?我没有账号,看不到其ip地址,你自己先ping一下看看。。。
三年后终于回到16.04--稳定了!
shouhulife
帖子: 13
注册时间: 2014-08-12 9:31
系统: win7

Re: 链接vpn报错

#7

帖子 shouhulife » 2014-08-25 21:33

我用gconf-editor 里面没有 (system -> networking -> connection -> 1 -> vpn )没有system只有apps和desktop与schemas这三个。
taohunter
帖子: 1555
注册时间: 2012-03-31 3:29

Re: 链接vpn报错

#8

帖子 taohunter » 2014-08-25 21:39

shouhulife 写了:我用gconf-editor 里面没有 (system -> networking -> connection -> 1 -> vpn )没有system只有apps和desktop与schemas这三个。
大概知道了,现在我在windows环境下,过15分钟左右我切到linux下把ubuntu下需要安装的包,以及我的配置范例贴上来。。。
三年后终于回到16.04--稳定了!
taohunter
帖子: 1555
注册时间: 2012-03-31 3:29

Re: 链接vpn报错

#9

帖子 taohunter » 2014-08-25 22:06

你装过新立得包管理器吗?没有的话sudo apt-get install synaptic装好,以便于确认所需要的包是否都安装好了。

PPTP需要的:
PPTP_Package.png
L2TP需要的:
L2TP_Package.png
装好了L2TP的包,右上角我那个hp的图标右边的就是用来配置l2tp的。再右边的nm-applet就是用来配置pptp的。
NM_Applet_PPTP_Config.png
三年后终于回到16.04--稳定了!
taohunter
帖子: 1555
注册时间: 2012-03-31 3:29

Re: 链接vpn报错

#10

帖子 taohunter » 2014-08-25 22:16

PPTP的配置完成后,其配置文件在/etc/NetworkManager/system-connections下,你如果对配置文件是否正确没把握,可以找到那个文件,拷贝到其他目录后编辑,去掉配置文件中你要保密的个人登录信息。然后把文件中的内容贴上来,我可以帮你看一下。。。

例如:

代码: 全选

$ ls -l  /etc/NetworkManager/system-connections/VPN_CAN
-rw------- 1 root root 383  8月 25 14:54 /etc/NetworkManager/system-connections/VPN_CAN
这个VPN_CAN就是我的机器配置的一个VPN连接的配置文件。。。另外,你ping过VPN服务器的地址吗?能否ping通?
三年后终于回到16.04--稳定了!
shouhulife
帖子: 13
注册时间: 2014-08-12 9:31
系统: win7

Re: 链接vpn报错

#11

帖子 shouhulife » 2014-08-25 23:14

我新立得包管理器看了都安装了的。显示链接失败。 我/etc/NetworkManager/system-connections/到这个文件移动的时候说权限不够。
taohunter
帖子: 1555
注册时间: 2012-03-31 3:29

Re: 链接vpn报错

#12

帖子 taohunter » 2014-08-25 23:20

代码: 全选

sudo cp /etc/NetworkManager/system-connections/vpn_config ~/.
用你实际的配置文件名替换vpn_config。。。拷贝到家目录里编辑。。。
三年后终于回到16.04--稳定了!
shouhulife
帖子: 13
注册时间: 2014-08-12 9:31
系统: win7

Re: 链接vpn报错

#13

帖子 shouhulife » 2014-08-25 23:22

/home/shouhulife/图片/2014-08-25 23:21:29 的屏幕截图.png
taohunter
帖子: 1555
注册时间: 2012-03-31 3:29

Re: 链接vpn报错

#14

帖子 taohunter » 2014-08-25 23:25

看你前面的描述“我用gconf-editor 里面没有 (system -> networking -> connection -> 1 -> vpn )没有system只有apps和desktop与schemas这三个。”--你能说明一下你是用nm-applet来配置pptp的吗?还是用的其他工具?我前面贴的有桌面背景的那张图上的活动窗口就是nm-applet配置pptp的画面,如果你用的不是这个,请说明。。。

别管gcong-editor,现在配置vpn根本用不到这个工具。。。
三年后终于回到16.04--稳定了!
taohunter
帖子: 1555
注册时间: 2012-03-31 3:29

Re: 链接vpn报错

#15

帖子 taohunter » 2014-08-25 23:28

shouhulife 写了:/home/shouhulife/图片/2014-08-25 23:21:29 的屏幕截图.png
要贴图,先预览自己编辑的帖子,然后下方有选择、上传文件的按钮,上传好了置入文中,就能显示了。文件名改成简单点儿不带中文和空格的。。。
三年后终于回到16.04--稳定了!
回复