Error on installing `networkmanager-l2tp 1.2.10-3` in Arch Linux

Read Time:1 Minute, 35 Second



When run the command to install the package `networkmanager-l2tp 1.2.10-3`, an error occurs like below:

$ yaourt -S networkmanager-l2tp


==> Validating source files with md5sums...
    network-manager-l2tp-1.2.10.tar.gz ... Passed
    network-manager-l2tp-1.2.10.tar.gz.asc ... Skipped
==> Verifying source file signatures with gpg...
    network-manager-l2tp-1.2.10.tar.gz ... FAILED (unknown public key 49A7787EF8D3C039)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build networkmanager-l2tp.
==> Restart building networkmanager-l2tp ? [y/N]
==> --------------------------------------------

I resolved by installing NetworkManager-l2tp manually.


$ sudo pacman -S strongswan xl2tpd
$ git clone
$ cd network-manager-l2tp
$ ./
$ ./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var --libexecdir=/usr/lib/NetworkManager \
$ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
$ make
$ sudo make install
$ sudo systemctl restart NetworkManager


And then, add new VPN connection following steps:

  • Go to Settings -> Network -> Add VPN -> Click Layer 2 Tunneling Protocol (L2TP).
  • Enter Connection name
  • Click VPN tab
  • Enter Gateway, Username, Password
  • Click IPsec Settings
  • Check Enable IPsec tunnel to L2TP host
  • Enter Pre-shared Key
  • Click Save


After that, if VPN connection is failed after configured correctly, then it could be an issue with an issue with 3DES cipher setting. Try this step

  • Go to Settings -> Network -> Add VPN -> Click Layer 2 Tunneling Protocol (L2TP).
  • Edit VPN connection that you just created
  • Click VPN tab
  • Click IPSec Settings
  • Enter Phase1 Algorithms as 3des-sha1-modp1024!
  • Enter Phase2 Algorithms as 3des-sha1!
  • Click OK
  • Click Save


Try again.




Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.