Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

DennisBlah

macrumors 6502
Original poster
Dec 5, 2013
485
2
The Netherlands
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 ?
 
Last edited:

chrfr

macrumors G5
Jul 11, 2009
13,534
7,056
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 "http://myProxyFile/file.wpad"
sudo networksetup -setproxyautodiscovery on

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

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?
 

NoBoMac

Moderator
Staff member
Jul 1, 2014
5,819
4,429
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.
 

DennisBlah

macrumors 6502
Original poster
Dec 5, 2013
485
2
The Netherlands
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!
 

chrfr

macrumors G5
Jul 11, 2009
13,534
7,056
Excuse me guys! I had an typo, but in the manpage the setautoproxyurl does not show up

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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.