You are not logged in.
As in the subject... Anyone else having this issue?
Offline
Sometimes it happens after kernel upgrade. Remove NordVPN along with system folder.
sudo pacman -R nordvpn-bin
sudo rm -r /var/lib/nordvpn
Then install it.
sudo pacman -U /path/to/package
sudo systemctl enable nordvpnd.service
sudo systemctl start nordvpnd.service
nordvpn c
nordvpn set autoconnect on
sudo systemctl restart nordvpnd.service
After that logout and login back it should get back to normal.
Offline
I had already tried to reinstall the package in the past without success. Interestingly, your exact sequence of commands worked only once.
By inspecting the log, it seems that the nordvpn daemon don't connect because of this:
[Error] failed to renew token: can't find gateway
Last edited by maxgiggs (2019-08-09 07:52:24)
Offline
I was also having this issue,
I think the problem is that the daemon is not waiting for network-onlne.target before attempting to connect. On my system, network-online.target was never reached even once the network had connected.
I fixed it with the following 2 steps:
Add 'Wants=network-online.target' to the [Unit] section of the nordvpnd.service file.
Enable the relevant networkd-wait-online.service service file. For me this was NetworkManager-networkd-wait-online.service. Ref: https://www.freedesktop.org/wiki/Softwa … orkTarget/
Now NetworkManager triggers the network-online.target when it has connected and only then does nordvpnd.service attempt the VPN connection.
Last edited by progreen (2019-08-12 13:25:36)
Offline
I was also having this issue,
I think the problem is that the daemon is not waiting for network-onlne.target before attempting to connect. On my system, network-online.target was never reached even once the network had connected.
I fixed it with the following 2 steps:
Add 'Wants=network-online.target' to the [Unit] section of the nordvpnd.service file.
Enable the relevant networkd-wait-online.service service file. For me this was NetworkManager-networkd-wait-online.service. Ref: https://www.freedesktop.org/wiki/Softwa … orkTarget/
Now NetworkManager triggers the network-online.target when it has connected and only then does nordvpnd.service attempt the VPN connection.
Nice one. It actually helped me too.
Offline
I had already tried to reinstall the package in the past without success. Interestingly, your exact sequence of commands worked only once.
By inspecting the log, it seems that the nordvpn daemon don't connect because of this:
[Error] failed to renew token: can't find gateway
Yup that issue can fixed as stated above, I'll give you a quick workaround, do the following:
sudo nano '/etc/systemd/system/default.target.wants/nordvpnd.service'
add under *After*
Wants=network-online.target
then
sudo systemctl enable nordvpnd.service
sudo systemctl start nordvpnd.service
sudo systemctl restart nordvpnd.service
Last edited by archifer (2019-08-15 18:50:04)
Offline
sudo systemctl enable nordvpnd.service sudo systemctl start nordvpnd.service sudo systemctl restart nordvpnd.service
This is unnecessary.
systemctl daemon-reload && systemctl enable --now $service
Offline
Slight OT, but does this VPN provider offer you a standard ovpn profile? Why not just use openvpn?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Slight OT, but does this VPN provider offer you a standard ovpn profile? Why not just use openvpn?
From what I can gather the nordvpn daemon just runs an openvpn command (interestingly it contains its own openvpn binary at /var/lib/nordvpn/openvpn) and configures iptables in the background to configure the VPN connection. The main advantage for me is being able to switch VPN server locations quickly with a short command.
Offline
Slight OT, but does this VPN provider offer you a standard ovpn profile? Why not just use openvpn?
Yes it actually does have that possibility but it has really handy and quick commands for the terminal for example just type *nordvpn c Sweden* and it connects you to the fastest server in Sweden so you don't have to search for it manually and NordVPN has like 5k servers to choose so terminal really comes in handy.
Offline