NordVPN today update Version 3.12.0 not work in SysVinit  [Solved]

Message
Author
User avatar
fehlix
Developer
Posts: 12693
Joined: Wed Apr 11, 2018 5:09 pm

Re: NordVPN today update Version 3.12.0 not work in SysVinit

#51 Post by fehlix »

asqwerth wrote: Fri Nov 19, 2021 6:50 am @fehlix

question 1:
are you able with this new version, to logout, and then login with the new command

Code: Select all

nordvpn login --nordaccount
I don't have an account, so I can't test.
asqwerth wrote: Fri Nov 19, 2021 6:50 am question2:

In your much earlier post here: viewtopic.php?p=661237#p661237

you added a 3 sec delay to /etc/init.d/nordvpn:

Code: Select all

sudo sed  -i '/ start)/a\    sleep 3' /etc/init.d/nordvpn
Now with

Code: Select all

sh -c "pidof -q nordvpnd && exit; test  -f /etc/init.d/nordvpn && sleep 5 && sudo /etc/init.d/nordvpn restart"
there is a further 5 second delay.

So the total delay you are suggesting is 8 secs? (for what it's worth, I reduced the delay in /etc/init.d/nordvpn to 1 sec; I wasn't sure whether I supposed to delete the whole sleep line so I just reduced the number of secs)
Delays are always a matter to be adjusted depending on the systems response time.

patongko
Posts: 7
Joined: Fri Nov 05, 2021 5:56 am

Re: NordVPN today update Version 3.12.0 not work in SysVinit

#52 Post by patongko »

For @fehlix
Thank you, your solution work for me in nordvpn 3.12.1 :smile:
I guess it is not the last one for the next versions :crossfingers:

User avatar
fehlix
Developer
Posts: 12693
Joined: Wed Apr 11, 2018 5:09 pm

Re: NordVPN today update Version 3.12.0 not work in SysVinit

#53 Post by fehlix »

patongko wrote: Fri Nov 19, 2021 10:56 am For @fehlix
Thank you, your solution work for me in nordvpn 3.12.1 :smile:
I guess it is not the last one for the next versions :crossfingers:
Perhaps, mark the topic as solved according to the topic title.
You would click on the "mark as solved icon",
checkmark-32.jpg
the check-mark icon on the post which provided the solution for the issue.
You do not have the required permissions to view the files attached to this post.

venik212
Posts: 151
Joined: Mon Jul 06, 2020 9:42 am

Re: NordVPN today update Version 3.12.0 not work in SysVinit

#54 Post by venik212 »

Sorry-- the instructions I used were provided by the live chat support guy of Nordvpn. They involved wget..... etc. I hate to have stuff hidden from the package installer, but I need the VPN more...

User avatar
hkjz
Posts: 341
Joined: Thu Apr 11, 2019 4:38 pm

Re: NordVPN today update Version 3.12.0 not work in SysVinit

#55 Post by hkjz »

@fehlix

In #29 you provided 3 commands

Code: Select all

echo "%users ALL=(root) NOPASSWD: /etc/init.d/nordvpn" | sudo sh -c 'umask 0337; tee /etc/sudoers.d/nordvpn'


sh -c "pidof -q nordvpnd && exit; test  -f /etc/init.d/nordvpn && sleep 5 && sudo /etc/init.d/nordvpn restart"


sh -c "pidof -q nordvpnd && exit; test  -f /etc/init.d/nordvpn && sleep 5 && sudo /etc/init.d/nordvpn restart; nordvpn c"

What is the difference between #2 and #3?

I can not do this check now, but anyways I need a solution, thx:)

User avatar
asqwerth
Developer
Posts: 7895
Joined: Sun May 27, 2007 5:37 am

Re: NordVPN today update Version 3.12.0 not work in SysVinit

#56 Post by asqwerth »

2= just restart service upon login (of MX, not nordvpn!), no auto connecting of vpn [this assumes your account is logged in]

3 = restart service and also auto connect.

You decide which one you want.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
CyberGhost
Posts: 210
Joined: Thu Jan 10, 2019 9:27 pm

Re: NordVPN today update Version 3.12.0 not work in SysVinit

#57 Post by CyberGhost »

@hkjz , the first command is a password less entry auto(re-)start of nordvpn daemon that needs to be run in terminal. Type it in, press enter, and then close terminal. The second command is what you put in the command box in Session&Startup. The third command is the same command as the second, but with the option to auto connect upon login. That's the one I use. To do this, first go to Menu, then Settings, and scroll down until you see Session&Startup. Click on that and when it opens up, click on Application Autostart. There is a little plus icon (+) at the bottom right of the window. Click on that. In the first entry box that says Name, type: NordVPN. In the second box that says Description, type: Restart NordVPN. In the third box that says Command, type in either the second command @fehlix gave in order to restart the service without auto connecting, or use the third command to restart plus auto connect the service. Which command you use is up to you. As @asqwerth already mentioned. Also, reboot your computer after doing all of that. Check to see if it worked.You can type in terminal: nordvpn status. I suggest reading the #28 post @fehlix made about this again. viewtopic.php?t=67290&start=20 Hope this clarifies things for you! Good luck!

User avatar
hkjz
Posts: 341
Joined: Thu Apr 11, 2019 4:38 pm

Re: NordVPN today update Version 3.12.0 not work in SysVinit

#58 Post by hkjz »

CyberGhost wrote: Sun Nov 21, 2021 1:28 pm @hkjz , the first command is a password less entry auto(re-)start of nordvpn daemon that needs to be run in terminal. Type it in, press enter, and then close terminal. The second command is what you put in the command box in Session&Startup. The third command is the same command as the second, but with the option to auto connect upon login. That's the one I use. To do this, first go to Menu, then Settings, and scroll down until you see Session&Startup. Click on that and when it opens up, click on Application Autostart. There is a little plus icon (+) at the bottom right of the window. Click on that. In the first entry box that says Name, type: NordVPN. In the second box that says Description, type: Restart NordVPN. In the third box that says Command, type in either the second command @fehlix gave in order to restart the service without auto connecting, or use the third command to restart plus auto connect the service. Which command you use is up to you. As @asqwerth already mentioned. Also, reboot your computer after doing all of that. Check to see if it worked.You can type in terminal: nordvpn status. I suggest reading the #28 post @fehlix made about this again. viewtopic.php?t=67290&start=20 Hope this clarifies things for you! Good luck!

Many thanks for such a detailed explanation

User avatar
asqwerth
Developer
Posts: 7895
Joined: Sun May 27, 2007 5:37 am

Re: NordVPN today update Version 3.12.0 not work in SysVinit

#59 Post by asqwerth »

Just an update that the new standard login command is

nordvpn login --nordaccount

but in MX, when you are subsequently directed to continue your login via their web login portal in your browser and you do your login in said portal as directed, the terminal that's supposed to open (triggered by your login) to complete the login process, never happens.

If that is the case, the fallback command works:

nordvpn login --legacy
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
CyberGhost
Posts: 210
Joined: Thu Jan 10, 2019 9:27 pm

Re: NordVPN today update Version 3.12.0 not work in SysVinit

#60 Post by CyberGhost »

Thanks @asqwerth I check to make sure I'm logged in but usually I stay logged in automatically. It always tells me I'm already logged in with the first command you mentioned. I think if a user doesn't manually log out of the application, then they stay logged in. Good to know there is a fallback command though.

Post Reply

Return to “Software / Configuration”