You are not logged in.

#1 2018-09-16 18:17:13

adihrustic
Member
Registered: 2018-06-10
Posts: 3

[SOLVED] No internet after wake up from suspension while on VPN

My system is always running a VPN connection through WireGuard. Whenever I wake the system up from suspension I lose all internet access. The only way to resolve this issue is to shut WireGuard down and reconnect to it. My only suspicion to why this is happening is that the WireGuard connection resumes before my WiFi-connection has come online, creating some kind of interference. I've tried enabling the systemd-networkd-wait-online.service without any success, other than that I can't seem to find any solution to this.

Here's the NetworkManager activity from my journal

Last edited by adihrustic (2018-09-17 08:34:37)

Offline

#2 2018-09-17 05:35:43

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,196

Re: [SOLVED] No internet after wake up from suspension while on VPN

If I may take a very wild guess, did you set network manager to use resolvconf?
https://wiki.archlinux.org/index.php/Ne … openresolv

A messy hack/band-aid would be to set a script upon resume to restart WG, but this should be last resort imo.

Hope someone more knowledgeable can give you further help!

Offline

#3 2018-09-17 08:33:48

adihrustic
Member
Registered: 2018-06-10
Posts: 3

Re: [SOLVED] No internet after wake up from suspension while on VPN

frank604 wrote:

If I may take a very wild guess, did you set network manager to use resolvconf?
https://wiki.archlinux.org/index.php/Ne … openresolv

A messy hack/band-aid would be to set a script upon resume to restart WG, but this should be last resort imo.

Hope someone more knowledgeable can give you further help!

Hero! It worked!!

Offline

#4 2018-09-17 09:01:42

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,196

Re: [SOLVED] No internet after wake up from suspension while on VPN

Happy to hear you resolvconf'd it. smile

Offline

Board footer

Powered by FluxBB