Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Toggle a proxy server on and off via scripts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Toggle a proxy server on and off via scripts
Authored by: sveiki on Mar 06, '08 12:26:10AM
Seems to me like this would work just fine, as well. I also did not think to explore this option. The reason I have it set up this way is to quickly change my proxy setup to download a file or two and then quickly switch it back. Switching network locations could have one issue that might be problematic if the system insists on disconnecting and reconnecting to networks or renewing a DHCP lease (I'm not sure if this is the case. Other reasons networksetup might be a good option:
  • It never hurts to have multiple solutions.
  • Scripting proxy changes could be useful in some situations (ie doing something else via script or programmatically).
  • Possibly faster.
  • No need for additional network locations just to have choices for "Proxy On" and "Proxy Off". If you already have a few network locations, this just might be important.


[ Reply to This | # ]