unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Jelle Licht <jlicht@fsfe.org>
To: "Santana, Divan" <dsantana@fnb.co.za>, Help guix <help-guix@gnu.org>
Subject: Re: network-manager-openconnect setup
Date: Sat, 10 Aug 2019 23:08:05 +0200	[thread overview]
Message-ID: <87v9v4wwy2.fsf@jlicht.xyz> (raw)
In-Reply-To: <87zhkgn60o.fsf@fnb.co.za>

Hi!

"Santana, Divan" <dsantana@fnb.co.za> writes:

> Hi Guix,
>
> I'm glad to see network-manager-openconnect is now packaged! :) Thank
> you to who ever did that.
>
> Trying to use it, after I installed it system wide and rebooted I get
> this;
>
> ~ ᐅ sudo nmcli con up vpn-fnb --ask
> Error: Connection activation failed: The VPN service 'org.freedesktop.NetworkManager.openconnect' was not installed.
>
> I read the manual which says:
>
>      ‘vpn-plugins’ (default: ‘'()’)
>           This is the list of available plugins for virtual private
>           networks (VPNs).  An example of this is the
>           ‘network-manager-openvpn’ package, which allows NetworkManager
>           to manage VPNs via OpenVPN.
>
> I therefore tried this in my config
>
> (network-manager-service-type
>  config => (network-manager-configuration
>             (inherit config)
>             (dns "dnsmasq")
>             (vpn-plugins '("network-manager-openconnect"))
>             ))

If nothing else, you should go with the `network-manager-openconnect'
package object here. In your snippet, you are referring to the string
"network-manager-openconnect" instead.

Something like the following should solve your immediate issue:
  (vpn-plugins (list network-manager-openconnect))

>
> But I get this error:
>
> --8<---------------cut here---------------start------------->8---
> ~ ᐅ sudo -E guix system reconfigure  ~/.config/guix/system-config/swift.scm
> Password:
> Backtrace:
> In srfi/srfi-1.scm:
>    592:29 19 (map1 (#<package sed@4.5 gnu/packages/commencement.s…> …))
>    592:29 18 (map1 (#<package diffutils@3.6 gnu/packages/bootstra…> …))
>    592:29 17 (map1 (#<package patch@2.7.6 gnu/packages/bootstrap.…> …))
>    592:29 16 (map1 (#<package gawk@4.2.1 gnu/packages/bootstrap.s…> …))
>    592:29 15 (map1 (#<package tar@1.30 gnu/packages/bootstrap.scm…> …))
>    592:29 14 (map1 (#<package gzip@1.9 gnu/packages/bootstrap.scm…> …))
>    592:29 13 (map1 (#<package bzip2@1.0.6 gnu/packages/bootstrap.…> …))
>    592:29 12 (map1 (#<package xz@5.2.4 gnu/packages/bootstrap.scm…> …))
>    592:29 11 (map1 (#<package lzip@1.20 gnu/packages/compression.…> …))
>    592:29 10 (map1 (#<package shepherd@0.6.1 gnu/packages/admin.s…> …))
>    592:29  9 (map1 (#<package guix@1.0.1-3.4a54ed7 gnu/packages/p…> …))
>    592:29  8 (map1 (#<package elogind@241.3 gnu/packages/freedesk…> …))
>    592:29  7 (map1 (#<package upower@0.99.10 gnu/packages/gnome.s…> …))
>    592:29  6 (map1 (#<package udisks@2.7.7 gnu/packages/freedeskt…> …))
>    592:29  5 (map1 (#<package wpa-supplicant@2.9 gnu/packages/adm…> …))
>    592:29  4 (map1 (#<package network-manager@1.10.10 gnu/package…> …))
>    592:17  3 (map1 ("network-manager-openconnect" #<package libvir…>))
> In guix/inferior.scm:
>    588:24  2 (inferior-package->manifest-entry "network-manager-ope…" …)
>     363:4  1 (inferior-package-input-field "network-manager-opencon…" …)
>    307:18  0 (inferior-package-field _ _)
>
> guix/inferior.scm:307:18: In procedure inferior-package-field:
> In procedure struct_vtable: Wrong type argument in position 1 (expecting
> struct): "network-manager-openconnect"
> --8<---------------cut here---------------end--------------->8---
>
>
> What am I doing wrong?
>
> Seperate topic:
>
> Bonus points for anyone who knows why when I copy and paste into Emacs I
> get these weird characters.
>
>    588:24  2 (inferior-package->manifest-entry "network-manager-ope…" …)
No clue, sorry :/
>  
>
> This email is subject to a disclaimer.
>
> Visit the FNB website and view the email disclaimer by clicking the "About FNB + Legal" and "Legal Matters" links.
> If you are unable to access our website, please contact us to send you a copy of the email disclaimer.

You might want to reconsider adding this disclaimer, as this is a
mailing list with publicly available archive at
https://lists.gnu.org/archive/html/help-guix/

  reply	other threads:[~2019-08-10 21:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-10 20:34 network-manager-openconnect setup Santana, Divan
2019-08-10 21:08 ` Jelle Licht [this message]
2019-09-09 20:01   ` network-manager-openconnect setup - [External Email] divan
2019-08-11 19:24 ` network-manager-openconnect setup Mark H Weaver
2019-09-09 20:02   ` network-manager-openconnect setup - [External Email] divan

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87v9v4wwy2.fsf@jlicht.xyz \
    --to=jlicht@fsfe.org \
    --cc=dsantana@fnb.co.za \
    --cc=help-guix@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).