To resolve the WiFi not available message in Linux:
- Find out which network interface is having the problem using
# iwlist scan.In my case, it was wlp86s0
- See the status of the adapter with nmcli device status
- Use rfkill listto see if the adapter is hard or soft blocked
- Unblock the wifi with rfkill unblock wifi
- Bring that network interface down. Eg, by typing
 # sudo ip link set wlp86s0 down
- Then bring it back up. Eg, by typing
# sudo ip link set wlp86s0 up
5 / 2025
            
    