It used to work fine. There is no physical damage to the MacBook and the WiFi network I'd like to connect is is perfectly functional.
It will not connect to any WiFi network or ethernet-based networks.
How can I fix this?
Sometimes, the wifi status is in the top bar, but when I click on it, it says "No Wi-fi Hardware Installed".