Wednesday, March 7, 2012

How to enable or disable Airport from the command line

I was asked how to disable the Airport from the command line.  Here is what you do:  
Disable:  sudo ifconfig en1 down 
Enable:  sudo ifconfig en1 up 
"en1" is the network interface.  "en0" is usually Ethernet and "en1" is normally the Airport.
You can send these commands via ARD.

No comments: