Jump to content
Not connected, Your IP: 18.116.43.109
Sign in to follow this  
ub1quit33

Command Line Client on Raspberry Pi

Recommended Posts

I've downloaded the mono version of the AirVPN client to run on my Raspberry Pi, but I seem to be having an issue getting it up and running on my Arch Linux Arm installation. The problem appears to be that the AirVPN client passes a bad parameter or parameters to my local OpenVPN binary. Unfortunately, I cannot use the OpenVPN binary distriuted with the mono client, as it is not suitable for the ARM architecture.

 

The client also straingely appears to refuse to read certain configuration parameters from my profile, but that is a secondary concern for the time being. The command line invocation, application startup, and profile options are included below. Please note that although the application appears to be using the binaries with which it was distributed, these have been replaced with symlinks to my system's binaries.

 

I'd be happy to provide any additional information, and thanks in advance for any assistance!

 

/usr/local/etc/airvpn/system.xml

  <options>
    <option name="areas.blacklist" value="de,us" />
    <option name="executables.openvpn" value="/usr/bin/openvpn" />
    <option name="executables.ssh" value="/usr/bin/ssh" />
    <option name="executables.ssl" value="/usr/bin/stunnel" />
    <option name="openvpn.custom" value="/usr/bin/openvpn" />
  </options>
 

 

 

/usr/bin/mono /opt/airvpn_linux_x86_mono/AirVPN.exe -cli -profile=/usr/local/etc/airvpn/system.xml

Oct 29 00:46:57 lanvpn mono[19286]: I 2014.10.29 00:46:57 - AirVPN client version: 2.7, System: Linux, Architecture: Unknown
Oct 29 00:46:58 lanvpn mono[19286]: . 2014.10.29 00:46:58 - Reading options from /usr/local/etc/airvpn/system.xml
Oct 29 00:46:59 lanvpn mono[19286]: I 2014.10.29 00:46:59 - Press 'X' to Cancel, 'B' to reconnect to the best available server.
Oct 29 00:46:59 lanvpn mono[19286]: . 2014.10.29 00:46:59 - Data Path: /usr/local/etc/airvpn
Oct 29 00:46:59 lanvpn mono[19286]: . 2014.10.29 00:46:59 - App Path: /opt/airvpn_linux_x86_mono
Oct 29 00:46:59 lanvpn mono[19286]: . 2014.10.29 00:46:59 - Executable Path: /opt/airvpn_linux_x86_mono/AirVPN.exe
Oct 29 00:46:59 lanvpn mono[19286]: . 2014.10.29 00:46:59 - Command line arguments: cli="True" profile="system" path="/usr/local/var/airvpn"
Oct 29 00:46:59 lanvpn mono[19286]: . 2014.10.29 00:46:59 - Profile: system
Oct 29 00:47:02 lanvpn mono[19286]: . 2014.10.29 00:47:02 - Updating systems & servers data ...
Oct 29 00:47:02 lanvpn mono[19286]: . 2014.10.29 00:47:02 - Operating System: Unix 3.12.29.1 - Linux lanvpn 3.12.29-1-ARCH #1 PREEMPT Tue Oct 7 07:03:53 MDT 2014 armv6l GNU/Linu
Oct 29 00:47:02 lanvpn mono[19286]: I 2014.10.29 00:47:02 - OpenVPN Driver - Found
Oct 29 00:47:02 lanvpn mono[19286]: I 2014.10.29 00:47:02 - OpenVPN - Version: OpenVPN 2.3.4 (/opt/airvpn_linux_x86_mono/openvpn)
Oct 29 00:47:02 lanvpn mono[19286]: I 2014.10.29 00:47:02 - SSH - Version: OpenSSH_6.6.1p1, OpenSSL 1.0.1j 15 Oct 2014 (/usr/bin/ssh)
Oct 29 00:47:02 lanvpn mono[19286]: I 2014.10.29 00:47:02 - SSL - Version: stunnel 5.06 (/opt/airvpn_linux_x86_mono/stunnel)
Oct 29 00:47:02 lanvpn mono[19286]: I 2014.10.29 00:47:02 - IPV6: Not available
Oct 29 00:47:02 lanvpn mono[19286]: E 2014.10.29 00:47:02 - update-resolv-conf Not found
Oct 29 00:47:02 lanvpn mono[19286]: ! 2014.10.29 00:47:02 - Checking login ...
Oct 29 00:47:07 lanvpn mono[19286]: ! 2014.10.29 00:47:07 - Logged in.
Oct 29 00:47:07 lanvpn mono[19286]: I 2014.10.29 00:47:07 - Session starting.
Oct 29 00:47:07 lanvpn mono[19286]: ! 2014.10.29 00:47:07 - Checking environment
Oct 29 00:47:07 lanvpn mono[19286]: ! 2014.10.29 00:47:07 - Retrieving manifest
Oct 29 00:47:08 lanvpn mono[19286]: . 2014.10.29 00:47:08 - Systems & servers data update completed
Oct 29 00:47:08 lanvpn mono[19286]: ! 2014.10.29 00:47:08 - Waiting for latency tests (60 to go)
Oct 29 00:47:09 lanvpn mono[19286]: ! 2014.10.29 00:47:09 - Waiting for latency tests (58 to go)
Oct 29 00:47:09 lanvpn mono[19286]: ! 2014.10.29 00:47:09 - Waiting for latency tests (56 to go)
Oct 29 00:47:09 lanvpn mono[19286]: ! 2014.10.29 00:47:09 - Waiting for latency tests (55 to go)
Oct 29 00:47:09 lanvpn mono[19286]: ! 2014.10.29 00:47:09 - Waiting for latency tests (54 to go)
Oct 29 00:47:09 lanvpn mono[19286]: ! 2014.10.29 00:47:09 - Waiting for latency tests (53 to go)
Oct 29 00:47:09 lanvpn mono[19286]: ! 2014.10.29 00:47:09 - Waiting for latency tests (51 to go)
Oct 29 00:47:09 lanvpn mono[19286]: ! 2014.10.29 00:47:09 - Waiting for latency tests (50 to go)
Oct 29 00:47:10 lanvpn mono[19286]: ! 2014.10.29 00:47:10 - Waiting for latency tests (48 to go)
Oct 29 00:47:10 lanvpn mono[19286]: ! 2014.10.29 00:47:10 - Waiting for latency tests (45 to go)
Oct 29 00:47:10 lanvpn mono[19286]: ! 2014.10.29 00:47:10 - Waiting for latency tests (44 to go)
Oct 29 00:47:10 lanvpn mono[19286]: ! 2014.10.29 00:47:10 - Waiting for latency tests (42 to go)
Oct 29 00:47:10 lanvpn mono[19286]: ! 2014.10.29 00:47:10 - Waiting for latency tests (39 to go)
Oct 29 00:47:10 lanvpn mono[19286]: ! 2014.10.29 00:47:10 - Waiting for latency tests (38 to go)
Oct 29 00:47:10 lanvpn mono[19286]: ! 2014.10.29 00:47:10 - Waiting for latency tests (35 to go)
Oct 29 00:47:10 lanvpn mono[19286]: ! 2014.10.29 00:47:10 - Waiting for latency tests (32 to go)
Oct 29 00:47:10 lanvpn mono[19286]: ! 2014.10.29 00:47:10 - Waiting for latency tests (29 to go)
Oct 29 00:47:11 lanvpn mono[19286]: ! 2014.10.29 00:47:11 - Waiting for latency tests (26 to go)
Oct 29 00:47:11 lanvpn mono[19286]: ! 2014.10.29 00:47:11 - Waiting for latency tests (24 to go)
Oct 29 00:47:11 lanvpn mono[19286]: ! 2014.10.29 00:47:11 - Waiting for latency tests (20 to go)
Oct 29 00:47:11 lanvpn mono[19286]: ! 2014.10.29 00:47:11 - Waiting for latency tests (18 to go)
Oct 29 00:47:11 lanvpn mono[19286]: ! 2014.10.29 00:47:11 - Waiting for latency tests (16 to go)
Oct 29 00:47:11 lanvpn mono[19286]: ! 2014.10.29 00:47:11 - Waiting for latency tests (11 to go)
Oct 29 00:47:11 lanvpn mono[19286]: ! 2014.10.29 00:47:11 - Waiting for latency tests (5 to go)
Oct 29 00:47:11 lanvpn mono[19286]: ! 2014.10.29 00:47:11 - Checking authorization ...
Oct 29 00:47:12 lanvpn mono[19286]: ! 2014.10.29 00:47:12 - Connecting to Grumium (Canada, Toronto, Ontario)
Oct 29 00:47:13 lanvpn mono[19286]: ! 2014.10.29 00:47:13 - Disconnecting
Oct 29 00:47:13 lanvpn mono[19286]: . 2014.10.29 00:47:13 - Connection terminated.
Oct 29 00:47:13 lanvpn mono[19286]: . 2014.10.29 00:47:13 - OpenVPN > Options error: Unrecognized option or missing parameter(s) in /usr/local/etc/airvpn/fb49d9d32fb966785cf1aee
Oct 29 00:47:13 lanvpn mono[19286]: . 2014.10.29 00:47:13 - OpenVPN > Use --help for more information.
Oct 29 00:47:16 lanvpn mono[19286]: ! 2014.10.29 00:47:16 - Checking authorization ...
Oct 29 00:47:17 lanvpn mono[19286]: ! 2014.10.29 00:47:17 - Connecting to Grumium (Canada, Toronto, Ontario)
Oct 29 00:47:17 lanvpn mono[19286]: . 2014.10.29 00:47:17 - OpenVPN > Options error: Unrecognized option or missing parameter(s) in /usr/local/etc/airvpn/889cbe22dba3d679d7af794
Oct 29 00:47:17 lanvpn mono[19286]: . 2014.10.29 00:47:17 - OpenVPN > Use --help for more information.
Oct 29 00:47:17 lanvpn mono[19286]: ! 2014.10.29 00:47:17 - Disconnecting
 

 

 

Share this post


Link to post

I don't know why there are so many posts about this.

 

ARM WILL NOT run an x86/x64 architecture client.

 

This may or may not be a possible solution for Raspberry Pi owners to try: ExaGear

 

You can however generate your own .opvn config file to run from cli.

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
Sign in to follow this  

×
×
  • Create New...