Last active
September 20, 2020 14:26
-
-
Save efraimsutopo/53df9014ff91f767064074fdee756be0 to your computer and use it in GitHub Desktop.
Fix Ubuntu Wifi issue with (?) mark, put this file into /etc/pm/sleep.d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
case "$1" in | |
resume|thaw) | |
nmcli radio wifi off && nmcli radio wifi on | |
;; | |
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
case "$1" in | |
suspend|hibernate) | |
/bin/ifconfig wlp2s0 down | |
/sbin/modprobe -r ath10k_pci | |
;; | |
resume|thaw) | |
/sbin/modprobe ath10k_pci | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment