Turn airport on|off by command line?

joshuatree

Registered
Hi.

I have written a small python script to change the mac address of your Apple Airport Extreme Card. At the moment the script works, but there is still one possibility to misuse it:
Before you invoke the script you have to use "Turn Airport off" from the Airport menu. As always when using computers users will make an error, when they have the possibility to do it. Therefore i want to "Turn Airport off" in the script by command line, but unfortunately i dont know how.

Is there anyone who knows how to turn airport on|off by command line?

Thanks in advance,
Tobias
 
Back
Top