Resolved Set proxy configuration file by terminal

Discussion in 'OS X Yosemite (10.10)' started by DennisBlah, Dec 8, 2014.

  1. DennisBlah, Dec 8, 2014
    Last edited: Dec 10, 2014

    DennisBlah macrumors 6502

    DennisBlah

    Joined:
    Dec 5, 2013
    Location:
    The Netherlands
    #1
    Hi all,

    I'm using an tool when OSX is loging in, which sets the proxy configuration file etc for the machines.

    For the 10.7 and higher devices I use this shell script:

    sudo networksetup -setautoproxyurl <interface> "http://myProxyFile/file.wpad"
    sudo networksetup -setproxyautodiscovery <interface> on

    However this does not work for Yosimite.
    I can't find the new command for autoproxy url...
    Can someone help me out here ?
     
  2. chrfr macrumors 603

    Joined:
    Jul 11, 2009
    #2
    The man page indicates the command hasn't changed between 10.9 and 10.10. What happens when you run your command locally? Any output that might help?
     
  3. NoBoMac macrumors 6502a

    Joined:
    Jul 1, 2014
    #3
    Add: command is still there on my machine and has those switches available.

    What chfr said: bring up a terminal window and run commands manually to see what happens.
     
  4. DennisBlah thread starter macrumors 6502

    DennisBlah

    Joined:
    Dec 5, 2013
    Location:
    The Netherlands
    #4
    Excuse me guys! I had an typo, but in the manpage the setautoproxyurl does not show up, thats why I was wondering whats going on now.

    Thanks anyways!
     
  5. chrfr macrumors 603

    Joined:
    Jul 11, 2009
    #5
    It's there, but not at the top. You'd need to scroll most of the way down to find it.
    I see that you'd forgotten the network interface in your initial post, so that would be the issue.
     

Share This Page