Wi-Fi interface missing

Solution 1:

It's possible that Wi-Fi service is disabled in your system, check by:

sudo networksetup -listallnetworkservices

If you see an asterisk (*) next to your WiFi, that means the service is disabled. Enable it by:

networksetup -setnetworkserviceenabled WiFi on
networksetup -setairportpower en0 on

Same for any other network services which are disabled. See also this post and this post.

Then restart your system to start these services at startup.