I’ve been using manjaro for a while now and loving it. Yesterday I updated my pacman packages, and since then I’ve been unable to use my VPN service (mullvad). The VPN connects without any apparent issue, and the journalctl seems to confirm this:
Feb 06 15:23:35 NetworkManager[544]: <info> [1612650215.2221] manager: (tun0): new Tun device (/org/freedesktop/NetworkManager/Devices/4)
Feb 06 15:23:35 NetworkManager[544]: <info> [1612650215.2300] device (tun0): state change: unmanaged -> unavailable (reason 'connection-assumed', sys-iface-state: 'external')
Feb 06 15:23:35 NetworkManager[544]: <info> [1612650215.2357] device (tun0): state change: unavailable -> disconnected (reason 'connection-assumed', sys-iface-state: 'external')
Feb 06 15:23:35 NetworkManager[544]: <info> [1612650215.2375] device (tun0): Activation: starting connection 'tun0' (ff8ea9ad-6626-4636-b210-8b9f07bd0232)
Feb 06 15:23:35 NetworkManager[544]: <info> [1612650215.2397] device (tun0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'external')
Feb 06 15:23:35 NetworkManager[544]: <info> [1612650215.2406] device (tun0): state change: prepare -> config (reason 'none', sys-iface-state: 'external')
Feb 06 15:23:35 NetworkManager[544]: <info> [1612650215.2473] device (tun0): state change: config -> ip-config (reason 'none', sys-iface-state: 'external')
Feb 06 15:23:35 NetworkManager[544]: <info> [1612650215.2478] device (tun0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'external')
Feb 06 15:23:35 NetworkManager[544]: <info> [1612650215.2572] device (tun0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'external')
Feb 06 15:23:35 NetworkManager[544]: <info> [1612650215.2575] device (tun0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'external')
Feb 06 15:23:35 NetworkManager[544]: <info> [1612650215.2589] device (tun0): Activation: successful, device activated.
Feb 06 15:23:39 NetworkManager[544]: <info> [1612650219.6834] audit: op="device-reapply" interface="tun0" ifindex=4 args="ipv4.dns,ipv4.route-metric,ipv4.dns-priority,ipv4.routes,ipv6.dns,ipv6.route-metric,ipv6.addresses,ipv6.dns-priority,ipv6.routes" pid=605 uid=0 result="success"
Yet all applications behave like I have no internet connection. It works fine when the VPN is off, and the VPN worked fine before this recent update I did.
The only way I can get it to work is if I re-build the mullvad-vpn package. It will work until I restart manjaro. I’d like to note that mullvad was not one of the packages updated.
I’ve tried both wireguard and openvpn, and they both behave the same way. I’ve tried other vpn managers like ‘QOpenVPN’ and ‘Qomui’ but their services were failing even before I could begin to set up a connection. I’m unsure what steps to take from here.
Please help if you can, I’ll post a list of the updated packages in the next post. Thanks.
So I’ve done what that pinned comment says. I installed systemd-resolvconf, created the symlink, enabled the systemd-resolved service, rebuilt the package. The same issue remains.
Worth noting that I had been using manjaro and this same mullvad package for over a year without any issue until now.
So did I and it solved the issue for me. However, I did not create the symlink as it did not appear to be necessary.
Did you also start it?
It was a change on Mullvad’s end, FYI. You could also try the beta version, there were some improvements. I use it exclusively an rarely have an issue.
It was a change on mullvad’s end immediately after updating my other packages yesterday? According to networkmanager the tunnel opens successfully. I’ll try the beta version.
Welp. I tried building the beta version, and it worked right after building, but once again the moment I restart manjaro the problem returns. I haven’t tinkered with any network settings so I really have no idea why this happened
Do you think it’s possible that one of the packages I installed in that same transaction could have edited a network-related config file? lua51 / stone-soup
Either way I managed to configure an openvpn connection through the built-in network manager so I’ll settle for that for now. If you have any more suggestions I’d appreciate it! Thanks.
When you are using packages from AUR - and those packages stop working after an update - first step is to rebuild the package.
No support will be provided by the Manjaro team for any issues that may arise relating to software installations from the AUR. When Manjaro is updated, AUR packages might stop working. This is not a Manjaro issue - Arch User Repository - Manjaro
Stop any services related to the application in question.
Uninstall the package
# pacman -R pkgname
Rebuild the package (in rare situations it may be necessary to clean the source folder)
I’m having a similar problem since the stable update today (KDE). Specifically it is DNS. I can connect to servers for instance that I put in my host file. When I’m connected I can ping IP’s, but DNS fails. When I disconnect everything works. When I use MTR there is no reverse-name lookup with Mullvad connected.
I installed the systemd-resolved and started it, even rebooted. I also rebuilt the package mullvad-vpn-bin 2020.7-1.
One thing - I haven’t done the simlink because the files are different. I am using a static DNS for my connection here at home (the problem system is on my wireless). I’m using pi-hole for local dns. Could that be part of the problem?
Looks like the beta is working. I disabled systemd-resolved and everything seems fine, though I’m not sure if I’m detecting a slower lookup than usual. I saw a little weirdness on the first boot that seemed to fix itself. Everything was normal on the second reboot.
Thanks!
The Beta Version works for me!
Thank you @Yochanan for working on this problem.
I tried every other version.
I also, for the first time, changed in Add Software under “preferences” for “cache” the number of versions of each package to keep in the cache from 3 to 1 and clicked “clean cache”.
I have no idea if that had any effect.
I still have the same problem, since last month, even after installig 2021.2. Firefox etc. have no internet connection when mullvad is connected. Any ideas?