Cara mengatasi wifi eror setelah suspend di ubuntu
Hallo, ini cuma share pengalaman z. Setelah saya install elementary os di thinkpad x250 setelah sleep dan di nyalakan kembali terkadang wifi jadi tidak terdeteksi,akhirnya mengharuskan saya untuk restart, padahal sebelumnya ketika saya menggunakan elementary os di lenovo g400 sya jalan normal aja tuh. nah untuk mengatasinya
1- Copy and paste in terminal:
sudo nano /etc/systemd/system/wifi-resume.service
2- Copy this code and paste it in the file you opened:
#/etc/systemd/system/wifi-resume.service
#sudo systemctl enable wifi-resume.service
[Unit]
Description=Restart networkmanager at resume
After=suspend.target
After=hibernate.target
After=hybrid-sleep.target
[Service]
Type=oneshot
ExecStart=wpa_cli resume
ExecStart=/bin/systemctl restart NetworkManager.service
[Install]
WantedBy=suspend.target
WantedBy=hibernate.target
WantedBy=hybrid-sleep.target
3- Run this command in the terminal:
sudo systemctl enable wifi-resume.service
NOTE:
after applying these settings the wifi will be connected automatically after the resume but the network manager icon will still be not active and not showing any wifi or network.
Komentar
Posting Komentar