Wi-Fi missing from Settings on Mac running macOS 12.7
there is no wifi on the setting it says network preference not found. and when I try to reinstall my MacBook Air it needs wifi and I am stuck there. when I try to diagnose using/holding D after restart it shows error/startup 1 005D. on the wifi sign it shows exclamation mark on it. I can only use USB LAN ethernet adapter and with that it can't be neither reinstall or diagnosed. please help. I have fix this few times by deleting /Library/Preferences/SystemConfiguration/ then some filles.
[Re-Titled by Moderator]
MacBook Air 13″, macOS 12.7