Page 1 of 1
[SOLVED] native nordvpn app on MX linux
Posted: Fri Apr 05, 2019 3:22 am
by ludolph
I am using nordVPN as a good and reliable VPN services provider more than two years. Few months ago I completely switched from Linux Mint to MX Linux. I am using standard openVPN tools for access to nordVPN servers, but now I test native nordvpn app (see:
https://support.nordvpn.com/Connectivit ... -Linux.htm), which works on Linux Mint very well but on MX Linux 18.1 does not work at all.
After some experimentation I found the main reason: this app works well only with systemd!!!
1. Is there anybody, who is using this native nordVPN app on MX Linux 18 without systemd (as default boot option of MX Linux)?
2. Is possible in general run app like nordvpn without systemd?
I will be very happy for any help, because this CLI app is very user friendly.
Re: native nordvpn app on MX linux
Posted: Fri Apr 05, 2019 3:48 am
by JayM
A quick Google (DuckDuckGo actually) shows that NordVPN can be connected to using the openvpn app, which is in the MX repos, if that helps.
Re: native nordvpn app on MX linux
Posted: Fri Apr 05, 2019 3:54 am
by ludolph
JayM wrote: Fri Apr 05, 2019 3:48 am
A quick Google (DuckDuckGo actually) shows that NordVPN can be connected to using the openvpn app, which is in the MX repos, if that helps.
Yes, of course, as I said in my post: I am using now openVPN app from MX repo!
But my question is more general. I would like to know if is possible, in principle, use application which works well with "systemd" without "systemd", because MX Linux does not use "systemd" as default service.
Re: native nordvpn app on MX linux
Posted: Fri Apr 05, 2019 4:21 am
by JayM
Serves me right for not reading your post more carefully.

Re: native nordvpn app on MX linux
Posted: Sat Apr 06, 2019 11:55 am
by fouigee
I got it running by doing this :
sudo update-rc.d nordvpn defaults
sudo reboot
Re: native nordvpn app on MX linux
Posted: Sun Apr 07, 2019 3:01 am
by ludolph
fouigee wrote: Sat Apr 06, 2019 11:55 am
I got it running by doing this :
sudo update-rc.d nordvpn defaults
sudo reboot
Yes this solution looks like a good one. Thanks!
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Thu Apr 18, 2019 3:56 am
by ludolph
Yesterday was nordvpn app for Linux significantly upgraded from version 2.2 to version 3.0. The one of main change is cancellation of sysVinit support. So from now is supported only systemd. Of course is still possible to connect to nordVPN servers via openvpn or downgrade and lock to nordvpn app version 2.2 (the only solution for MX Linux users), but the latest nordvpn v3.0 app is far more better ...
I am afraid that this situation will be more and more frequent in the near future, because systemd is practically standard for all main Linux distributions. On the other hand I still agree that systemd is a bit problematic (basic assumption of MX developers), but ... Any opinion?
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Thu Apr 18, 2019 8:01 am
by dolphin_oracle
it doesn't shock me. sysVinit scripts are harder to write than systemd service unit files.
However, usually there is just some service that needs started up. you can usually do this manually if you know the name of the executable for the service.
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Thu Apr 18, 2019 8:18 am
by ludolph
dolphin_oracle wrote: Thu Apr 18, 2019 8:01 am
However, usually there is just some service that needs started up. you can usually do this manually if you know the name of the executable for the service.
Could you recommend me how to investigate this problem? Where are typically stored services or executable for systemd?
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Thu Apr 18, 2019 8:40 am
by dolphin_oracle
ludolph wrote: Thu Apr 18, 2019 8:18 am
dolphin_oracle wrote: Thu Apr 18, 2019 8:01 am
However, usually there is just some service that needs started up. you can usually do this manually if you know the name of the executable for the service.
Could you recommend me how to investigate this problem? Where are typically stored services or executable for systemd?
usually in /lib/systemd/system. they can also be in /etc/systemd/system. they should have .service extensions. they will be simple text files, and there an execstart line and possibly an execstop line inside with the name and path of the executable
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Thu Apr 18, 2019 11:26 am
by towwire
ludolph wrote: Thu Apr 18, 2019 8:18 am
dolphin_oracle wrote: Thu Apr 18, 2019 8:01 am
However, usually there is just some service that needs started up. you can usually do this manually if you know the name of the executable for the service.
Could you recommend me how to investigate this problem? Where are typically stored services or executable for systemd?
Expressvpn is another VPN that the deb show installed but does not run. It has addens for 'Chrome' and "Firefox' but I don't used either so did not install them.
So in a terminal what does it say if you enter ssomething like "nordvpn status'. If I do that after install of expressvpn, 'expressvpn status' it tell me that a demon is not running.
When I first got the deb for Expressvpn, it would not run but found a hack that made it work, so did not have to ask for my money back. Expressvpn does not have an app but is done thru the terminal. They came out with a newer version but it would not install over the old one, and I could not remove the old one. I found out that I had to boot into systemd to plurge the old version. When I rebooted to non systemd side I could then install the newer version and applied the hack and it runs fine. You may have to do the same.
If you still have the old version installed then you might try this. Do not know if this will work for 'Nordvpn', but here is the hack I use.
Code: Select all
sudo sh -c 'E=expressvpn; I=/etc/init.d/$E; cp -f /usr/lib/$E/$E.init $I; chmod +x $I; touch /etc/default/$E; $I restart; /usr/sbin/update-rc.d $E defaults'
If it works then do like I did to delete the old one and try the newer version with the hack.
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Thu Apr 18, 2019 11:42 am
by fehlix
ludolph wrote: Thu Apr 18, 2019 3:56 am
... (the only solution for MX Linux users), but the latest nordvpn v3.0 app is far more better ...
I might play with version 3 over Eastern (after having found all Easter eggs

) ... let's see ...

Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Thu Apr 18, 2019 11:58 am
by ludolph
fehlix wrote: Thu Apr 18, 2019 11:42 am
I might play with version 3 over Eastern (after having found all Easter eggs

) ... let's see ...
I'd be glad for that because now I'm not able to run nordvpn without systemd.
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Thu Apr 18, 2019 12:41 pm
by towwire
ludolph wrote: Thu Apr 18, 2019 11:58 am
fehlix wrote: Thu Apr 18, 2019 11:42 am
I might play with version 3 over Eastern (after having found all Easter eggs

) ... let's see ...
I'd be glad for that because now I'm not able to run nordvpn without systemd.
I hope
'fehlix' finds how to do it for you. He is the one that did the hack for Expressvpn. I gave that to you but didn't know if it's worth trying while you wait to see what he comes up with. You always wonder if it will mess up you system if you do it.
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 12:31 pm
by jim8085
New user, first post.
Is the Firefox NordVPN proxy extension a usable option? The CLI app will let you connect to a specific server were the proxy extension just gives you a country choice. I really like the CLI app!
When using a live USB (static persistence) is there an boot option to systemd? I can only find this option in a full install. With a live USB it seems the proxy extension is the only simple choice, for me at least.
I have 2+ years left on my 3 year purchase to NordVPN, so I am not really looking for a different VPN.
Jim
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 12:33 pm
by dolphin_oracle
jim8085 wrote: Sun Apr 21, 2019 12:31 pm
New user, first post.
Is the Firefox NordVPN proxy extension a usable option? The CLI app will let you connect to a specific server were the proxy extension just gives you a country choice. I really like the CLI app!
When using a live USB (static persistence) is there an boot option to systemd? I can only find this option in a full install. With a live USB it seems the proxy extension is the only simple choice, for me at least.
I have 2+ years left on my 3 year purchase to NordVPN, so I am not really looking for a different VPN.
Jim
you cannot change init systems on the live media.
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 2:08 pm
by fehlix
Looks like I'm a step further:
Code: Select all
$ inxi -Ix
Info: Processes: 191 Uptime: 1h 27m Memory: 8.78 GiB used: 829.1 MiB (9.2%) Init: SysVinit
runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 inxi: 3.0.33
demo@mx1:~/Desktop
$ /usr/bin/nordvpn connect
Please enter your login details.
Email / Username:
Here what I have done to demonstrate that it (might) work:
with latest version from there website nordvpn_3.0.0-4_amd64.deb
I manually "installed" (without systemd) and needed to adjust permissions:
First I needed to adjust the permissions and ownership:
Code: Select all
sudo chmod 755 /usr/sbin/nordvpn* /usr/bin/nordvpn*
sudo chown 0:0 /usr/sbin/nordvpn* /usr/bin/nordvpn*
and
started manually the system daemon
and the user-daemon:
Now it connects and want my user credientials:
Code: Select all
nordvpn connect
Please enter your login details.
Email / Username:
Password:
This is tested with a running LiveISO.
If anybody with valid norvpn credential can test to see if it is working,
we would just need to a small adjustment within e,g Popular Apps to
tweak the installer for nordvpn a bit. With those
2 additions:
1. Add a sysV-init script for nordvpn system daemon
2 Add system wide autostart , so the user-daemon
get started for all user looged in.
and perhaps add a re-connect Dekstop-starter for the user-daemon to reconnect.

Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 2:12 pm
by dolphin_oracle
ah, I missed the user daemon. Good work fehlix. (PS I've got some thoughts we can discuss in the dev forum).
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 2:20 pm
by galaxysurfer
Thanx for doing this & finding a hack for us. I had a conversation with nordvpn about the apps dependence on systemd. Maybe you can take your solution directly to nordvpn so they can incorporate it into their code for our distro & others using sysvinit? OR we could have a corrected version in our repo for a working direct install. I will test this on my setups as a nordvpn customer.
Galaxysurfer

Mx is getting better & better!
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 3:13 pm
by galaxysurfer
Just chatted with Nordvpn customer support. Apparently it is back to the drawing board for linux app for now ( current app not working correctly). It means the only current working solution is through the openvpn module or router config. path. I mentioned to him about the unique boot options of Mx Linux ( systVinit boot default with alt systemd boot option.) I guess us vpn users need to be patient awhile longer.
** edit I dont think customer service rep knew what he was talking about after testing version 3 here.
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 3:15 pm
by dolphin_oracle
what we need are the vpns that fail installs because systemctl isn't present to rewrite their postinst scripts. I forget which one that is (not nordvpn though).
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 4:08 pm
by fehlix
galaxysurfer wrote: Sun Apr 21, 2019 3:13 pm
Just chatted with Nordvpn customer support... ( current app not working correctly).
Can you rephrase your statement or clarify: Have you tested the provided test-workaround and is it not working?
Or do you just rephrasing the customer support info from nordvpn?
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 4:29 pm
by galaxysurfer
The not working comment comes from Nordvpn customer support, meaning their official position on the matter. I am personally using a combination of the openvpn module addon for network configuration for custom tweaking laptop as well as Asus RT-AC68U router running Asuswrt-merlin firmware for network system control & Win 10 app on individual machines when not on Linux OS. I run dual boot setup.
I haven't tested the Linux app lately on my MxLinux installed hardware. Previous attempts didn't go well due to the systemd dependence. I didnt try it on systemd boot. Not using Mxlinux install on my tower as daily driver due to needing to reinstall os on a different hdd. Current hdd failing. ( hdd has clocked in excess of 75,000 hrs. ) waiting on funds to replace or will make a new partition on other hdd & do same for now.
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 7:06 pm
by galaxysurfer
installed linux app ver 3 for nordvpn in systemd mode. it gives me the required prompts to log on to servers okay & gives me a random connection , meaning cant choose which server i get. I will go see what happens when i try from default sysvinit side.
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 7:13 pm
by galaxysurfer
trying to login to nordvpn on sysvinit side without any changes gives me Cannot reach user daemon error.
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 7:22 pm
by galaxysurfer
entered code into terminal
sudo chmod 755 /usr/sbin/nordvpn* /usr/bin/nordvpn*
sudo chown 0:0 /usr/sbin/nordvpn* /usr/bin/nordvpn*
nohup sudo /usr/sbin/nordvpnsd &
nohup /usr/sbin/nordvpnud &
then entered nordvpn connect
successfully signed me on to same server I accessed when signing on via systemd booted side
seems to be a success now would be nice to be able to pick which server i connect to, otherwise no gain from current method via network manager.
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 7:29 pm
by galaxysurfer
so far so good
Went into nordvpn where features are spelled out. Like the ability to search by location. Not as good as win with gui but it is a start.
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 7:34 pm
by fehlix
galaxysurfer wrote: Sun Apr 21, 2019 7:29 pm
so far so good if you are creating a Nordvpn app we can use. IF we can get some of the features the win 10 app has.... bonus! let me know if you need me to do more troubleshooting. I am going to uninstall it for now so no leaking is setup.
Sounds good. Thanks for testing.
Cant't you choose the location / city you want to connect to?
I'm not (yet) using nordvpn,
but the help pages indicates you can select from a list:
Code: Select all
nordvpn --help
Welcome to NordVPN Linux client app!
Version 3.0.0-4
Website: https://nordvpn.com
Usage: nordvpn [global options] command [command options] [arguments...]
Commands:
cities Shows a list of cities where servers are available
connect, c Connects you to VPN
countries Shows a list of countries where servers are available
disconnect, d Disconnects you from VPN
groups Shows a list of available server groups
login Logs you in
logout Logs you out
set Sets a configuration option
settings Shows current settings
status Shows connection status
whitelist Adds or removes an option from a whitelist
help, h Shows a list of commands or help for one command

Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 7:49 pm
by galaxysurfer
so far can get into cities list for usa & enable dns settings
no go on the cybersec
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 7:54 pm
by galaxysurfer
can set killswitch & notify
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 7:55 pm
by galaxysurfer
i'm in canada but havent figured out how to configure by cities. says it isn't an option for my country. I guess the linux app is still beta
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 8:01 pm
by fehlix
Thanks for lettings us know. This sounds all very exciting. Haven't seen a need for vpn myself,
but certainly might have to explore this option too . (Even not yet sure why i would need a vpn ;=)
So we could prepare something for a user to get it installed easily in sysVinit, e.g within MX PI popular apps,
or some thing else...

Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 8:07 pm
by galaxysurfer
I am a big fan of vpn. I can see a use for public wifi hotspots. Unfortunately can't use it at the library. Security first! ;-)
You might want to check out [url]https:
www.snbforums.com[/url] This is where i go for router & other related security help.
As the IoT becomes more prevalent security on devices will become a bigger issue. I have my Rokus segregated from the rest of my network. I don't want to be the product data if you know what I mean. I'm looking forward to the Linux cellphones ie Librem 5
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 8:28 pm
by galaxysurfer
code needs some tweaking since it seems to be affecting my login to this forum not just the nordvpn.
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 8:43 pm
by fehlix
galaxysurfer wrote: Sun Apr 21, 2019 8:28 pm
code needs some tweaking since it seems to be affecting my login to this forum not just the nordvpn.
you get an error message ? any stored cookies? or just slow connection
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 8:52 pm
by galaxysurfer
i think this code i initiated is the culprit
nohup sudo /usr/sbin/nordvpnsd &
nohup /usr/sbin/nordvpnud &
i would like to use a rc.init.d alternative. If you teach me how to modify this, it will help me with my sagetv install problem ( it's currently dependent on systemd as well)
looking in init.d file I don't see a dedicated file for nordvpn
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 8:58 pm
by galaxysurfer
What I guess I am asking is how to configure this so it is user agnostic.
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 8:59 pm
by dolphin_oracle
galaxysurfer wrote: Sun Apr 21, 2019 8:52 pm
i think this code i initiated is the culprit
nohup sudo /usr/sbin/nordvpnsd &
nohup /usr/sbin/nordvpnud &
i would like to use a rc.init.d alternative. If you teach me how to modify this, it will help me with my sagetv install problem ( it's currently dependent on systemd as well)
looking in init.d file I don't see a dedicated file for nordvpn
you shoud be able to just add the executable lines to the end of /etc/rc.local for now. do it before the "exit 0" at the bottom.
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 9:03 pm
by fehlix
Ahh, sure that was just a simple test for making sure the connection works. the next is to provide a system service startup scripts probably in combination with tweaking the nordvpn provided deb package with one installer ... asap

...

...

.. and than we look into your sagetv

Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 9:04 pm
by galaxysurfer
http://manpages.ubuntu.com/manpages/xen ... c.d.8.html
current version
Found the above link so hoping I can tweak my sagetv server setup too so it runs properly in sysvinit. Current version of sagetv is coded for systemd. Want to be able to modify all systemd programs for sysvinit use in mxlinux. Then putting the systemd boot mode in the rearview mirror!
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 9:07 pm
by galaxysurfer
NP just found window of opportunity to kill 2 birds with one stone so to speak. I had asked about sagetv already in another thread but no response. I guess I just like to be unique - use alot of not commonly adopted pkgs in Mx Linux. lol or hardware for that matter.

Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 9:08 pm
by jim8085
galaxysurfer wrote: Sun Apr 21, 2019 8:28 pm
code needs some tweaking since it seems to be affecting my login to this forum not just the nordvpn.
I did not have this issue. But I was testing with a live USB, MX18.2 64 bit.
Jim
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 9:09 pm
by galaxysurfer
Maybe am combining 2 unrelated issues? I just noticed when i signed off of nordvpn in terminal i was signed out of mxlinux forum too.
Maybe bumped a key by mistake? Sometimes my laptop is possessed by gremlins! lol darn those gremlins.
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 9:19 pm
by jim8085
Test results for me are the same as post 25-31.
This DID work for me ... nordvpn set cybersec on or off - Enable or disable CyberSec
Really every command I tried worked. To select the city you have to already know the server number,
nordvpn connect ca327 will connect you to Vancouver Canada
nordvpn connect us361 will connect you to Seattle WA
You used to be able to find a list of servers on NordVPN, but I couldn't find it, now there is a "choose the best one app".
https://www.reddit.com/r/nordvpn/commen ... ity_state/
Here is the list of available commands:
nordvpn login - Log in.
nordvpn connect or nordvpn c - Connect to VPN. To connect to specific servers, use nordvpn connect <country_code server_number> (eg. nordvpn connect uk715)
nordvpn disconnect or nordvpn d - Disconnect from VPN.
nordvpn set or nordvpn s - Set a configuration option. Possible options:
nordvpn set cybersec on or off - Enable or disable CyberSec
nordvpn set killswitch on or off - Enable or disable Kill Switch
nordvpn set autoconnect on or off - Enable or disable Autoconnect
nordvpn set protocol udp or tcp - Switch between UDP and TCP protocols
nordvpn set obfuscate on or off - Enable or disable Obfuscated Servers.
nordvpn whitelist add port 22 - Open incoming port 22 (the port number can be different)
nordvpn whitelist remove port 22 - Remove the rule added with the above command
nordvpn settings - See the current settings.
nordvpn status - See the connection status.
nordvpn countries - See the country list.
nordvpn cities - See the city list.
nordvpn groups - See a list of available server groups.
nordvpn logout - Log out.
nordvpn help or nordvpn h - See the list of commands or help for one command.
Thanks for the work , Jim
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 9:24 pm
by galaxysurfer
i agree with your post on most items. I did figure out ability to specify which server to connect to. I'm still having issues with cybersec. maybe because I have vpn running through router in the background?
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 9:29 pm
by galaxysurfer
I think they stopped the list so they could stay ahead of the server blacklisting. If it isn't so handy to access then there is less likely to be overload on specific servers that flags the system.
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Sun Apr 21, 2019 9:30 pm
by galaxysurfer
I will reverse my install & try again through modified init.d file
Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Mon Apr 22, 2019 6:54 pm
by fehlix
Please find attached a tar file init script for nordvpn-daemon and a user-daemon starter:
To show content of the tar file:
Code: Select all
tar -tzf nord-vpn-init.tgz
etc/xdg/autostart/nordvpn-user-daemon.desktop
etc/init.d/nordvpns
Do this after having installed latest nordvpn.
Download the tar file and open terminal within the download directory:
Extract the tar file as such:
Code: Select all
sudo tar -C / -xzvf ./nord-vpn-init.tgz
Do enable the nordvpn system-daemon init-service
Code: Select all
sudo update-rc.d nordvpns defaults
Start nordvpn system-daemon
To enable nordvpn user-daemon logout and login.
HTH

Re: [UNSOLVED] native nordvpn app on MX linux
Posted: Tue Apr 23, 2019 2:47 am
by tadream
Thanks, working

Re: [SOLVED] native nordvpn app on MX linux
Posted: Tue Apr 23, 2019 3:25 am
by ludolph
fehlix wrote: Mon Apr 22, 2019 6:54 pm
Please find attached a tar file init script for nordvpn-daemon and a user-daemon starter
Thanks a lot!!! This is the real community support and main reason why is MX Linux so perfect distro!
Is there any progress regarding proposed communication with nordvpn native app developers to add sysVinit support back? My personal communication via nordvpn client support channel is not much optimistic. They claim that sysVinit support is out of scope for their future development.
And finally, is there any chance to put modified version of nordvpn native app (compatible with sysVinit) to MX Test repo?
Re: [SOLVED] native nordvpn app on MX linux
Posted: Tue Apr 23, 2019 7:45 am
by fehlix
ludolph wrote: Tue Apr 23, 2019 3:25 am
... is there any chance to put modified version of nordvpn native app (compatible with sysVinit) to MX Test repo?
I guess if we get enough positive feedback ( or no negative failure report), we might but the installer for nordvpn together with the sysVinit-fix into MX Package Installer -> Popular Apps ... a.s.a.p. ...

Re: [SOLVED] native nordvpn app on MX linux
Posted: Tue Apr 23, 2019 7:54 am
by anticapitalista
fehlix wrote: Tue Apr 23, 2019 7:45 am
ludolph wrote: Tue Apr 23, 2019 3:25 am
... is there any chance to put modified version of nordvpn native app (compatible with sysVinit) to MX Test repo?
I guess if we get enough positive feedback ( or no negative failure report), we might but the installer for nordvpn together with the sysVinit-fix into MX Package Installer -> Popular Apps ... a.s.a.p. ...
Is it proprietary though?
Re: [SOLVED] native nordvpn app on MX linux
Posted: Tue Apr 23, 2019 8:09 am
by fehlix
According to their
Terms of Service
they do have it under "Intellectual property rights" as "download and use a copy of the NordVPN software".
They do only provide binaries on their repo
Code: Select all
https://repo.nordvpn.com/deb/nordvpn/debian/dists

Re: [SOLVED] native nordvpn app on MX linux
Posted: Tue Apr 23, 2019 8:11 am
by dolphin_oracle
anticapitalista wrote: Tue Apr 23, 2019 7:54 am
fehlix wrote: Tue Apr 23, 2019 7:45 am
ludolph wrote: Tue Apr 23, 2019 3:25 am
... is there any chance to put modified version of nordvpn native app (compatible with sysVinit) to MX Test repo?
I guess if we get enough positive feedback ( or no negative failure report), we might but the installer for nordvpn together with the sysVinit-fix into MX Package Installer -> Popular Apps ... a.s.a.p. ...
Is it proprietary though?
yes, but we would pull from their repo. we wouldn't host their deb. the sysvinit scripts would be ours though, in a sep. package.
Re: [SOLVED] native nordvpn app on MX linux
Posted: Tue Apr 23, 2019 8:31 am
by anticapitalista
dolphin_oracle wrote: Tue Apr 23, 2019 8:11 am
yes, but we would pull from their repo. we wouldn't host their deb. the sysvinit scripts would be ours though, in a sep. package.
Excellent!
Re: [SOLVED] native nordvpn app on MX linux
Posted: Wed Apr 24, 2019 4:08 am
by ludolph
After today update of nordvpn app Is not possible to install latest update:
Code: Select all
$ sudo apt install nordvpn
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
nordvpn
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/10.7 MB of archives.
After this operation, 39.9 MB of additional disk space will be used.
(Reading database ... 410170 files and directories currently installed.)
Preparing to unpack .../nordvpn_3.0.0-4_amd64.deb ...
Unpacking nordvpn (3.0.0-4) ...
dpkg: error processing archive /var/cache/apt/archives/nordvpn_3.0.0-4_amd64.deb (--unpack):
unable to make backup link of './var/lib/nordvpn/data/insights.dat' before installing new version: Operation not permitted
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nordvpn_3.0.0-4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Something is broken... so I tried to fix it ...
Code: Select all
chattr -i /var/lib/nordvpn/data/insights.dat
chattr -i /var/lib/nordvpn/data/servers.dat
rm -fr /var/lib/nordvpn/
And after that I was finally again able to reinstall nordvpn with fehlix init hack.
The problem is, that two files at /var/lib/nordvpn/data has "immutable" attributes and can not be changed during update, but cannot be simply deleted even by root.
Code: Select all
lsattr /var/lib/nordvpn/data/*
----i---------e---- /var/lib/nordvpn/data/insights.dat
----i---------e---- /var/lib/nordvpn/data/servers.dat
Please, could you confirm, this problem after nordvpn update to higher version??? I am not sure, what is the primary cause.
Re: [SOLVED] native nordvpn app on MX linux
Posted: Wed Apr 24, 2019 6:15 am
by tadream
I just had a successful update to the latest version today with fehlix's init hack applied yesterday, so I can't confirm.
Re: [SOLVED] native nordvpn app on MX linux
Posted: Wed Apr 24, 2019 6:35 am
by ludolph
tadream wrote: Wed Apr 24, 2019 6:15 am
I just had a successful update to the latest version today with fehlix's init hack applied yesterday, so I can't confirm.
This is really very strange! I have no idea what is wrong...

Re: [SOLVED] native nordvpn app on MX linux
Posted: Wed Apr 24, 2019 6:53 am
by fehlix
ludolph wrote: Wed Apr 24, 2019 6:35 am
This is really very strange! I have no idea what is wrong...
Ahh, you installed nordvpn apt-source and upgraded, right? Did you had version 2 installed already and running? and upgrade to version 3. Or did you appliad already the nord-vpn fix.
Anyway, as the latest nordvpn installer, will ignore sysVinit, so it will not properly shut down the daemon and will not prepare the system for the upgrade. Suggest we don't put norvpn's apt-source into into apt source list, but upgrade through MX Package installer (when available), wehre we can shutdown the daemon properly and prepare a potential upgrade.
Re: [SOLVED] native nordvpn app on MX linux
Posted: Wed Apr 24, 2019 7:02 am
by ludolph
fehlix wrote: Wed Apr 24, 2019 6:53 am
ludolph wrote: Wed Apr 24, 2019 6:35 am
This is really very strange! I have no idea what is wrong...
Ahh, you installed nordvpn apt-source and upgraded, right? Did you had version 2 installed already and running? and upgrade to version 3. Or did you appliad already the nord-vpn fix.
Anyway, as the latest nordvpn installer, will ignore sysVinit, so it will not properly shut down the daemon and will not prepare the system for the upgrade. Suggest we don't put norvpn's apt-source into into apt source list, but upgrade through MX Package installer (when available), wehre we can shutdown the daemon properly and prepare a potential upgrade.
yes, I did the exactly same way as you described …
So, what is the current recommended way how to install and update NordVPN on MX 18? Could you post brief tutorial? Or should I wait for MX-like version of NordVPN when will be available in MX repos? I m afraid I messed up my system by NordVPN leftovers now.
Re: [SOLVED] native nordvpn app on MX linux
Posted: Wed Apr 24, 2019 7:25 am
by fehlix
ludolph wrote: Wed Apr 24, 2019 7:02 am
yes, I did the exactly same way as you described …
So, what is the current recommended way how to install and update NordVPN on MX 18? Could you post brief tutorial? Or should I wait for MX-like version of NordVPN when will be available in MX repos? I m afraid I messed up my system by NordVPN leftovers now.
Ahh proably my instruction were not complete. Regarding existing older version running and having nordvpn's apt-source with the package source list. So we have to cater for the upgrade with manual upgrade through MX Package Installer.
I would do this to get it fresh and running.
What's probably missing would be : uninstall older version first, remove nordvpn's apt-source list. Manually install new version. Apply the init-fix. This type of precedure would go into the MX Package Installer -> Populare app.
You can fix by uninstall current nordvpn. If not shutting down the service currectly, reboot.
And manually install the download deb-packages , apply the init-fix.
So in a sense you helped to spott to correct the procedure.

Re: [SOLVED] native nordvpn app on MX linux
Posted: Wed Apr 24, 2019 8:08 am
by ludolph
fehlix wrote: Wed Apr 24, 2019 7:25 am
You can fix by uninstall current nordvpn. If not shutting down the service currectly, reboot.
And manually install the download deb-packages , apply the init-fix.
So in a sense you helped to spott to correct the procedure.
The link for direct download:
https://repo.nordvpn.com/deb/nordvpn/de ... _amd64.deb
Re: [SOLVED] native nordvpn app on MX linux
Posted: Wed Apr 24, 2019 8:23 am
by tadream
Re: [SOLVED] native nordvpn app on MX linux
Posted: Wed Apr 24, 2019 8:25 am
by ludolph
So now I am confused, this package does not contains install package of nordvpn!
You mean this link:
https://repo.nordvpn.com/deb/nordvpn/de ... _amd64.deb ... Am I right?
Re: [SOLVED] native nordvpn app on MX linux
Posted: Wed Apr 24, 2019 8:32 am
by tadream
Yeah, you're right. I just copied the link shown on their website, did not go into the repo directly. The first update takes care of it, anyway. Sorry.
Re: [SOLVED] native nordvpn app on MX linux
Posted: Wed Apr 24, 2019 8:47 am
by fehlix
ludolph wrote: Wed Apr 24, 2019 8:25 am
The link above is just the package for updating the apt-sources, which is what we currently not want.
Thats the latest package to be installed. So for now do manually install this package (without the source-list package nordvpn-release_1.0.0_all.deb) until we add this procedure to MX Package Installer.

Re: [SOLVED] native nordvpn app on MX linux
Posted: Wed Apr 24, 2019 2:17 pm
by tadream
Although the status of the issue now is solved, I was wondering if a similar brilliant solution could be applied to enable SMB connection when using the native NordVPN app on MX. It works when NordVPN connection is initiated through the NetworkManager Applet, but not when the terminal app is used.

Re: [SOLVED] native nordvpn app on MX linux
Posted: Wed Apr 24, 2019 2:52 pm
by fehlix
tadream wrote: Wed Apr 24, 2019 2:17 pm
.. to enable SMB connection when using the native NordVPN app on MX.
.. It works when NordVPN connection is initiated through the NetworkManager Applet, but not when the terminal app is used.
Please, open a new thread, with as much details you can provide. So at least it might increase the chance to get not overlooked by someone knowledgeable in vpn and network manager and smb/cifs/samba.
Thanks
