I have a Macbook Pro from 2011 currently running OS X Yosemite 10.10. Before i upgraded to Yosemite, i was experiencing a common wifi issue that was that the wifi disconnected from the internet and it couldn't be turn on or off; sometimes, when i turned on the mac, a "No hardware installed" message showed. I replaced the wifi card but the problem persisted and now that i upgraded the OS, the configuration didn't recognise any hardware and no Wi-Fi interface is shown on Network Preferences. I know there is a file Library/Preferences/SystemConfiguration/NetworkInteraces.plist that contains these interfaces information.

Is there anyway that i can configure this file to add the wifi card? or is there something else that i can do? knowing that replacing the wifi card didn't solve the problem and that it may be a software issue?


  • does the terminal "airport on" do anything?
    – Ruskes
    Commented Oct 19, 2014 at 19:51
  • There is no such file on my 10.9.5 NetworkInteraces.plist
    – Ruskes
    Commented Oct 19, 2014 at 19:56
  • the "airport on" command displays something like the man of the "airport" command
    – JsMartinez
    Commented Oct 19, 2014 at 22:25
  • sorry, try this to turn the wifi on "networksetup -setairportpower en0 on"
    – Ruskes
    Commented Oct 20, 2014 at 2:13
  • It shows "you cannot set wifi power because all airport network services are disabled"
    – JsMartinez
    Commented Oct 20, 2014 at 19:32

1 Answer 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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .