我想用 network-manager-l2tp-gnome 连接l2tp,但是报错了,希望大大能提供点帮助,感谢:
The VPN connection "vpn" failed because vpn service failed to start
Here is my debug info.Thanks in advance.
hilo@hilo-Rev-1-0:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
hilo@hilo-Rev-1-0:~$ uname -a
Linux hilo-Rev-1-0 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
hilo@hilo-Rev-1-0:~$ apt-cache policy network-manager-l2tp xl2tpd ppp openswan
network-manager-l2tp:
Installed: 0.9.4-0precise1
Candidate: 0.9.4-0precise1
Version table:
*** 0.9.4-0precise1 0
500 http://ppa.launchpad.net/seriy-pr/netwo ... tp/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
xl2tpd:
Installed: 1.3.1+dfsg-1
Candidate: 1.3.1+dfsg-1
Version table:
*** 1.3.1+dfsg-1 0
500 http://mirrors.sohu.com/ubuntu/ precise/universe amd64 Packages
100 /var/lib/dpkg/status
ppp:
Installed: 2.4.5-5ubuntu1
Candidate: 2.4.5-5ubuntu1
Version table:
*** 2.4.5-5ubuntu1 0
500 http://mirrors.sohu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
openswan:
Installed: 1:2.6.37-1
Candidate: 1:2.6.37-1
Version table:
*** 1:2.6.37-1 0
500 http://mirrors.sohu.com/ubuntu/ precise/universe amd64 Packages
100 /var/lib/dpkg/status
hilo@hilo-Rev-1-0:~$ sudo /usr/lib/NetworkManager/nm-l2tp-service --debug
** Message: nm-l2tp-service (version 0.9.4-0precise1) starting...
connection
name : "connection"
id : "SINA" (s)
uuid : "c1e7e0bd-f613-452b-9f5d-517e44835108" (s)
type : "vpn" (s)
permissions :
autoconnect : FALSE (s)
timestamp : 0 (sd)
read-only : FALSE (sd)
zone : NULL (sd)
master : NULL (sd)
slave-type : NULL (sd)
vpn
name : "vpn"
service-type : "org.freedesktop.NetworkManager.l2tp" (s)
user-name : "hilo" (s)
data : { 'password-flags': 3 }, { 'ipsec-group-name': l2tp }, { 'ipsec-psk': ******* }, { 'user': xuehui1 }, { 'refuse-eap': yes }, { 'refuse-chap': yes }, { 'ipsec-enabled': yes }, { 'gateway': vpn.sina.com }, { 'refuse-mschap': yes }, { 'refuse-pap': yes },
secrets : { 'password': **** },
ipv4
name : "ipv4"
method : "auto" (s)
dns :
dns-search :
addresses :
routes :
ignore-auto-routes : FALSE (sd)
ignore-auto-dns : FALSE (sd)
dhcp-client-id : NULL (sd)
dhcp-send-hostname : TRUE (sd)
dhcp-hostname : NULL (sd)
never-default : FALSE (sd)
may-fail : TRUE (sd)
** Message: Use '202.106.169.230' as a gateway
** Message: Check port 1701
** Message: ipsec enable flag: yes
** Message: starting ipsec
/usr/sbin/ipsec: unknown option `--listen' (perhaps command name was omitted?)
vpn service failed to start
-
- 帖子: 194
- 注册时间: 2010-04-20 21:19
- 系统: ArchLinux
- 来自: My gtalk:a132811@
- 联系:
vpn service failed to start
http://hilojack.sinaapp.com
i3 M370(2.4G)/500G/8G/OpenGL:Gallium 0.4 on nvidia 3100M
i3 M370(2.4G)/500G/8G/OpenGL:Gallium 0.4 on nvidia 3100M
- Cherrot
- 帖子: 981
- 注册时间: 2011-04-03 10:01
- 系统: Ubuntu 12.XX
- 来自: 帝都
- 联系:
Re: vpn service failed to start
给了不正确的参数 --listen
看来是个bug。。。我没用它连过IPSec的VPN,只是纯L2TP的。
或许找一下microcai问问?
看来是个bug。。。我没用它连过IPSec的VPN,只是纯L2TP的。
或许找一下microcai问问?
Ubuntu技巧汇总http://wiki.ubuntu.org.cn/UbuntuSkills --你遇到的各种问题可能已经在里面了
我的技术博客http://www.cherrot.com
Code tells you how, comments should tell you why.
我的技术博客http://www.cherrot.com
Code tells you how, comments should tell you why.
-
- 帖子: 194
- 注册时间: 2010-04-20 21:19
- 系统: ArchLinux
- 来自: My gtalk:a132811@
- 联系:
Re: vpn service failed to start
1.l2tp这个东西看来大家用得不多(我已经联系开发者了)。还好我主要用的是pptp.
2.最近换了arch了:gnome下的networkmanager-applet创建的vpn在连接的时候居然没有交互(那个密码输入提示居然给我略过去了)
3.手动连接见(我自己还没有试过):
viewtopic.php?f=73&t=21606&start=135(只有连接步骤,而没有说明)
2.最近换了arch了:gnome下的networkmanager-applet创建的vpn在连接的时候居然没有交互(那个密码输入提示居然给我略过去了)
3.手动连接见(我自己还没有试过):
viewtopic.php?f=73&t=21606&start=135(只有连接步骤,而没有说明)
http://hilojack.sinaapp.com
i3 M370(2.4G)/500G/8G/OpenGL:Gallium 0.4 on nvidia 3100M
i3 M370(2.4G)/500G/8G/OpenGL:Gallium 0.4 on nvidia 3100M
- Cherrot
- 帖子: 981
- 注册时间: 2011-04-03 10:01
- 系统: Ubuntu 12.XX
- 来自: 帝都
- 联系:
Re: vpn service failed to start
132811 写了:1.l2tp这个东西看来大家用得不多(我已经联系开发者了)。还好我主要用的是pptp.
2.最近换了arch了:gnome下的networkmanager-applet创建的vpn在连接的时候居然没有交互(那个密码输入提示居然给我略过去了)
3.手动连接见(我自己还没有试过):
<!-- l --><a class="postlink-local" href="viewtopic.php?f=73&t=21606&start=135">v ... art=135</a><!-- l -->(只有连接步骤,而没有说明)

Ubuntu技巧汇总http://wiki.ubuntu.org.cn/UbuntuSkills --你遇到的各种问题可能已经在里面了
我的技术博客http://www.cherrot.com
Code tells you how, comments should tell you why.
我的技术博客http://www.cherrot.com
Code tells you how, comments should tell you why.