Package Details: networkmanager-l2tp 1.2.2-1

Git Clone URL: https://aur.archlinux.org/networkmanager-l2tp.git (read-only)
Package Base: networkmanager-l2tp
Description: L2TP support for NetworkManager
Upstream URL: https://github.com/nm-l2tp/NetworkManager-l2tp
Licenses: GPL2
Provides: networkmanager-l2tp
Submitter: bradpitcher
Maintainer: mlq
Last Packager: mlq
Votes: 37
Popularity: 2.260711
First Submitted: 2013-03-13 17:16
Last Updated: 2016-05-29 21:39

Latest Comments

pmig commented on 2016-05-28 11:19

hi @dkosovic thanks

After make install I started the vpn conenction, but it still fails,

which of these warnings make sense?

http://pastebin.com/hgV6CvdG

dkosovic commented on 2016-05-16 07:15

I meant:

But with the network-manager-l2tp 1.0.0 package (and 1.0.2), you would need to downgrade to xl2tpd-1.3.6 if as 1.3.7 triggers a bug with pppd.

dkosovic commented on 2016-05-16 07:12

Which version of the package are you using? 1.2.0 never really worked. And what version of NetworkManager?

if you are using NetworkManager 1.2.x, I would recommend using the following:
https://github.com/nm-l2tp/network-manager-l2tp/archive/1.2.2/network-manager-l2tp-1.2.2.tar.gz

If you are using NetworkManager 1.0.x, I would recommend using the following:
https://github.com/nm-l2tp/network-manager-l2tp/archive/1.0.2/network-manager-l2tp-1.0.2.tar.gz

But with network-manager-1.0.2 (and with 1.0.0), you would need to downgrade to xl2tpd-1.3.6 if you have xl2tpd-1.3.7 installed.

If you have a NetworkManager 1.1.x developer release installed, upgrade to NetworkManager 1.2.x

pmig commented on 2016-05-15 12:36

I always receive an error during the connection intialization to an IPSec VPN:

May 15 14:32:22 dev-xps15 NetworkManager[15368]: <info> [1463315542.4158] vpn-connection[0x25d71e0,20e18803-6f86-43e8-be03-0ef748803e61,"VPN x",0]: Started the VPN service, PID 15953
May 15 14:32:27 dev-xps15 NetworkManager[15368]: <warn> [1463315547.9320] vpn-connection[0x25d71e0,20e18803-6f86-43e8-be03-0ef748803e61,"VPN x",0]: Timed out waiting for the service to start
May 15 14:32:27 dev-xps15 NetworkManager[15368]: (nm-exported-object.c:930):nm_exported_object_dispose: code should not be reached'


xl2tpd & ipsec are both running without errors:

May 15 14:28:55 dev-xps15 systemd[1]: Started Level 2 Tunnel Protocol Daemon (L2TP).
May 15 14:28:55 dev-xps15 xl2tpd[15118]: xl2tpd[15118]: setsockopt recvref[30]: Protocol not available
May 15 14:28:55 dev-xps15 xl2tpd[15118]: xl2tpd[15118]: Using l2tp kernel support.
May 15 14:28:55 dev-xps15 xl2tpd[15118]: xl2tpd[15118]: xl2tpd version xl2tpd-1.3.7 started on dev-xps15 PID:15118
May 15 14:28:55 dev-xps15 xl2tpd[15118]: xl2tpd[15118]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
May 15 14:28:55 dev-xps15 xl2tpd[15118]: xl2tpd[15118]: Forked by Scott Balmos and David Stipp, (C) 2001
May 15 14:28:55 dev-xps15 xl2tpd[15118]: xl2tpd[15118]: Inherited by Jeff McAdams, (C) 2002
May 15 14:28:55 dev-xps15 xl2tpd[15118]: xl2tpd[15118]: Forked again by Xelerance (www.xelerance.com) (C) 2006-2016
May 15 14:28:55 dev-xps15 xl2tpd[15118]: xl2tpd[15118]: Listening on IP address 0.0.0.0, port 1701


Do you have some advice for me?

dkosovic commented on 2016-04-28 04:39

NetworkManager-l2tp 1.0.0 tag is for NetworkManager 1.0 based Linux distributions, and the code is on the nm-1-0 branch. I'm still maintaining it and plan to release newer 1.0.x releases. It's pretty stable.

NetworkManager-l2tp 1.2.0 is for NetworkManager 1.2 which hasn't been released yet, it's currently 1.1.93 (i.e. 1.2-RC1).

NetworkManager-l2tp 1.2.0 tag and pull request was for NetworkManager 1.2 based Fedora 24 pre-alpha release and from a GNOME VPN plugin maintainer. I've since tested it and regrettably found it has issues. I'm in the process of fixing the issues on the master branch and will release a version 1.2.1 hopefully in the next day or so.

Sorry I didn't see you comments till I went back to this web page. I wasn't familiar with Arch Linux dependencies, but what you suggested makes sense. I've since installed Arch Linux after getting a couple of bug reports.

Celti commented on 2016-04-26 08:51

Patch for all previous discussed issues and to bring it up to 1.2.0: https://ptpb.pw/21wZ.patch (Preview: https://ptpb.pw/21wZ.patch/diff)

Celti commented on 2016-04-26 08:36

IMO:
- Hard dep on xl2tpd (LT2P is the primary point of the plugin, after all).
- Opt-dep on both libreswan and strongswan (IPSec is optional and it can use either).

Also, 1.2.0 was released 9 hours after you pushed the PKGBUILD for 1.0.0.

dkosovic commented on 2016-04-24 02:57

Please change the openswan (optional) dependency to libreswan

For IPSec support, NetworkManager-l2tp 1.0.0 does runtime detection for libreswan, if it doesn't detect it, it assumes strongswan. Support for the older openswan package has been removed. Libreswan is more or less the successor of Openswan after a legal dispute on the name.

For L2TP support it uses xl2tpd

xl2tpd and libreswan aren't needed at compile time, so I'm not sure if they should be mandatory or optional dependencies.

The package Description would be more accurate if changed to:

L2TP and L2TP/IPsec support for NetworkManager

Also as mentioned in the previous comment, the Upstream URL is now:

https://github.com/nm-l2tp/network-manager-l2tp

kentone commented on 2016-04-22 08:46

Project has been moved to https://github.com/nm-l2tp/network-manager-l2tp

nanokatz commented on 2015-09-25 20:55

Since openswan was updated l2tp connections no longer work for me. Says something about possible error in spec setup. The only other interesting log message was ipsec auto: unknown option `--verbose'

All comments