Open MathiasSven opened 1 year ago
same for me, anyone has found a workaround?
Here's what I get when trying to connect:
May 27 14:01:24 hermes expressvpnd[63286]: /etc/ OPEN ld.so.cache
May 27 14:01:24 hermes expressvpnd[64546]: cp: cannot create regular file '/host/etc/resolv.conf': No such file or directory
May 27 14:01:26 hermes NetworkManager[1212]: <warn> [1685188886.5514] platform-linux: do-add-ip6-address[3: fe80::b20e:1416:828f:db6a]: failure 13 (Permission denied)
May 27 14:01:28 hermes NetworkManager[1212]: <warn> [1685188888.5544] platform-linux: do-add-ip6-address[3: fe80::858b:230f:395e:2b82]: failure 13 (Permission denied)
May 27 14:01:30 hermes NetworkManager[1212]: <warn> [1685188890.5569] platform-linux: do-add-ip6-address[3: fe80::c0fc:f07b:4586:3822]: failure 13 (Permission denied)
May 27 14:01:32 hermes NetworkManager[1212]: <warn> [1685188892.5588] platform-linux: do-add-ip6-address[3: fe80::f86e:1d46:fe31:f74a]: failure 13 (Permission denied)
May 27 14:01:34 hermes NetworkManager[1212]: <warn> [1685188894.5610] ipv6ll[4455ab5b2f3f4da8,ifindex=3]: changed: no IPv6 link local address to retry after Duplicate Address Detection failures (back off)
@Yureien Any idea?
@avanderbergh The package uses a hack to modify the DNS entries, since expressvpn directly modifies the /etc/resolv.conf
file on Linux. For now, while I am debugging this (might take some time, don't have access to a x86-64 PC with Nix installed at the moment), you can do this:
You have to remove lines 51-55 in the nixpkgs/pkgs/applications/networking/expressvpn/default.nix
file, these ones:
https://github.com/NixOS/nixpkgs/blob/c0b553b619058a92aec8628a20695fc1f59b8c83/pkgs/applications/networking/expressvpn/default.nix#LL51-L55
cp /host/etc/resolv.conf /etc/resolv.conf;
while inotifywait /etc 2>/dev/null;
do
cp /etc/resolv.conf /host/etc/resolv.conf;
done &
Keep in mind, though, that the DNS won't get updated.
Guess this is still a issue?
ya im also dealing with this issue as well. as of right now, my workaround solution is to use the "manual configuration" option of expressvpn, where you download the opvn files provided after logging into your account. Use this in combination with configuring OpenVPN for nix and you should be good to go
Confirming that I'm also running into this issue. It seems like buildFHSEnv
may have had some functionality change. The errors that I'm seeing in the journal have to do with not being able to access /host
.
Removing the lines from the package like @Yureien suggested doesn't resolve the issue for me, it only avoids the errors thrown in the journal and Express VPN is still unable to connect.
Currently unable to set up NixOS because there isn't a VPN in nixpkgs that works in China (also can't use the OpenVPN configs from the ExpressVPN website because OpenVPN is easily detectable and blocked)
The ExpressVPN package got updated to v3.52.0, and now it seems like there is a "Failed to create tun device" error.
ya im also dealing with this issue as well. as of right now, my workaround solution is to use the "manual configuration" option of expressvpn, where you download the opvn files provided after logging into your account. Use this in combination with configuring OpenVPN for nix and you should be good to go
Tested and working :D
Describe the bug
Expressvpn is unable to connect
Steps To Reproduce
Steps to reproduce the behavior:
expressvpn
to the included packagesservices.expressvpn.enable = true;
expressvpn activate
expressvpn connect
Additional context
These are the error logs I get in either
udp
orlightway_udp
. Inlightway_udp
:In
udp
:The line:
DNS setting update type: up, completed with error: link /etc/resolv.conf /etc/resolv.conf.expressvpn-orig: read-only file system
makes be believe this is Nix relatedNotify maintainers
@Yureien
Metadata