[Casper] Controlling Airport

Thomas Larkin tlarki at kckps.org
Thu Oct 22 12:43:46 PDT 2009


Even easier, you can require admin rights to modify the Airport status, then your casper policy can control it

>>> "Nichols, Jared - 1160 - MITLL" <jared.nichols at ll.mit.edu> 10/22/09 2:26 PM >>>
I'm going to make an assumption about your network, but if you've only got hardwire connections in your AOR (i.e. your company doesn't use wireless and you want to disable wireless because someone may have been using it at home and they didn't turn it off before connecting at work,) you can use networksetup to get and set the airport power option. 



So, you could scope the policy to a IP range of your wired network and set a script on every15 to shut off airport power.

--- 

Jared F. Nichols 

Desktop Engineer, Infrastructure & Operations 

Information Services Department 

MIT Lincoln Laboratory 

244 Wood Street 

Lexington, Massachusetts 02420 

781.981.5436 



On Oct 22, 2009, at 3:18 PM, Thomas Larkin wrote: 




Assuming wired and wireless VLANs are different you can script something out to switch or disable.  However, that script would run constantly eating up both battery power and CPU cycles since it would constantly be running that script.

>>> Robert Everson <reverson at solon.k12.ia.us> 10/22/09 2:15 PM >>>
You can use the script in the resource kit to disable the airport, but 
to do this immediately when the ethernet cable is active, and then 
undo this when it is disabled, you'll have to use kicker (for 10.4) or 
crankd (for 10.5, not sure if it works in 10.6).

crankd is available here (http://code.google.com/p/pymacadmin/)

You'll have to setup a policy to run on a specific trigger, and then 
have crankd call this trigger when the cable is plugged in.  Then 
you'll have to cache a policy that runs when crankd is called when the 
cable is unplugged.

I haven't done this, but crankd does look useful for this type of 
dynamic scenario.

-Robert


On Oct 22, 2009, at 2:00 PM, Paul Austin wrote:

> I have an interesting challenge that one of you may have faced
> already. We have a new security policy that requires wireless to be
> disabled on a machine if it is connected wired to the corporate
> network. Have any of you had to deal with this issue yet and if so,
> how did you tackle it?
>
> Thanks in advance.
>
> Paul Austin
> End User Computing
> Wells Fargo
> 704 427-0903
> _______________________________________________
> Casper mailing list
> 
  

Casper at list.jamfsoftware.com
> 
  

http://list.jamfsoftware.com/mailman/listinfo/casper
>

_______________________________________________
Casper mailing list
Casper at list.jamfsoftware.com
http://list.jamfsoftware.com/mailman/listinfo/casper

_______________________________________________
Casper mailing list
Casper at list.jamfsoftware.com
http://list.jamfsoftware.com/mailman/listinfo/casper



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.jamfsoftware.com/pipermail/casper/attachments/20091022/3d5a845e/attachment.htm>


More information about the Casper mailing list