Disable airport

Not applicable

We just blasted this out via ARD, but I suppose some clever person could
design a script to run as a policy. networksetup ­
setnetworkserviceenabled AirPort off

That did the trick for us.

Janice K. Hill
PC Support Manager
Apple Certified Technical Coordinator
Sheboygan Area School District

2 REPLIES 2

tlarkin
Honored Contributor

The only few problems I see with this is that, networksetup has
different syntax in 10.5 and 10.6 and in 10.4 it is actually embedded in
a private framework and much more limited. So, if you have different OS
versions floating around you'd need to case or loop it out. Another
issue I can foresee is that the Airport card may not always be en1. In
most cases it is, but any desktop that has dual nics may have different
configurations, so will BTO MacPro desktops and of course Xserves
(though the servers will never be a problem).

So, I would recommend doing a bit of scripting if any of this applies to
your environment.

RobertHammen
Valued Contributor II

Don't forget MacBook Airs, whose default AirPort interface is en0 (and each unique USB Ethernet adapter has its own MAC address, so if you use different ones you'll have en2, en3, en4 et. al.)
On Mar 15, 2010, at 2:34 PM, Thomas Larkin wrote:

--Robert