tool to trigger connection, get status of Airport Base Stations
airctl is a commad-line utility to trigger connection and disconnection events on, and to print the status of an Apple AirPort Base Station. At the moment this is not a configuration utility.
To install airctl, paste this in macOS terminal after installing MacPorts
sudo port install airctl