mmnaseri / nordvpn-reconnect

Reconnector for NordVPN client on Linux
21 stars 4 forks source link

nordvpn-reconnector.service inactive (dead) #7

Open corywf opened 2 years ago

corywf commented 2 years ago

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

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

Awesome! That worked for me as well.

corywf commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

What script did you end up using?

liminally commented 2 years ago

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

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

corywf commented 2 years ago

It does work that way!

On Wed, Sep 21, 2022 at 2:20 PM liminally @.***> wrote:

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

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

— Reply to this email directly, view it on GitHub https://github.com/mmnaseri/nordvpn-reconnect/issues/7#issuecomment-1254067866, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2XJVZ4PFNSTP572ZZVAAMTV7NGYBANCNFSM57XPIBZA . You are receiving this because you modified the open/close state.Message ID: @.***>