then searched for the installed nm_tunnel_setup.py and applied the same edit on Line 67 as for Arch (to remove the x86_64-linux-gnu/ from the path to libnm-vpn-plugin-openvpn.so)
CORRECTION: and change ‘/usr/lib’ to ‘/usr/lib64’ as @weswil07 pointed out in a comment below.
After that the following command completed the setup fine:
For the OpenVPN part, I wrote about it here: Librem One: Generic doc issues
On my setup I am using the Librem Tunnel with only the OpenVPN client and a .ovpn file
Librem.ovpn is my config that I pasted in this thread: Librem One: Generic doc issues
You can use this configuration directly ( or use a config file from PIA, or … )
write_vpn_credential.sh is the script that generate the “pass” file. The source code is in the same thread.
You run it like that:
./write_vpn_credential.sh
Then just launch openvpn:
sudo openvpn ./librem.ovpn
( Purism software are easier to use. This is just a solution for people who can’t / don’t want to have a dedicated software to automate those steps )
Yes, my mistake for not including that so I’ve updated my post to reflect. To generalise, if you can find the libnm-vpn-plugin-openvpn.so file, modify those lines to point to it.
on archlinux,
Is the building from source required? or Should I be able to just launchpython setup.py after the modification?
When building from source, it gives trouble for 2 packages, An error occurred while installing pycairo==1.18.1 An error occurred while installing pygobject==3.32.2
Is there no any other dependencies that we should be aware of?
and comparatively to what @gjm has written,
the explicit procedure to build and install with pipenv was : pipenv -install --dev -e . (while being in the directory)
so which one is it then? Because it is not quite the same thing .
where would that be? the installed nm_tunnel_setup.py since we have also to modify it after the installation…
Because the error only points to the binary package and not to modifiable folder : /usr/lib/python3.7/site-packages/ldh_client-0.0.1-py3.7.egg/ So where did you modify it?