[Casper] disable ad hoc networking
Miles Leacy
miles.leacy at themacadmin.com
Tue Jan 13 12:55:25 PST 2009
Thanks! Could you explain what the "-ibss_admin" switch means? How would
this be undone if you needed to?
If your airport interface is not "en1", would you need to discover the
correct value and substitute it in the command? Isn't airport en2 on Mac
Pros and en0 on MacBook Airs?
Such as:
airport_interface=`system_profiler SPNetworkDataType| grep -A 1 "Hardware:
AirPort"` airport_interface=${airport_interface: -3}
expect -c 'spawn /usr/libexec/airportd $airport_interface -ibss_admin 1;
expect eof'
Thanks again for the great info!
----------
Miles A. Leacy IV
Certified System Administrator 10.4
Certified Technical Coordinator 10.5
Certified Trainer
Certified Casper Administrator
----------
voice: 1-347-277-7321
miles.leacy at themacadmin.com
www.themacadmin.com
2009/1/13 John DeTroye <detroye1 at apple.com>
> For Airport? From Terminal, sudo /usr/libexec/airportd en1 -ibss_admin 1
> or for remote deployment:
> expect -c 'spawn /usr/libexec/airportd en1 -ibss_admin 1; expect eof'
>
> johnd
> --
> John DeTroye Email: johnd at apple.com
> Sr. Consulting Engineer Systems Management Specialist
> Apple - Education iChat: johnd at mac.com
> Systems Management Guide - http://www.apple.com/education/go/sysmgmt/
> Tips and Tricks Docs - http://web.me.com/johnd/
> --
>
> On Jan 13, 2009, at 1:12 PM, Thomas Larkin wrote:
>
> I am looking at just disabling the ability to create an ad hoc network. A
> simple look at the given command line tools says I can't do this. So, now I
> am venturing into the real of editing a plist to disable that function.
>
> Any pointers or suggestions?
>
>
>
> _______________________________________________
> 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/20090113/fe98712d/attachment.html
More information about the Casper
mailing list