I have literally tried everything on the Internet but nothing helped me. The wifi gets hard blocked after suspend. Even Rfkill command won't work. Any help please?
Asked
Active
Viewed 140 times
3 Answers
0
"Hard Blocked" refers to your "fn" keys on your laptop. Press "fn" along with the wifi button to toggle wifi on and off. Rfkill cannot override this switch. Don't feel bad if this is the problem I did the same thing the first time this happened to me.

mchid
- 43,546
- 8
- 97
- 150
-
I've even tried that. It should have come on after 'fn' plus 'f12' but it didn't :/ – Dawood Shahid Aug 03 '14 at 18:05
0
This worked for me.
#!/bin/sh
case "${1}" in
resume|thaw)
nmcli r wifi off && nmcli r wifi on;
esac
Put this in /etc/pm/sleep.d/10_resume_wifi
and the problem should be fixed immediately.
Copied my own answer from Wireless networking not working after resume in Ubuntu 14.04

Owais Lone
- 7,382
0
I have this same kind of behavior, wifi gets back to work with
sudo service network-manager restart
hope it helps.