Skip to main content
Solved

Auto config Proxy settings for ethernet??

  • February 13, 2013
  • 9 replies
  • 54 views

Forum|alt.badge.img+3

Has anyone been successful in implementing a configuration profile (or anything else that works) that fills in the Proxy settings information for ethernet connections, like Thunderbolt and USB? So far, I am having to manually enter this information into the image before I pull it with Casper.

Best answer by JPDyson

Ben wrote this script that does it; I'd like to let him link it and not steal his thunder, but since I found it on his blog...

http://macmule.com/2011/09/09/how-to-change-the-automatic-proxy-configuration-url-in-system-preferences-via-a-script/

9 replies

Forum|alt.badge.img+13
  • Valued Contributor
  • Answer
  • February 13, 2013

Ben wrote this script that does it; I'd like to let him link it and not steal his thunder, but since I found it on his blog...

http://macmule.com/2011/09/09/how-to-change-the-automatic-proxy-configuration-url-in-system-preferences-via-a-script/


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • February 13, 2013

@ Josh, link away!! Else there was no point me posting it.

@ Allon, I use that script in my imaging process & daily to make sure the correct proxy is set.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • February 15, 2013

@Josh and @Ben

Thank you both for the point in the right direction! Looks great.


Forum|alt.badge.img+19
  • Contributor
  • March 1, 2013

sure wish OS X supported pre-populating proxy settings for removable adapters that haven't been used on a particular machine. I'm really tired of people buying thunderbolt displays and then saying their proxy is broken when in fact the proxy setting just hasn't been applied to the new NIC.


Forum|alt.badge.img+13
  • Valued Contributor
  • March 4, 2013

You could, in theory, craft a launchdaemon for this. I bet there's a way to set a watch file that would trigger it, and it would run the script whenever a new adapter was detected. I'm going to try that...


Forum|alt.badge.img+19
  • Contributor
  • March 4, 2013

yep, that's exactly what I was thinking, I just need to sit down with fseventer to figure out what to watch.


Forum|alt.badge.img+12
  • Contributor
  • July 29, 2013

Did anybody develop something that watched for whenever a new network interface was detected?


Forum|alt.badge.img+12
  • Contributor
  • July 29, 2013

Dupe post.


Forum|alt.badge.img+5
  • Contributor
  • April 6, 2015