WiFi doesn't turn on
Wifi of iMac doesn't turn on, in the top right corner of the screen I have the wifi icon crossed out, clicking on it a drop down menu drops down and the wifi switch is off, pressing to turn it on the drop down menu starts to expand and immediately after it goes back to the way it was before and the switch stays off.
Rebooting does not change anything, using another profile but wifi remains off, rebooted in Apple Diagnostics and no problems were detected, even resetting NVRAM did not change anything.
iMac 27″ 5K, macOS 13.2