Can't turn on wifi on Mac OSX Mountain lion MBP 2012 The WiFi interface won't turn on when i press "Activate wifi" from the preferences neither from the status bar. 

I tried restarting the mac,and reset the pram. 

The Ethernet works fine and this is the result of ifconfig in the terminal:

en0: flags=8863&lt;UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&gt; mtu 1500 options=2b&lt;RXCSUM,TXCSUM,VLAN_HWTAGGING,TSO4&gt; ether a8:20:66:37:81:d9  inet6 fe80::aa20:66ff:fe37:81d9%en0 prefixlen 64 scopeid 0x4  inet
192.168.1.131 netmask 0xffffff00 broadcast 192.168.1.255 media: autoselect (100baseTX &lt;full-duplex,flow-control&gt;) status: active

en1: flags=8863&lt;UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&gt; mtu 1500 ether 5c:96:9d:89:fe:09  media: autoselect (&lt;unknown type&gt;) status: inactive


Is there anything I can try before initialize OSX?
Cycling the network setup has worked for me. Run the following in Terminal:

networksetup -setairportpower en0 off
networksetup -setairportpower en0 on