I noticed that my network is shutting down when my computer go in sleep mode. However, sometimes there is remaining activities that I would like to go on while in sleep mode. For example, if I'm downloading some big files, it stops because of this.
Is there a way to prevent network to shut down in sleep mode ?
On Settings > Energy there's an option to disable WI-FI to save energy but not sure if works for cable network and when standing-by , see if disabling it the network stays on. Also, you should be able to check your plugged router/modem settings about automatic device switch off. An alternative is setting that when lid is closed (for laptops) or when idle for a certain time the pc doesn't stand-by, it just loads a black screen so that option on Energy maybe doesn't activate to stop your network.
yes the solution is to disable the sleep mode, but instead of doing that manually, it will be better to be automatically, when downloading running disable sleep mode ,when no downloaing running run sleep mode.
the solution for that is to do it by script, or by using download manger apps have those features.
for example:fdm(free download manger) app has that features:
You would have to write a bash or python script that would run as a service, polling for network traffic at a certain rate, or software that is contacting the web. While not to difficult, since a Downloader has that feature, use that Downloader. I'm not sure if browsers include this feature or not. Writing a script for this would put unnecessary load on your computer. Disable sleep, turn off network adapter power saver or use the Downloader/ Browser.