It sometimes happen that all of a sudden my wifi goes down. It stops scanning networks and says "No Networks". I know this has happened when my wifi show nothing besides its symbol.
When I do
ifconfig after that happens, I can't find
wlp10s0f0 which is my wireless interface, in the list.
sudo ifconfig wlp10s0f0 up
SIOCSIFFLAGS: Device or resource busy
rfkill block wifi rfkill unblock wifi
sudo services network-manager restart
doesn't help. A quick fix to this problem is restarting my PC. But that's just a temporary solution, and at times it is frustrating. Is there a permanent solution to this?
wlp10s0f0 IEEE 802.11 ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm Retry short long limit:2 RTS thr:off Fragment thr:off Power Management:off enp8s0 no wireless extensions. lo no wireless extensions. usb0 no wireless extensions.