Jump to content
Not connected, Your IP: 3.234.177.119
corrado

Alternative AirVPN client with provider-independent double-hop support (GNU/Linux)

Recommended Posts

I can't add airvpn servers, log:

2018-12-26 20:59:55,374 - INFO - Qomui version 0.8.0

2018-12-26 20:59:55,375 - WARNING - [Errno 2] No existe el fichero o el directorio: '/usr/share/qomui/config.json': Could not open /usr/share/qomui/config.json

2018-12-26 20:59:55,376 - WARNING - [Errno 2] No existe el fichero o el directorio: '/home/luser/.qomui/protocol.json': Could not open /home/luser/.qomui/protocol.json

2018-12-26 20:59:55,376 - WARNING - [Errno 2] No existe el fichero o el directorio: '/home/luser/.qomui/bypass_apps.json': Could not open /home/luser/.qomui/bypass_apps.json

2018-12-26 20:59:55,377 - WARNING - [Errno 2] No existe el fichero o el directorio: '/home/luser/.qomui/profile.json': Could not open /home/luser/.qomui/profile.json

2018-12-26 20:59:55,377 - INFO - Loading default configuration

2018-12-26 20:59:55,378 - INFO - Total number of server: 0

2018-12-26 20:59:55,421 - ERROR - Could not identify default gateway for ipv6 - no network connectivity

2018-12-26 20:59:55,422 - INFO - Detected new network connection

2018-12-26 20:59:55,452 - INFO - Deleted cgroup

2018-12-26 21:00:06,688 - INFO - iptables: adding exception for DNS requests

2018-12-26 21:00:09,734 - ERROR - Command '['dig', '+time=2', '+tries=1', 'www.airvpn.org', '+short']' returned non-zero exit status 9: Could not resolve www.airvpn.org

2018-12-26 21:00:09,950 - INFO - Airvpn: Request failed - aborting

2018-12-26 21:00:24,375 - INFO - iptables: adding exception for DNS requests

2018-12-26 21:00:27,398 - ERROR - Command '['dig', '+time=2', '+tries=1', 'www.airvpn.org', '+short']' returned non-zero exit status 9: Could not resolve www.airvpn.org

2018-12-26 21:00:28,163 - INFO - Airvpn: Request failed - aborting

 

Please help, I want to try double hop.

Share this post


Link to post

I can't add airvpn servers, log:

2018-12-26 20:59:55,374 - INFO - Qomui version 0.8.0

2018-12-26 20:59:55,375 - WARNING - [Errno 2] No existe el fichero o el directorio: '/usr/share/qomui/config.json': Could not open /usr/share/qomui/config.json

2018-12-26 20:59:55,376 - WARNING - [Errno 2] No existe el fichero o el directorio: '/home/luser/.qomui/protocol.json': Could not open /home/luser/.qomui/protocol.json

2018-12-26 20:59:55,376 - WARNING - [Errno 2] No existe el fichero o el directorio: '/home/luser/.qomui/bypass_apps.json': Could not open /home/luser/.qomui/bypass_apps.json

2018-12-26 20:59:55,377 - WARNING - [Errno 2] No existe el fichero o el directorio: '/home/luser/.qomui/profile.json': Could not open /home/luser/.qomui/profile.json

2018-12-26 20:59:55,377 - INFO - Loading default configuration

2018-12-26 20:59:55,378 - INFO - Total number of server: 0

2018-12-26 20:59:55,421 - ERROR - Could not identify default gateway for ipv6 - no network connectivity

2018-12-26 20:59:55,422 - INFO - Detected new network connection

2018-12-26 20:59:55,452 - INFO - Deleted cgroup

2018-12-26 21:00:06,688 - INFO - iptables: adding exception for DNS requests

2018-12-26 21:00:09,734 - ERROR - Command '['dig', '+time=2', '+tries=1', 'www.airvpn.org', '+short']' returned non-zero exit status 9: Could not resolve www.airvpn.org

2018-12-26 21:00:09,950 - INFO - Airvpn: Request failed - aborting

2018-12-26 21:00:24,375 - INFO - iptables: adding exception for DNS requests

2018-12-26 21:00:27,398 - ERROR - Command '['dig', '+time=2', '+tries=1', 'www.airvpn.org', '+short']' returned non-zero exit status 9: Could not resolve www.airvpn.org

2018-12-26 21:00:28,163 - INFO - Airvpn: Request failed - aborting

 

Please help, I want to try double hop.

I am getting the same error as well on OpenSUSE Tumbleweed.

Share this post


Link to post

Hi corrado,

 

Qomui 0.8 will not download airvpn's data, system notification says that perhaps I'm using the wrong credentials and the log shows ' INFO - OpenVPN:Options error: --tls-crypt fails with '/usr/share/qomui/certs/tls-crypt.key': No such file or directory (errno=2) ' which confirms that the keys aren't downloading.

 

I've retried this multiple times and am sure my credentials are correct. Also pia downloaded and works as expected.

 

This is on Mint 19.1 cinnamon after purging, cleaning, updating and reinstalling Qomui 0.8

 

Seasons Greetings!

 

 

Share this post


Link to post

Sorry same result as before

 

I'll install Debian Siduction and try to find out what's going wrong.

 

@kah0922&M3AtAirvpn&greerd: There is an issue with Airvpn auto-download at the moment, the new implementation had some hardcoded parameters that are simply not flexible enough (unfortunately I only have one account to test with). Thanks for letting me know & expect an update very soon!

Share this post


Link to post

 

Sorry same result as before

 

I'll install Debian Siduction and try to find out what's going wrong.

 

@kah0922&M3AtAirvpn&greerd: There is an issue with Airvpn auto-download at the moment, the new implementation had some hardcoded parameters that are simply not flexible enough (unfortunately I only have one account to test with). Thanks for letting me know & expect an update very soon!

 

Hello!

 

Please open a ticket and ask for some additional test account and other info, our support team will be glad to help.

 

Kind regards

Share this post


Link to post

Qomui 0.8.1 is out and it should fix the Airvpn auto-download feature. Here's the full changelog:

 

- [change] option to restart qomui-service from gui if it crashes
- [change] added exceptions for all DBus calls
- [change] improved support for non-systemd distributions
- [change] detecting and closing simultaneously running instances
- [bugfix] Airvpn auto-download fixed

 

Please open a ticket and ask for some additional test account and other info, our support team will be glad to help.

 

Thanks, a lot! I'll do that, this would really help :-)

 

@pjnsmb: I did a fresh install of Debian Siduction in a VM and could install Qomui without any issues. Only thing to be aware of: You have to choose a release that matches your Python version. The latest Ubuntu package worked fine for me. But this wouldn't explain the dpkg error you are getting. Maybe something's wrong with your dpkg configuration.

Share this post


Link to post
Linux Mint 18.3 Mate doesn't work either v 0.74 nor 0.81

 

$ qomui-gui

Traceback (most recent call last):

  File "/usr/bin/qomui-gui", line 6, in <module>

    from pkg_resources import load_entry_point

  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2927, in <module>

    @_call_aside

  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2913, in _call_aside

    f(*args, **kwargs)

  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set

    working_set = WorkingSet._build_master()

  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 635, in _build_master

    ws.require(__requires__)

  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 943, in require

    needed = self.resolve(parse_requirements(requirements))

  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 829, in resolve

    raise DistributionNotFound(req, requirers)

pkg_resources.DistributionNotFound: The 'qomui==0.7.4' distribution was not found and is required by the application

 

 

If i install 0.74 first i receive above on cmd prompt.

If i install 0.81 over it, i receive complaint about qomuui service not found.

If i install 0.81 directly i receive on cmd prompt similiar to 0.74.

 

IN ESSENCE your app doesn't work on my box

Share this post


Link to post

@win8: Since version 0.7.4 I have switched to OpenSuse Build Service to publish packages. Depending on the distribution, this may conflict with the previously released deb-packages. In essence, a clean upgrade may not be possible. To resolve this, please remove Qomui entirely first:

sudo apt purge qomui

Afterwards, you should be able to perform a clean installation of Qomui by using the deb-package or adding the repository. Linux Mint 18.3 is based on Ubuntu 16.04 to my knowledge, so make sure you choose the correct package.

Share this post


Link to post

1. How hard can it be to download the right distri pack? Here: Packages for xUbuntu 16.04

2. My system was ofc clean. Nevertheless i did ...

$ sudo apt purge qomui

[sudo] password xxxxxxxxxxxx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package qomui
 

3, Tried to run your prog from console

 

 $ qomui-gui
QLayout: Attempting to add QLayout "" to QomuiGui "Form", which already has a layout
Traceback (most recent call last):
  File "/usr/bin/qomui-gui", line 9, in <module>
    load_entry_point('qomui==0.8.1', 'gui_scripts', 'qomui-gui')()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 2743, in main
    ex = QomuiGui()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 147, in __init__
    self.systemtray()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1112, in systemtray
    self.pop_tray_menu()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1123, in pop_tray_menu
    self.visibility_action = QtWidgets.QAction()
TypeError: arguments did not match any overloaded call:
  QAction(QObject): not enough arguments
  QAction(str, QObject): not enough arguments
  QAction(QIcon, str, QObject): not enough arguments
 
Doesn't work ...
 
 
4. Clicking qomui icon on menu
For a split second a window starts and disappears
 
Doesn't work ...

Share this post


Link to post

Next I tried Install method II (For xUbuntu 16.04 run the following:)

 

1. purge again

2. install

 

3. result:

 

 qomui-gui

QLayout: Attempting to add QLayout "" to QomuiGui "Form", which already has a layout
Traceback (most recent call last):
  File "/usr/bin/qomui-gui", line 9, in <module>
    load_entry_point('qomui==0.8.1', 'gui_scripts', 'qomui-gui')()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 2743, in main
    ex = QomuiGui()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 147, in __init__
    self.systemtray()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1112, in systemtray
    self.pop_tray_menu()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1123, in pop_tray_menu
    self.visibility_action = QtWidgets.QAction()
TypeError: arguments did not match any overloaded call:
  QAction(QObject): not enough arguments
  QAction(str, QObject): not enough arguments
  QAction(QIcon, str, QObject): not enough arguments
 
Doesn't work!
 
 
PS: On 18.04 I had 0.74 running ... go figure

Share this post


Link to post
$ qomui-gui

QLayout: Attempting to add QLayout "" to QomuiGui "Form", which already has a layout

Traceback (most recent call last):

  File "/usr/bin/qomui-gui", line 11, in <module>

    load_entry_point('qomui==0.8.1', 'gui_scripts', 'qomui-gui')()

  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 2743, in main

    ex = QomuiGui()

  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 147, in __init__

    self.systemtray()

  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1112, in systemtray

    self.pop_tray_menu()

  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1123, in pop_tray_menu

    self.visibility_action = QtWidgets.QAction()

TypeError: arguments did not match any overloaded call:

  QAction(QObject): not enough arguments

  QAction(str, QObject): not enough arguments

  QAction(QIcon, str, QObject): not enough arguments

 


$ pip list | grep PyQt5

/home/mint/.local/lib/python2.7/site-packages/pip/_vendor/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.

  warnings.warn(warning, RequestsDependencyWarning)

Share this post


Link to post

I've run into the same (or similar) in that when I uninstalled qomui, the  /usr/lib/python3.5/dist-packages/qomui/ directory was still there. Deleting the  /usr/lib/python3.5/dist-packages/qomu directory would work for me. The fresh install uses python3 instead I think or at least I have a /usr/lib/python3/dist-packages/qomui directory. 

Share this post


Link to post

 

 $ qomui-gui
QLayout: Attempting to add QLayout "" to QomuiGui "Form", which already has a layout
Traceback (most recent call last):
  File "/usr/bin/qomui-gui", line 9, in <module>
    load_entry_point('qomui==0.8.1', 'gui_scripts', 'qomui-gui')()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 2743, in main
    ex = QomuiGui()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 147, in __init__
    self.systemtray()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1112, in systemtray
    self.pop_tray_menu()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1123, in pop_tray_menu
    self.visibility_action = QtWidgets.QAction()
TypeError: arguments did not match any overloaded call:
  QAction(QObject): not enough arguments
  QAction(str, QObject): not enough arguments
  QAction(QIcon, str, QObject): not enough arguments

 

@win8: This error has nothing to do with a corrupt or incomplete installation. It's rather an issue with an older version of PyQt5 I suspect. I have an idea how to fix that, but I need to do some testing. In any case, this will require an update. I'll get back to you soon. Thanks a lot for sharing this with me!

Share this post


Link to post

I've run into the same (or similar) in that when I uninstalled qomui, the  /usr/lib/python3.5/dist-packages/qomui/ directory was still there. Deleting the  /usr/lib/python3.5/dist-packages/qomu directory would work for me. The fresh install uses python3 instead I think or at least I have a /usr/lib/python3/dist-packages/qomui directory. 

 

I just did the purge of qomui and looked. Sorry, i have no residual after  /usr/lib/python3.5/  with the names you mentioned

 

 

 

 

 

 $ qomui-gui
QLayout: Attempting to add QLayout "" to QomuiGui "Form", which already has a layout
Traceback (most recent call last):
  File "/usr/bin/qomui-gui", line 9, in <module>
    load_entry_point('qomui==0.8.1', 'gui_scripts', 'qomui-gui')()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 2743, in main
    ex = QomuiGui()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 147, in __init__
    self.systemtray()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1112, in systemtray
    self.pop_tray_menu()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1123, in pop_tray_menu
    self.visibility_action = QtWidgets.QAction()
TypeError: arguments did not match any overloaded call:
  QAction(QObject): not enough arguments
  QAction(str, QObject): not enough arguments
  QAction(QIcon, str, QObject): not enough arguments

 

@win8: This error has nothing to do with a corrupt or incomplete installation. It's rather an issue with an older version of PyQt5 I suspect. I have an idea how to fix that, but I need to do some testing. In any case, this will require an update. I'll get back to you soon. Thanks a lot for sharing this with me!

 

I'm glad to be of any help!

Share this post


Link to post

Released version 0.8.2. This one changes quite a few things and finally includes the option which keys to use for Airvpn. Here's the full changelog:

  • [new] added AzireVPN
  • [new] option to specify key for Airvpn
  • [change] fast/random option added to profiles
  • [change] order of latency checks now based on previous results
  • [change] tidied up directory structure
  • [change] checks if ipv6 is available
  • [change] auto-updates for different providers won't run concurrently
  • [change] check if IPv6 is available before setting iptables rules
  • [change] don't generate new WireGuard keys on auto-update
  • [change] allow importing new servers if firewall is active but VPN is not
  • [bugfix] firewall not deactivating after gui exit (if the respective option is set)
  • [bugfix] detection of service crashes is not reliable
  • [bugfix] Windscribe auto-update fails because of authentication error
  • [bugfix] compatibility with older Qt5 versions
  • [bugfix] previous iptables rules not always restored
  • [bugfix] crashes if ipv6 stack not available
  • [bugfix] OpenVPN config changes overwritten on update
  • [bugfix] Debian packages remove /usr/share/qomui directory on update
Additional notes:
  • Re-importing config files from supported providers is strongly recommended as they are now saved in a different location.
  • If you are using Debian/Ubuntu packages Qomui must be removed (sudo apt purge qomui) and then installed again due to a bug in the postrm script.

 

@win8: This should solve your issue with an older version of PyQt. I'm sorry it took a while.

Share this post


Link to post

Question : what is the rule, with latency pings ? It seems to me that qomui only pings when not connected. Is that so ?

Share this post


Link to post
For those who want to install this on Raspbian (raspberry pie os ) (or armhf): 
first : 

sudo apt-get install  python3-setuptools python3-pyqt5 python3-dbus python3-dbus.mainloop.pyqt5 openvpn stunnel dnsutils net-tools dnsmasq geoip-bin geoip-database python3-psutil python3-requests python3-lxml python3-bs4 python3-pexpect python3-cryptography

 

then just in case:

 

pip install beautifulsoup4

pip install pexpect
pip install psutil
pip install requests
pip install lxml

 

then 

then

 

cd qomui

sudo python3 setup.py build

sudo python3 setup.py install 

 

after this hop option will fail so:

copy "script" folder contents to  installed folder (4 files including hope and hope_down)

in my case

sudo cp /scripts/*.sh /usr/share/qomui/

 

perform a restart (or not) and Open the app

Done 

Share this post


Link to post

Hello, after last update, i can't make connect with hop server, like airvpn1->airvpn2, before was all good.

And second, after all updates, im need manually reinstall qomui, because if i update it, qomui crash and don't work.

Xubuntu 18.04.1

Share this post


Link to post

Hello, after last update, i can't make connect with hop server, like airvpn1->airvpn2, before was all good.

And second, after all updates, im need manually reinstall qomui, because if i update it, qomui crash and don't work.

Xubuntu 18.04.1

 

Logs? 

Share this post


Link to post

A word of warning: The current v0.8.2 does work with Debian 9.7 but not with testing and sid. The dpkg-new not found thing occurs. It is very likely that the differences between the major versions are too big.


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

Hello, after last update, i can't make connect with hop server, like airvpn1->airvpn2, before was all good.

And second, after all updates, im need manually reinstall qomui, because if i update it, qomui crash and don't work.

Xubuntu 18.04.1

 

Can you please post your log, so I can see where it fails. Manual re-installations won't be necessary anymore with the next release (hopefully!)

 

A word of warning: The current v0.8.2 does work with Debian 9.7 but not with testing and sid. The dpkg-new not found thing occurs. It is very likely that the differences between the major versions are too big.

 

Thanks for the warning! I have only tested on Debian stable so far, and the package for Debian is built against this version. I'll look into it.

 

 

Question : what is the rule, with latency pings ? It seems to me that qomui only pings when not connected. Is that so ?

 

No, it'll actually ping when it detects a new Internet connection which is usually the case after you start Qomui. It'll also perform latency checks after a network change and once you add new servers.

Share this post


Link to post

corrado

 

Thanks for the great client. I'm using it on Ubuntu 18.04. Gnome and it's running pretty good with just one issue. 

Installed no problems. imported air files in a snap, connects super fast and I tested it for leaks with several tools available on the www and not a single leak - good job!

The app doesn't pick up the theme used on my system - arc dark 

 

Thanks

Share this post


Link to post
On 2/14/2019 at 12:29 PM, giganerd said:

A word of warning: The current v0.8.2 does work with Debian 9.7 but not with testing and sid. The dpkg-new not found thing occurs.

Same here.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...