Hacker News new | ask | show | jobs
by danpetrov 1680 days ago
There is also "networksetup", which allows you to do pretty much anything you want with network configuration. Useful if you want to e.g. automate VPN network switching or locations.
2 comments

> Useful if you want to e.g. automate VPN network switching or locations

Can you elaborate on that a bit, please?

If you have a VPN named "MyVPN" you can start it from the command line with: networksetup -connectpppoeservice "MyVPN".
I use this as part of an ssh ProxyCommand. It's wonderful.
Oh no. Oh no oh no.

You don't mean Apple's implemented the Wi-Fi autoconfig functionality Ubuntu failed to deliver in ~2008, do you?

Because if they have... they'll have done it... correctly.

If the binary and/or supporting libraries have any references to FieldAgents in them... we're doomed. That's Skynet, right there.

Can you expand a bit? Some quick Googling didn't reveal anything useful to me -- what exactly are you talking about?
Sure, and apologies (I think my comment went up to 2 points but now at 0, hehe).

It's a reference to https://xkcd.com/416/.

:P