Score:0

21.04 Prevent sleep while sharing media (UPnP/DLNA)

bd flag

21.04 has built in support for sharing media using UPnP (aka DLNA) in Settings > Share. If the machine goes to sleep while someone accesses this media the stream is broken for the client when e.g. watching a video.

Is there an option to prevent the system from going to sleep while media is accessed? I found nothing in the power management panel.

ChanganAuto avatar
us flag
It would be better to prevent it to go to sleep at all.
bd flag
@ChanganAuto No.
Score:0
cn flag

What you want to do is enable "wake on lan" As long as there is network requests to your host, it will stay awake. Additionally, if someone tries to access you machine while asleep, it will come out of sleep mode and serve the files requested. External link https://kodi.wiki/view/HOW-TO:Set_up_Wake-on-LAN_for_Ubuntu For WLAN, have a look at

https://ubuntu.com/core/docs/networkmanager/snap-configuration/wake-on-wlan

bd flag
It is? And that will work over WiFi?
ChanganAuto avatar
us flag
@Andreas No....
Ben Fourie avatar
cn flag
Ubuntu supports wlan as well https://ubuntu.com/core/docs/networkmanager/snap-configuration/wake-on-wlan
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.