Jump to content

Set proxy in Macos terminal in utilities


Recommended Posts

Posted

I've trying to reinstall Macos on a macbook, its connected to the wifi and I can get the the 'Install Macos Catalina' screen at whihc point I can connect to the wifi

 

However, it always stops saying it can't connect which is correct as I've not been able to specify the proxy settings

 

I've tried to do this in Terminal (inside the Utilities) using export http_proxy and export https_proxy but I always get the message 'The recovery server could not be contacted'

 

Is there a better way to specify a wireless connections proxy to do this - the school I'm at can only use the council mandated proxy/port?

Posted

Wired is the same - to be honest the proxy is rarely an issue. Deploying iPads with AC2/DEP and an MDM doesn't cause any issues as the proxy is defined in the settings

 

In the end I managed to wangle a temporary workaround - the Macbook's dhcp IP address was allowed through the firewall whilst it downloaded Macos

Posted

This might have worked in terminal

 

networksetup -setwebproxy "Wi-Fi" proxy1.domain.com 8080

networksetup -setsecurewebproxy "Wi-Fi" proxy1.domain.com 8080

networksetup -setwebproxystate "Wi-Fi" on

networksetup -setsecurewebproxystate "Wi-Fi" on

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...