PINE64
Mobian can't see OpenVPN is installed. - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: Mobian can't see OpenVPN is installed. (/showthread.php?tid=13368)



Mobian can't see OpenVPN is installed. - C0ffeeFreak - 03-10-2021

I have something I am trying to figure out and haven't been able to. I have a paid VPN service that uses the OpenVPN protocol. I have used it on the Pinephone on Arch and Manjaro but for some reason the eOVPN app cant see Open VPN is installed and up to date in Mobian and won't connect. See attached pictures. See the bottom line in the picture. Left Mobian-Right Arch. Anyone suggest anything?


RE: Mobian can't see OpenVPN is installed. - theD0ctor - 03-10-2021

(03-10-2021, 01:15 PM)C0ffeeFreak Wrote: I have something I am trying to figure out and haven't been able to. I have a paid VPN service that uses the OpenVPN protocol. I have used it on the Pinephone on Arch and Manjaro but for some reason the eOVPN app cant see Open VPN is installed and up to date in Mobian and won't connect. See attached pictures. See the bottom line in the picture. Left Mobian-Right Arch. Anyone suggest anything?

Hmm, I can't say I ever used the gui eOVPN. Have you tried setting up openVPN through the commandline interface instead? Just try it with one servers openvpn configuration, to rule out if its the app or something else.

Sorry can't be anymore useful :/


RE: Mobian can't see OpenVPN is installed. - C0ffeeFreak - 03-10-2021

(03-10-2021, 05:06 PM)theD0ctor Wrote:
(03-10-2021, 01:15 PM)C0ffeeFreak Wrote: I have something I am trying to figure out and haven't been able to. I have a paid VPN service that uses the OpenVPN protocol. I have used it on the Pinephone on Arch and Manjaro but for some reason the eOVPN app cant see Open VPN is installed and up to date in Mobian and won't connect. See attached pictures. See the bottom line in the picture. Left Mobian-Right Arch. Anyone suggest anything?

Hmm, I can't say I ever used the gui eOVPN. Have you tried setting up openVPN through the command line interface instead? Just try it with one servers openvpn configuration, to rule out if its the app or something else.

Sorry can't be anymore useful :/
Thanks for the suggestion anyway. Yes it works through the command line but that's not a practical solution without being attached to a monitor, keyboard. When I need a a VPN I am usually traveling. Needs to work through the GUI in the long term but for now I am using the Proton VPN GUI which uses another protocol. It's the free version of their VPN and slow but a temporary fix till I can figure out.


RE: Mobian can't see OpenVPN is installed. - wibble - 03-11-2021

Native or flatpak? The readme mentions the '--debug [LEVEL]' command line option or an environment variable to set, which is easy for a native install but I don't know how it works for flatpak.
https://github.com/jkotra/eOVPN
The code getting the version is here:
https://github.com/jkotra/eOVPN/blob/master/eovpn/openvpn.py
See get_version(self) at line 172. It's trying to run 'openvpn --version' and find the version in the output using a regular expression. Is it unable to run the command (no openvpn in the path, sandboxing preventing it running, something else?) or does the response not contain a matching string? Or is there some other problem like a missing python library that's getting hidden by error trapping?


RE: Mobian can't see OpenVPN is installed. - C0ffeeFreak - 03-11-2021

(03-11-2021, 06:56 AM)wibble Wrote: Native or flatpak? The readme mentions the '--debug [LEVEL]' command line option or an environment variable to set, which is easy for a native install but I don't know how it works for flatpak.
https://github.com/jkotra/eOVPN
The code getting the version is here:
https://github.com/jkotra/eOVPN/blob/master/eovpn/openvpn.py
See get_version(self) at line 172. It's trying to run 'openvpn --version' and find the version in the output using a regular expression. Is it unable to run the command (no openvpn in the path, sandboxing preventing it running, something else?) or does the response not contain a matching string? Or is there some other problem like a missing python library that's getting hidden by error trapping?
Thanks, I have been through all the debugging. No joy. I gave up.  I purchased a subscription to ProtonVPN for a year to use on the Pinephone when I am running Mobian. That app is fairly new. I will pass that bug on to the developer and let him see if he can figure it out. Somehow the file system must be different although I couldn't find it or something is missing in Mobian. There are files for OpenVpn everywhere throughout the system.


RE: Mobian can't see OpenVPN is installed. - jkotra - 03-30-2021

Hi @C0ffeeFreak 

from v0.20, eOVPN supports NetworkManager. for this to work, make sure you are using NetworkManager and has openvpn plugin installed.

Code:
sudo apt install network-manager-openvpn
sudo apt install network-manager-openvpn-gnome

then install eOVPN flaptak with --user option.

Code:
flatpak install --user flathub com.github.jkotra.eovpn



RE: Mobian can't see OpenVPN is installed. - county93 - 10-03-2021

(03-11-2021, 08:36 PM)C0ffeeFreak Wrote:
(03-11-2021, 06:56 AM)wibble Wrote: Native or flatpak? The readme mentions the '--debug [LEVEL]' command line option or an environment variable to set, which is easy for a native install but I don't know how it works for flatpak.
https://github.com/jkotra/eOVPN
The code getting the version is here:
https://github.com/jkotra/eOVPN/blob/master/eovpn/openvpn.py
See get_version(self) at line 172. It's trying to run 'openvpn --version' and find the version in the output using a regular expression. Is it unable to run the command (no openvpn in the path, sandboxing preventing it running, something else?) or does the response not contain a matching string? Or is there some other problem like a missing python library that's getting hidden by error trapping?
Thanks, I have been through all the debugging. No joy. I gave up.  I purchased a subscription to ProtonVPN for a year to use on the Pinephone when I am running Mobian. That app is fairly new. I will pass that bug on to the developer and let him see if he can figure it out. Somehow the file system must be different although I couldn't find it or something is missing in Mobian. There are files for OpenVpn everywhere throughout the system.

C0ffeeFreak: Did you install the ProtonVPN app? I tried, but my ethernet connection broke just after the repository install. I didn't even get to the main app install. I tried to disable the kill switch, but it did not recognize the command since the main app was not installed yet. I deleted everything and my ethernet connection came back up. I have the new Bookworm edition of Mobian, but I have tried it on the previous version with the same results. Thanks for any advice.


RE: Mobian can't see OpenVPN is installed. - C0ffeeFreak - 10-05-2021

(10-03-2021, 04:10 PM)county93 Wrote:
(03-11-2021, 08:36 PM)C0ffeeFreak Wrote:
(03-11-2021, 06:56 AM)wibble Wrote: Native or flatpak? The readme mentions the '--debug [LEVEL]' command line option or an environment variable to set, which is easy for a native install but I don't know how it works for flatpak.
https://github.com/jkotra/eOVPN
The code getting the version is here:
https://github.com/jkotra/eOVPN/blob/master/eovpn/openvpn.py
See get_version(self) at line 172. It's trying to run 'openvpn --version' and find the version in the output using a regular expression. Is it unable to run the command (no openvpn in the path, sandboxing preventing it running, something else?) or does the response not contain a matching string? Or is there some other problem like a missing python library that's getting hidden by error trapping?
Thanks, I have been through all the debugging. No joy. I gave up.  I purchased a subscription to ProtonVPN for a year to use on the Pinephone when I am running Mobian. That app is fairly new. I will pass that bug on to the developer and let him see if he can figure it out. Somehow the file system must be different although I couldn't find it or something is missing in Mobian. There are files for OpenVpn everywhere throughout the system.

C0ffeeFreak: Did you install the ProtonVPN app? I tried, but my ethernet connection broke just after the repository install. I didn't even get to the main app install. I tried to disable the kill switch, but it did not recognize the command since the main app was not installed yet. I deleted everything and my ethernet connection came back up. I have the new Bookworm edition of Mobian, but I have tried it on the previous version with the same results. Thanks for any advice.

Yes, I installed the app with no problems. It's been a long time ago though.


RE: Mobian can't see OpenVPN is installed. - county93 - 10-05-2021

(10-05-2021, 08:29 PM)C0ffeeFreak Wrote:
(10-03-2021, 04:10 PM)county93 Wrote:
(03-11-2021, 08:36 PM)C0ffeeFreak Wrote:
(03-11-2021, 06:56 AM)wibble Wrote: Native or flatpak? The readme mentions the '--debug [LEVEL]' command line option or an environment variable to set, which is easy for a native install but I don't know how it works for flatpak.
https://github.com/jkotra/eOVPN
The code getting the version is here:
https://github.com/jkotra/eOVPN/blob/master/eovpn/openvpn.py
See get_version(self) at line 172. It's trying to run 'openvpn --version' and find the version in the output using a regular expression. Is it unable to run the command (no openvpn in the path, sandboxing preventing it running, something else?) or does the response not contain a matching string? Or is there some other problem like a missing python library that's getting hidden by error trapping?
Thanks, I have been through all the debugging. No joy. I gave up.  I purchased a subscription to ProtonVPN for a year to use on the Pinephone when I am running Mobian. That app is fairly new. I will pass that bug on to the developer and let him see if he can figure it out. Somehow the file system must be different although I couldn't find it or something is missing in Mobian. There are files for OpenVpn everywhere throughout the system.

C0ffeeFreak: Did you install the ProtonVPN app? I tried, but my ethernet connection broke just after the repository install. I didn't even get to the main app install. I tried to disable the kill switch, but it did not recognize the command since the main app was not installed yet. I deleted everything and my ethernet connection came back up. I have the new Bookworm edition of Mobian, but I have tried it on the previous version with the same results. Thanks for any advice.

Yes, I installed the app with no problems. It's been a long time ago though.

Ok. Thanks for the reply.