Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nordvpn-reconnector.service inactive (dead) #7

Open
corywf opened this issue Aug 26, 2022 · 9 comments
Open

nordvpn-reconnector.service inactive (dead) #7

corywf opened this issue Aug 26, 2022 · 9 comments

Comments

@corywf
Copy link

corywf commented Aug 26, 2022

Hi! Thank you for these awesome scripts. I am trying to solve the issue of NordVPN freezing and eventually killing my home internet access. All my traffic goes through the VPN. There's no high speed internet at my house so I'm using a 4g cell modem. The provider throttles my connection unless I am connected to a VPN. I'm using a RaspberryPi on raspbian buster.

The script seems to install fine but the nordvpn-reconnector.service won't start. I'm not very familiar with linux and don't know how to troubleshoot this issue.

Here's the output after installing and enabling the service. Any help would be greatly appreciated!

pi@raspberrypi:~/nordvpn-reconnect $ sudo ./install.sh install enable start

  • Uninstalling nordvpn-reconnector
    • Removing the executable
    • Removing the symbolic link
    • Removing the service unit definition
  • Installing nordvpn-connector
    • Copying the script to /opt/nordvpn-reconnector
    • Adding symbolic link at /usr/bin/nordvpn-reconnector
    • Adding symbolic link at /usr/bin/nordvpnd-killer
    • Copying service unit definition for all users
  • Enabling service nordvpn-reconnector.service
  • Enabling service nordvpnd-killer.service
  • Starting service nordvpn-reconnector.service
  • Starting service nordvpnd-killer.service

pi@raspberrypi:~/nordvpn-reconnect $ systemctl --user status nordvpn-reconnector.service
● nordvpn-reconnector.service - NordVPN reconnector daemon
Loaded: loaded (/etc/systemd/user/nordvpn-reconnector.service; disabled; vendor preset: enabled)
Active: inactive (dead)

pi@raspberrypi:~/nordvpn-reconnect $ sudo systemctl status nordvpnd-killer.service
● nordvpnd-killer.service - NordVPN killer daemon
Loaded: loaded (/usr/lib/systemd/system/nordvpnd-killer.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2022-08-26 13:29:00 EDT; 5min ago
Main PID: 10269 (bash)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/nordvpnd-killer.service
├─10269 bash /usr/bin/nordvpnd-killer
└─10526 sleep 10s

Aug 26 13:29:00 raspberrypi systemd[1]: Started NordVPN killer daemon.
Aug 26 13:29:00 raspberrypi nordvpnd-killer[10269]: Starting NordVPNd Killer.
Aug 26 13:29:00 raspberrypi nordvpnd-killer[10269]: Drop a file at /tmp/nordvpnd-killer.ask to ask for a kill.

@liminally
Copy link

I am also having the same problem.
the script seems to run but I would prefer the daemon.
I'm on ubuntu 20.04 - any help appreciated!

@liminally
Copy link

I am also having the same problem. the script seems to run but I would prefer the daemon. I'm on ubuntu 20.04 - any help appreciated!

anyone there?

@liminally
Copy link

I've discovered an ?error, anyway a discrepancy in the installer script, it seems to install the reconnector service to /etc/systemd/user/ but the killer service to /usr/lib/systemd/system/.
though I know very little about ubuntu, I noticed many other services in the /usr/lib... folder, so I tried copying the reconnector service there (sudo), started it, and voila!
it works.
hope that helps!

@corywf
Copy link
Author

corywf commented Sep 6, 2022

Awesome! That worked for me as well.

@corywf corywf closed this as completed Sep 6, 2022
@corywf corywf reopened this Sep 7, 2022
@corywf
Copy link
Author

corywf commented Sep 7, 2022

I spoke too soon. The scripts are killing NordVPN after 2 hours but it's not reconnecting. I'm not sure how to debug this. @liminally is this happening for you or is it reconnecting?

@liminally
Copy link

liminally commented Sep 7, 2022

same problem here, and it's not a clean reconnect, I have to reinstall nordvpn to get it to work again.
hope the developer chimes in here soon!
the script seemed to work ok, guess I'll go back to that for now.

@corywf
Copy link
Author

corywf commented Sep 19, 2022

What script did you end up using?

@liminally
Copy link

cd nordvpn-reconnect/
./nordvpn-reconnect.sh

this is less desirable as you have to leave the window open for it to run.

@corywf
Copy link
Author

corywf commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants