From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jelle Licht Subject: Re: network-manager-openconnect setup Date: Sat, 10 Aug 2019 23:08:05 +0200 Message-ID: <87v9v4wwy2.fsf@jlicht.xyz> References: <87zhkgn60o.fsf@fnb.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55130) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwYaz-0002jZ-JJ for help-guix@gnu.org; Sat, 10 Aug 2019 17:08:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hwYay-0004gc-4z for help-guix@gnu.org; Sat, 10 Aug 2019 17:08:13 -0400 Received: from mail1.fsfe.org ([2001:aa8:ffed:f5f3::151]:58416) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hwYax-0004ey-R5 for help-guix@gnu.org; Sat, 10 Aug 2019 17:08:12 -0400 In-Reply-To: <87zhkgn60o.fsf@fnb.co.za> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: "Santana, Divan" , Help guix Hi! "Santana, Divan" 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; > > ~ =C3=A1=C2=90=C2=85 sudo nmcli con up vpn-fnb --ask > Error: Connection activation failed: The VPN service 'org.freedesktop.Net= workManager.openconnect' was not installed. > > I read the manual which says: > > =E2=80=98vpn-plugins=E2=80=99 (default: =E2=80=98'()=E2=80=99) > This is the list of available plugins for virtual private > networks (VPNs). An example of this is the > =E2=80=98network-manager-openvpn=E2=80=99 package, which allows= NetworkManager > to manage VPNs via OpenVPN. > > I therefore tried this in my config > > (network-manager-service-type > config =3D> (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--- > ~ =C3=A1=C2=90=C2=85 sudo -E guix system reconfigure ~/.config/guix/syst= em-config/swift.scm > Password: > Backtrace: > In srfi/srfi-1.scm: > 592:29 19 (map1 (# =C3=A2=C2=80=C2=A6)) > 592:29 18 (map1 (# =C3=A2=C2=80=C2=A6)) > 592:29 17 (map1 (# =C3=A2=C2=80=C2=A6)) > 592:29 16 (map1 (# =C3=A2=C2=80=C2=A6)) > 592:29 15 (map1 (# =C3=A2=C2=80=C2=A6)) > 592:29 14 (map1 (# =C3=A2=C2=80=C2=A6)) > 592:29 13 (map1 (# =C3=A2=C2=80=C2=A6)) > 592:29 12 (map1 (# =C3=A2=C2=80=C2=A6)) > 592:29 11 (map1 (# =C3=A2=C2=80=C2=A6)) > 592:29 10 (map1 (# =C3=A2=C2=80=C2=A6)) > 592:29 9 (map1 (# =C3=A2=C2=80=C2=A6)) > 592:29 8 (map1 (# =C3=A2=C2=80=C2=A6)) > 592:29 7 (map1 (# =C3=A2=C2=80=C2=A6)) > 592:29 6 (map1 (# =C3=A2=C2=80=C2=A6)) > 592:29 5 (map1 (# =C3=A2=C2=80=C2=A6)) > 592:29 4 (map1 (# =C3=A2=C2=80=C2=A6)) > 592:17 3 (map1 ("network-manager-openconnect" #)) > In guix/inferior.scm: > 588:24 2 (inferior-package->manifest-entry "network-manager-ope=C3=A2= =C2=80=C2=A6" =C3=A2=C2=80=C2=A6) > 363:4 1 (inferior-package-input-field "network-manager-opencon=C3=A2= =C2=80=C2=A6" =C3=A2=C2=80=C2=A6) > 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=C3=A2= =C2=80=C2=A6" =C3=A2=C2=80=C2=A6) No clue, sorry :/ >=20=20 > > This email is subject to a disclaimer. > > Visit the FNB website and view the email disclaimer by clicking the "Abou= t 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/