You are not logged in.

#1 2021-08-05 02:31:08

YAOMTC
Member
Registered: 2010-02-23
Posts: 204

Network usually not working upon resume from sleep

When I put my computer into standby, upon waking it usually does not have an Internet connection, despite the Ethernet cord being plugged in and the network working just fine.

I try restarting networkd or resolved, but that doesn't help.

When I try to ping any address, I get:

ping: socket: Address family not supported by protocol
ping: 1.1.1.1:8080: Name or service not known

I always need to reboot to regain the connection.

This is my motherboard: https://rog.asus.com/motherboards/rog-s … ing-model/

Last edited by YAOMTC (2021-08-05 02:32:27)

Offline

#2 2021-08-05 08:17:46

seth
Member
Registered: 2012-09-03
Posts: 60,936

Re: Network usually not working upon resume from sleep

Can you either

sudo ping 1.1.1.1
ping -4 1.1.1.1

Compare

ip a
loginctl session-status

before and after the S3

Edit: https://github.com/iputils/iputils/issues/293

Last edited by seth (2021-08-05 08:18:29)

Online

#3 2021-08-06 16:40:53

YAOMTC
Member
Registered: 2010-02-23
Posts: 204

Re: Network usually not working upon resume from sleep

seth wrote:

Can you either

sudo ping 1.1.1.1
ping -4 1.1.1.1

Same result.

seth wrote:

Compare

ip a
loginctl session-status

before and after the S3

The only difference I notice is mullvad-vpn being missing from `ip a` when the connection is down (makes sense) and all the other network-dependent software missing from `loginctl session-status` when the connection is down.


Judging by `ping -4` not working for me either, I don't think this applies

Offline

#4 2021-08-06 16:51:47

seth
Member
Registered: 2012-09-03
Posts: 60,936

Re: Network usually not working upon resume from sleep

mullvad-vpn being missing

So you're relying on a VPN… you best post the actual outputs of either command to get us an idea how your network is setup to begin with - but the cause is likely that eg. networkmanager shuts down on the S3 and does not or fails to restart afterwards
=> Also inspect your system journal (sudo journalctl -b)

Online

#5 2021-08-06 18:22:23

YAOMTC
Member
Registered: 2010-02-23
Posts: 204

Re: Network usually not working upon resume from sleep

Thanks, that helped me narrow it down to the app I'm using: https://aur.archlinux.org/packages/mullvad-vpn

If I disable it from launching on startup, the problem doesn't occur.

I found the related issue:

https://github.com/mullvad/mullvadvpn-app/issues/2477

Offline

Board footer

Powered by FluxBB