MacOS tips¶
Setting up networking profiles¶
You can set up custom Network profiles in MacOS and easily switch between them.
https://apple.stackexchange.com/questions/23134/how-can-i-quickly-change-dns-server
Create¶
- Open Terminal.
- Create the network location "Valencia" and switch to it:
sudo networksetup -createlocation "Valencia" populate
sudo networksetup -switchtolocation "Valencia"
Wi-Fi with your service name if different):
Replace "Wi-Fi" with the correct network service name from step 3 if necessary.
Delete¶
To delete a network location named "Valencia" using MacOS's networksetup, open Terminal and run: