l2tp-ipsec-vpn failed trying to connect to l2tp VPN
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
L2TP over IPsec VPN Manager |
Fix Released
|
Low
|
Werner Jaeger | ||
Openswan |
Invalid
|
Undecided
|
Unassigned | ||
l2tp-ipsec-vpn (Ubuntu) |
Fix Released
|
Undecided
|
Werner Jaeger | ||
openswan (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
xl2tpd (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
l2tp-ipsec-vpn failed trying to connect to l2tp VPN.
I already tried the packages from the repositorie (https:/
I think that maybe the problem is in xl2tpd but I don't know how can I trace it.
The VPN packages in the repo works fine in others version of Ubuntu (10.04, 11.10, 11.04, 11.10 (replacing the xl2tpd with error)) but not in Precise.
BTW I already tried the packages of Debian Wheezy in a Linux Mint Debian installation and I got the same error.
This is the error:
Feb 15 17:38:52.288 xl2tpd[9935]: death_handler: Fatal signal 15 received
Feb 15 17:38:52.288 Stopping xl2tpd: xl2tpd.
Feb 15 17:38:52.320 ipsec_setup: Openswan IPsec apparently already active, start aborted
Feb 15 17:38:52.354 recvref[30]: Protocol not available
Feb 15 17:38:52.354 xl2tpd[10809]: This binary does not support kernel L2TP.
Feb 15 17:38:52.355 Starting xl2tpd: xl2tpd.
Feb 15 17:38:52.357 xl2tpd[10810]: xl2tpd version xl2tpd-1.3.1 started on telintel26 PID:10810
Feb 15 17:38:52.357 xl2tpd[10810]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Feb 15 17:38:52.358 xl2tpd[10810]: Forked by Scott Balmos and David Stipp, (C) 2001
Feb 15 17:38:52.360 xl2tpd[10810]: Inherited by Jeff McAdams, (C) 2002
Feb 15 17:38:52.361 xl2tpd[10810]: Forked again by Xelerance (www.xelerance.com) (C) 2006Feb 15 17:39:10.004 xl2tpd[10810]: Can not find tunnel 26330 (refhim=0)
Feb 15 17:39:10.005 xl2tpd[10810]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 26330 Dumping.
Feb 15 17:39:11.005 xl2tpd[10810]: Can not find tunnel 26330 (refhim=0)
Feb 15 17:39:11.005 xl2tpd[10810]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 26330 Dumping.
Feb 15 17:39:12.006 xl2tpd[10810]: Can not find tunnel 26330 (refhim=0)
Feb 15 17:39:12.007 xl2tpd[10810]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 26330 Dumping.
Feb 15 17:39:13.007 xl2tpd[10810]: Can not find tunnel 26330 (refhim=0)
Feb 15 17:39:13.010 xl2tpd[10810]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 26330 Dumping.
Feb 15 17:39:14.007 xl2tpd[10810]: Can not find tunnel 26330 (refhim=0)
Feb 15 17:39:14.007 xl2tpd[10810]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 26330 Dumping.Feb 15 17:39:32.242 Last command timed out
Feb 15 17:38:52.361 xl2tpd[10810]: Listening on IP address 0.0.0.0, port 1701
Other logs...
Feb 15 17:38:09.907 xl2tpd[9935]: Connection established to MYVPNSERVER, 1701. Local: 26330, Remote: 4759 (ref=0/0).
Feb 15 17:38:09.929 xl2tpd[9935]: Calling on tunnel 26330
Feb 15 17:38:09.930 xl2tpd[9935]: check_control: Received out of order control packet on tunnel 4759 (got 0, expected 1)
Feb 15 17:38:09.930 xl2tpd[9935]: handle_packet: bad control packet!
Feb 15 17:38:09.930 xl2tpd[9935]: check_control: Received out of order control packet on tunnel 4759 (got 0, expected 1)
Feb 15 17:38:09.931 xl2tpd[9935]: handle_packet: bad control packet!
Feb 15 17:38:09.980 xl2tpd[9935]: Call established with MYVPNSERVER, Local: 62944, Remote: 25548, Serial: 1 (ref=0/0)
Feb 15 17:38:09.984 xl2tpd[9935]: start_pppd: I'm running:
Feb 15 17:38:09.985 xl2tpd[9935]: "/usr/sbin/pppd"
Feb 15 17:38:09.985 xl2tpd[9935]: "passive"
Feb 15 17:38:09.985 xl2tpd[9935]: "nodetach"
Feb 15 17:38:09.985 xl2tpd[9935]: ":"
Feb 15 17:38:09.986 xl2tpd[9935]: "file"
Feb 15 17:38:09.986 xl2tpd[9935]: "/etc/ppp/
Feb 15 17:38:09.986 xl2tpd[9935]: "ipparam"
Feb 15 17:38:09.987 xl2tpd[9935]: "MYVPNSERVER"
Feb 15 17:38:09.987 xl2tpd[9935]: "/dev/pts/0"
Feb 15 17:38:10.124 pppd[10060]: Plugin passprompt.so loaded.
Feb 15 17:38:10.140 pppd[10060]: pppd 2.4.5 started by root, uid 0
Feb 15 17:38:10.260 pppd[10060]: Using interface ppp0
Feb 15 17:38:10.260 pppd[10060]: Connect: ppp0 <--> /dev/pts/0
Feb 15 17:16:46.997 ipsec_setup: Starting Openswan IPsec U2.6.37/
Feb 15 17:16:47.828 ipsec__plutorun: Starting Pluto subsystem...
Feb 15 17:16:48.646 recvref[30]: Protocol not available
Feb 15 17:16:48.704 xl2tpd[17816]: This binary does not support kernel L2TP.
Feb 15 17:16:48.704 xl2tpd[17817]: xl2tpd version xl2tpd-1.3.1 started on telintel26 PID:17817
Feb 15 17:16:48.705 xl2tpd[17817]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Feb 15 17:16:48.705 xl2tpd[17817]: Forked by Scott Balmos and David Stipp, (C) 2001
Feb 15 17:16:48.706 xl2tpd[17817]: Inherited by Jeff McAdams, (C) 2002
Feb 15 17:16:48.707 xl2tpd[17817]: Forked again by Xelerance (www.xelerance.com) (C) 2006
Feb 15 17:16:48.708 xl2tpd[17817]: Listening on IP address 0.0.0.0, port 1701
Feb 15 17:16:48.708 Starting xl2tpd: xl2tpd.
Feb 15 17:16:49.080 ipsec__plutorun: adjusting ipsec.d to /etc/ipsec.d
Feb 15 17:16:49.234 ipsec__plutorun: 002 added connection description "TELINTEL"
Feb 15 17:17:25.709 Last command timed out
Feb 15 17:17:25.853 xl2tpd[17817]: death_handler: Fatal signal 15 received
Feb 15 17:17:25.854 Stopping xl2tpd: xl2tpd.
Feb 15 17:17:25.883 ipsec_setup: Stopping Openswan IPsec...
For security I just change the VPN server address to MYVPNSERVER
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: l2tp-ipsec-vpn 1.0.3-1
ProcVersionSign
Uname: Linux 3.2.0-16-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Wed Feb 15 17:32:54 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120102)
ProcEnviron:
LANGUAGE=es_CO:es
PATH=(custom, no user)
LANG=es_CO.UTF-8
SHELL=/bin/bash
SourcePackage: l2tp-ipsec-vpn
UpgradeStatus: Upgraded to precise on 2012-02-15 (0 days ago)
Changed in l2tp-ipsec-vpn (Ubuntu): | |
assignee: | nobody → Werner Jaeger (werner-jaeger) |
status: | New → Fix Released |
Changed in l2tp-ipsec-vpn: | |
status: | New → Fix Released |
importance: | Undecided → Low |
My VPN is set using this parameters:
VPN Server Address
Pre-shared Key
Protocols (PAP, CHAP)
Username and password
Route (internal route, 192.168.0.0, netmask 255.255.255.0)
Everything is left by default in L2tpIPsecVpn
Using the same settings works really great in other Ubuntu versions (10.04 to 11.10).