Page 6 of 7
Re: NordVPN today update Version 3.12.0 not work in SysVinit
Posted: Fri Nov 19, 2021 7:47 am
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
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.
Re: NordVPN today update Version 3.12.0 not work in SysVinit
Posted: Fri Nov 19, 2021 10:56 am
by patongko
For
@fehlix
Thank you, your solution work for me in nordvpn 3.12.1

I guess it is not the last one for the next versions

Re: NordVPN today update Version 3.12.0 not work in SysVinit
Posted: Fri Nov 19, 2021 12:05 pm
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

I guess it is not the last one for the next versions
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.
Re: NordVPN today update Version 3.12.0 not work in SysVinit
Posted: Sat Nov 20, 2021 5:52 pm
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...
Re: NordVPN today update Version 3.12.0 not work in SysVinit
Posted: Sun Nov 21, 2021 10:29 am
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:)
Re: NordVPN today update Version 3.12.0 not work in SysVinit
Posted: Sun Nov 21, 2021 10:55 am
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.
Re: NordVPN today update Version 3.12.0 not work in SysVinit
Posted: Sun Nov 21, 2021 1:28 pm
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!
Re: NordVPN today update Version 3.12.0 not work in SysVinit
Posted: Mon Nov 29, 2021 5:04 am
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
Re: NordVPN today update Version 3.12.0 not work in SysVinit
Posted: Thu Jan 27, 2022 10:41 pm
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
Re: NordVPN today update Version 3.12.0 not work in SysVinit
Posted: Fri Jan 28, 2022 8:21 am
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.