Ubuntu 24.04.2 LTS | Lataa ja asenna | Tutustu yhteisöön | Blogi | Yritysten tarjoamat palvelutUusimmat julkaisut: 24.04.2 LTS (suositeltu, 20.2.2025) ja 25.04 (17.4.2025).
sudo nano /etc/systemd/system/wifi-resume.service
#/etc/systemd/system/wifi-resume.service#sudo systemctl enable wifi-resume.service[Unit]Description=Restart networkmanager at resumeAfter=suspend.targetAfter=hibernate.targetAfter=hybrid-sleep.target[Service]Type=oneshotExecStart=wpa_cli resumeExecStart=/bin/systemctl restart NetworkManager.service[Install]WantedBy=suspend.targetWantedBy=hibernate.targetWantedBy=hybrid-sleep.target
sudo systemctl enable wifi-resume.service