Easy enough fix…keep in mind I usually am running Kali linux but this will get many other distros and get you probably 90% there on others.
rfkill list all
# rfkill list all
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no
2: phy1: Wireless LAN
Soft blocked: yes
Hard blocked: no
now do this to actually turn the block off:
rfkill unblock wifi
rfkill unblock all
now you can list it again to make sure, you may need to reboot as well
# rfkill list all
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no