all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <ng0@n0.is>
To: Johannes Laute <j.laute3@googlemail.com>
Cc: help-guix@gnu.org
Subject: Re: Openvpn and NetworkManager
Date: Sun, 24 Dec 2017 09:02:00 +0000	[thread overview]
Message-ID: <20171224090200.oh5jpkqzjagrrhss@abyayala> (raw)
In-Reply-To: <CAO8YPGQEnXt=Z8TBwrDVKT_5DR=6i0MTwtmYKhnYR6Z9eDdK6Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2273 bytes --]

Johannes Laute transcribed 4.2K bytes:
> Hi,
> 
> I'm trying to get openvpn and the NetworkManager plugin to work together
> but I am having some troubles.
> 
> I started with installing both packages, but the openvpn plugin specific
> menu options did not show up in the connection menu.
> 
> I read the documentation and noticed the "vpn-plugins" option in the
> network-manager service declaration, so I added the network-manager-openvpn
> service like this:
> 
> (modify-services %desktop-services
>          (network-manager-service-type config =>
>                                        (network-manager-configuration
>                                        (inherit config)
>                                        (vpn-plugins (list
> network-manager-openvpn)))))))
> 
> After that, it now shows up and I can import openvpn connections (I noticed
> it added a NM_VPN_PLUGIN_DIR environment variable) but I cannot connect.

Just to be sure: have you only noticed this variable or have you sourced
the new .guix-profile/etc/profile where it should be included?

> When I click connect simply nothing happens, and the following log is
> emitted to /var/log/debug
> 
> Dec 23 23:09:49 localhost NetworkManager[345]: <info>  [1514070589.5044]
> audit: op="connection-activate" uuid="36c09127-ffc0-4d46-9547-06e0ea214a15"
> name="mullvad_de" pid=470 uid=1000 result="fail" reason="The VPN service
> 'org.freedesktop.NetworkManager.openvpn' was not installed.

I have opened a bug about this a while ago (OpenVPN and the (not yet merged?)
VPNC plugins are affected. It's annoying prevents me from accessing my university
intranet via VPN for some things from home.
Maybe it was just an email so far, I can not find a bug ticket for this.

> I researched the error message and it seems common when people don't have
> plugin installed (obviously), but I also found this:
> https://github.com/NixOS/nixpkgs/issues/3539 which might be related.

Thanks for the additional issue, I didn't look into Nix so far.

> I'm pretty new to guix and scheme so any help would be greatly appreciated
> 
> johannes

-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
  WWW: https://n0.is

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2017-12-24  9:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-23 23:28 Openvpn and NetworkManager Johannes Laute
2017-12-24  9:02 ` ng0 [this message]
2017-12-24 23:03   ` Johannes Laute
2018-01-08 14:43     ` Ludovic Courtès
2018-01-11 12:39       ` Johannes Laute
2018-01-12 11:26         ` Ludovic Courtès
2018-01-12 17:54           ` Johannes Laute

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171224090200.oh5jpkqzjagrrhss@abyayala \
    --to=ng0@n0.is \
    --cc=help-guix@gnu.org \
    --cc=j.laute3@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.