Posted on 02-11-2014 07:38 AM
We are a high school running 10.8.5 on about 800 macairs. We have a configuration profile setup with a payload for Network. Wifi, SSID password, Proxy Setup "Manual", Proxy server "proxy.XXXX.XX", port 8080, authentication and password are blank since it is going to pull from the user login. Security type and password are entered.
The problem is that using this wiped out the *.local, 169.254/16 that was in the Bypass proxy settings for these Hosts & Domains, thus Airdrop no longer works. If I manual put that info in the student's box it allows airdrop to work, but I cannot possibly do that for 800 machines. Is there a way I can write a policy to have that put into the exceptions box?
Posted on 02-11-2014 08:10 AM
Take a look at the man page in Terminal for "networksetup". ( man networksetup ) Although I've not had to do it myself, I'm pretty certain there's an option in there to programmatically enter those settings. I think the "-setproxybypassdomains" may be what you're looking for.
Posted on 02-11-2014 08:23 AM
You said it, Mike. I've done that same thing for my environment.
Posted on 02-11-2014 09:48 AM
I'm sorry, main page where?
Posted on 02-11-2014 09:53 AM
Not main page, man page, its short for "manual".
Open the Terminal application and type in:
man networksetup
and hit Return
For a somewhat nicer look at man pages, type in networksetup in Terminal, highlight the whole term, right click on it and you should see a "Open man Page" as the first item in the list. Choose that and it opens a separate yellow backgrounded window that you can scroll easier through, even search against with Command-F.
Posted on 02-11-2014 09:55 AM
or for those that dont understand how to use a terminal this may be better
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/networksetup.8.html
Posted on 02-12-2014 12:10 AM
At the risk of whoring my wares, I've wrote a few blogs that might be useful:
http://www.amsys.co.uk/2013/blog/bash-scripting-proxies/#.UvssN3m2_8E
http://www.amsys.co.uk/2013/blog/bash-scripting-proxy-exceptions/#.UvssOXm2_8E
http://www.amsys.co.uk/2013/blog/bash-scripting-proxy-examples/#.UvssOnm2_8E
Hope that helps
Darren