What standby mode does your laptop use? Classic S3 standby, or S0 standby like most modern laptops are forced into?
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
There is some information missing in the problem description. For example, if you close the lid, does the computer suspend/sleep/hibernate? It may be that when the computer sleeps something "breaks" or it may be that the act of physically closing/opening the lid has an effect (e.g. because the WiFi antenna is embedded in the display frame).
Some time ago I had a similar problem with Tailscale and sleeping. When Tailscale initializes itself (at boot), it has to interact with another service to communicate which DNS servers have become available (e.g. 100.100.100.100). Several implementations of such services exist (resolvconf, openresolv), in my case systemd-resolved. During normal operation, resolvectl status
(if using systemd-resolved) shows which DNS servers and which search domains are configured for each network interface such as tailscale0
. Now, there is a bug (or feature) that systemd-resolved "forgets" the DNS configuration it got from Tailscale when the computer is put to sleep. So, when the computer wakes up, name resolution via Tailscale no longer works, giving you the impression that Tailscale itself is not working, although Tailscale's low-level functions are still operational.
My "solution" was to write a small script that gets executed when the computer wakes up which sets again DNS server and search domain for network device tailscale0
.
Thanks for this! I'll get to testing, and I'll check my settings to see if sleep/sus/hib has anything to do with it. But I am also likely to switch distro as im finding these immutable distros way to limited to my liking. (It's most likely just me not being able to figure out how to use immutable distros, but Its not for me quite yet at least).