sagarbehere 2 Posted ... Hi all, I recently got Eddie working on my raspberry pi 3 model B. It took a bit of doing, so documenting the process here in the hope that someone else will have to spend less time on it than I did. The raspberry pi 3 runs OSMC, which seems to be a tailored version of debian jessie. My GUESS is that although the Pi 3's ARM processor is 64 bits, OSMC is still running the 32 bit version of ARM linux. Anyways,... After OSMC was installed and networking was up, I ssh'd into the machine to install Eddie Step 0: You need to do everything as root. So su to root osmc@OmniScope:~$ sudo su Step 1: Install mono 4 The version of mono in the repositories is probably too old. So I added a new repository and fetched mono from there root@OmniScope:/home/osmc# echo "deb http://plugwash.raspbian.org/mono4 jessie-mono4 main" >> /etc/apt/sources.list root@OmniScope:/home/osmc# apt-get update root@OmniScope:/home/osmc# osmc@OmniScope:~$ apt-get install mono-complete verify that you have version 4 with root@OmniScope:/home/osmc# apt-cache policy mono-complete mono-complete: Installed: 4.0.2.5+dfsg-2~rpi1 Candidate: 4.0.2.5+dfsg-2~rpi1 Version table: *** 4.0.2.5+dfsg-2~rpi1 0 500 http://plugwash.raspbian.org/mono4/ jessie-mono4/main armhf Packages 100 /var/lib/dpkg/status 3.2.8+dfsg-10 0 500 http://ftp.debian.org/debian/ jessie/main armhf Packages root@OmniScope:/home/osmc# Step 2: Install openvpn and stunnel4 root@OmniScope:/home/osmc# apt-get install openvpn stunnel4 Step 3: Get the portable version of Eddie (mono required) from https://airvpn.org/linux/ You'll download a file named something like airvpn_linux_x64_mono.tar.gz. Don't worry about the _x64 part. Copy the file over to your raspberry pi, then untar it. Replace the openvpn and stunnel executables with those from your raspberry pi tar zxvf airvpn_linux_x64_mono.tar.gz cd airvpn_linux_mono mv openvpn openvpn.orig; cp /usr/sbin/openvpn . mv stunnel stunnel.orig; cp /usr/bin/stunnel4 . Step 4: Run Eddie You can now start Eddie from the command line, as explained at https://airvpn.org/topic/11541-command-line-edition-and-syntax/For example, I use mono AirVpn.exe -cli -profile=AirVpn.xml -login=myusername -password=mypassword -connect -netlock where I got the AirVpn.xml file from my laptop. This is optional. (Optional) Step 5: Make it more convenient If you follow all the steps above, you should be able to connect to AirVPN. However, when you quit the ssh session, the VPN session will also be terminated. I use my Pi as a media center and want the connection to persist after closing the ssh session. To achieve that, I use GNU Screen. sudo apt-get install screen Use google to find a tutorial on how to use screen. Briefly, after ssh'ing over to the Pi, type the command 'screen' (without the ' ' ). You'll get back the command prompt, but a screen session will be active. Now run Eddie as described above. To "detach" from the screen Ctrl+a+d. You'll get back to the command prompt, from which you can terminate the ssh session. AirVPN will continue working in the detached screen session. To get back to it, ssh into the Pi again and type 'screen -r'. 1 altae reacted to this Quote Share this post Link to post
LZ1 672 Posted ... Hello! Very good work indeed . I would recommend you change the title, to reflect that this is a guide or a how-to, as it otherwise appears like it's just another question. 1 sagarbehere reacted to this Quote Hide LZ1's signature Hide all signatures Hi there, are you new to AirVPN? Many of your questions are already answered in this guide. You may also read the Eddie Android FAQ. Moderators do not speak on behalf of AirVPN. Only the Official Staff account does. Please also do not run Tor Exit Servers behind AirVPN, thank you. Did you make a guide or how-to for something? Then contact me to get it listed in my new user guide's Guides Section, so that the community can find it more easily. Share this post Link to post
altae 22 Posted ... Nice. But why do you need screen? Can't you just run Eddie in the background (add "&" to the command) and use "disown" to untie it from the current shell session? Quote Share this post Link to post
Staff 9972 Posted ... Nice. But why do you need screen? Can't you just run Eddie in the background (add "&" to the command) and use "disown" to untie it from the current shell session? Probably because you have a lot of advantages with screen: you can anytime recall directly a screen to interact with the software and consult the output, share screen between accounts and you can also disconnect the account that detached the screen and be sure that the screen is still there and your software running, very nice for example when you are connected from a remote terminal via ssh. disown removes the job from the shell job list, so the process can't receive a SIGHUP from the shell, but it is still connected to the terminal. "If the terminal is destroyed (which can happen if it was a pty, like those created by xterm or ssh, and the controlling program is terminated, by closing the xterm or terminating the SSH connection), the program will fail as soon as it tries to read from standard input or write to standard output." See also: https://unix.stackexchange.com/questions/3886/difference-between-nohup-disown-and - first answer. Kind regards 1 altae reacted to this Quote Share this post Link to post
altae 22 Posted ... Ok, sounds logical to me. What's more I'd like to make clear that the intent of my comment wasn't to criticize the author. I just like to keep things simple and wondered why he used an additional tool for his solution. Quote Share this post Link to post
sagarbehere 2 Posted ... I'm the OP. LZ1: Thanks. I have changed the title. Hopefully, this one is more clear. Let me know if there is a more preferred way to phrase it. altae: Staff has correctly explained why I use screen. Among other things, it is useful to be able to log back into the Pi, pull up the screen session and consult the output of the client. Thanks for asking your question. This thread is now more helpful to the next reader :-) Quote Share this post Link to post
air_is_nice 3 Posted ... What is the memory fingerprint of this? I wonder if it's much bigger than running OpenVPN+Ipleak. Would be nice to have a number.. Quote Share this post Link to post
stupidcats 14 Posted ... I suppose that while using this method, we're free from DNS leaks? How do we choose "Renaming" in the CLI? Quote Share this post Link to post
zhang888 1066 Posted ... There are no DNS leaks in Linux, it queries the servers according to resolv.conf. Quote Hide zhang888's signature Hide all signatures Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees. Share this post Link to post
air_is_nice 3 Posted ... @sagarbehere, Have you managed to add this to the auto-startup? Quote Share this post Link to post
sagarbehere 2 Posted ... OP here. @air_is_nice : You have asked two questions 1. What is the memory footprint of running Eddie on rPi3 (secondary question: How does it compare to OpenVPN + ipleak) and 2. Have you managed to add this to the auto-startup. I am traveling right now and will have access to my setup on 27th November. Will edit+update this post with the memory footprint numbers then. As for the auto-startup, I have not tried this yet, but there shouldn't be any particular reason why this would be difficult. I'll figure out the exact mechanism to do it and report back on both questions by the end of November. Please PM me if you do not see an update by then. Quote Share this post Link to post
unit13 0 Posted ... Is it really necessary to use the Mono version of Eddie? Better yet: is it really necessary to have mono-complete installed in order for the ARM CLI version of Eddie to connect? The ARM CLI version of Eddie always gives this error, unless mono-complete is installed: Error: SecureChannelFailure (The authentication or decryption has failed.) Quote Share this post Link to post
zammtech 0 Posted ... (edited) I've been able to get the arm version (eddie-ui_2.11.15_linux_armv7l_mono) to run with mono using sudo mono AirVPN.exe -cli -login=UN -password=PW -connect -netlock But I get an error message of: ! 2017.02.24 14:45:46 - Activation of Network Lock - Linux IPTablesI 2017.02.24 14:45:48 - Checking login .... 2017.02.24 14:45:48 - Updating systems & servers data ..._wapi_connect: error looking up socket handle 0x79. 2017.02.24 14:46:29 - Cannot retrieve systems & servers data. Please retry later or contact us for help. (The request timed out)F 2017.02.24 14:46:29 - Cannot login. (The request timed out)! 2017.02.24 14:46:29 - Ready When I try to do: curl http://ip.changeip.com I get the message :curl: (7) Failed to connect to ip.changeip.com port 80: Connection timed out Any idea why this isn't working for me? Edit:Also how do I get the AirVPN.xml file from my macintosh app? Edited ... by zammtech Quote Share this post Link to post
schlanzwutscher 0 Posted ... Hi, i´m absolutely new to linux, but i woul´d like to get eddie running on my rpi3 with raspbian (jessie). I´ve tried installing the eddie packages after doing wget -qO - https://eddie.website/repository/keys/eddie_maintainer_gpg.key|sudo apt-key add - and adding deb http://eddie.website/repository/apt stable main to /etc/apt/sources.list but i can´t get eddie (eddie-ui_2.12.4_linux_armv7l_debian.deb, i´ve also tried the othe versions for linux) installed. Should i try doing the same as OP to get it running on raspbian? Which logs do you need? Thanks in advance.. Quote Share this post Link to post
Amiable0 0 Posted ... Hi, i´m absolutely new to linux, but i woul´d like to get eddie running on my rpi3 with raspbian (jessie). I´ve tried installing the eddie packages after doing wget -qO - https://eddie.website/repository/keys/eddie_maintainer_gpg.key|sudo apt-key add - and adding >>>deb http://eddie.website/repository/apt stable main to /etc/apt/sources.list but i can´t get eddie (eddie-ui_2.12.4_linux_armv7l_debian.deb, i´ve also tried the othe versions for linux) installed. Should i try doing the same as OP to get it running on raspbian? Which logs do you need? Thanks in advance.. -- NVM, I had the wrong information Quote Share this post Link to post
hoturekube 0 Posted ... Hello, In case anyone is interested, here is how I had the Eddie GUI client working fine on Raspberry Pi 3: On Rasbpian stretch (latest default available Raspbian version): just download the ARM Graphical UI Linux version (eddie-ui_2.13.6_linux_armhf_debian.deb) here: https://airvpn.org/linux/. Then sudo dpkg -i eddie-ui_2.13.6_linux_armhf_debian.deb it works out of the box (you may have to install required dependencies, just do sudo apt install -f and then again sudo dpkg -i eddie-ui_2.13.6_linux_armhf_debian.deb On Rasbpian Jessie (previous version): if you still use Rasbpain Jessie, the aforementioned steps are still valid, but the client will crash on launch. I had it working by installing the testing version of the mono-complete package, by first adding deb http://mirrordirector.raspbian.org/raspbian/ testing main contrib non-free rpi in /etc/apt/sources.list, then sudo apt update sudo apt install -t testing mono-complete Quote Share this post Link to post