DEV Community

Discussion on: Connect to a VPN from the Command Line on Mac OS

Collapse
 
patakijv profile image
John Pataki • Edited

Thanks for this. It is a great script and teaching tool for using macos command line tools.

Short: Does this need to be updated for Monterey (macos 12) or for Apple Silicon chipsets?

Longer: I've been using this script successfully on my 2019 Macbook Pro that is running Big Sur (macos 11) (with the modification referred to in the comments for Big Sur). I briefly had a test machine for the 2021 Macbook Pro M1 that was running Monterey (macos12) and it seems like some things change so the script didn't work correctly. I already returned the machine (getting the M1 Pro as a replacement) and can't recall exactly but I think the format of the output that checks the connected state was different which was throwing the script off. Has anyone modified the script so it works on Monterey (and possibly also is backward compatible?)