You are not logged in.

#1 2021-06-09 21:26:47

manouchk
Member
Registered: 2008-07-29
Posts: 306

How to maintain active network connection?

Hi,

I'd like to know how to maintain active the network connection?
I'm trying to synchronize annotations with software joplin and it takes hours and it seems that interruption of connection badly interferes with joplin.

I already did some stuff to avoid suspend and hibernation.

$ sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

but it seems that it was not enough. Any idea in what kind of stuff I should seek? My configuration is on a laptop.

Offline

#2 2021-06-10 06:18:52

seth
Member
Registered: 2012-09-03
Posts: 51,073

Re: How to maintain active network connection?

The question is: what interrupts your network connection.
(The answer is going to be in the journal)

Could be a loss of the wifi signal, could be lease expiration (in which case you want to make the dhcp client ignore the promised lease a re-lease with a  configured freqency) could be that the NIC driver crashes, could be the NICs power saving (and slow awakening) could be some quota in the router.
And that's before TheInternet™ in case it's not a local connection.

ping -i60 google.com

will ping google every minute - whether that helps "to maintain active network connection" is a different matter.

Offline

Board footer

Powered by FluxBB