You can also use airport -I at the Terminal prompt, which will return information specific to the current wi-fi connection, looking something like the following:ĭisplayed is detailed information on wireless signal quality, noise, security, and other WiFi network attributes. Now that you have quick and easy access to airport with the above symbolic link, you can start using the airport tool.įor starters, you’ll probably find the -I flag and -s flags to be most useful and informative.įor example, with airport -s you will effectively have a wi-fi router stumbler and get a list of available wireless networks complete with their SSID, BSSID hardware address, security encryption type, and channel. Using the airport Wireless Tool in Mac OS X Command Line Yes, that giant cryptic path through the depths of Mac OS X is where Apple hid the wonderful airport utility, but by running the above command you have just linked that long path to the much shorter ‘airport’, which is great. Whichever method you go with, the sudo command will prompt you for a root password, enter it and hit return. Note the only difference between modern macOS versions and prior versions is where you will be placing the symbolic link, which is in /usr/local/bin/ versus in /usr/sbin/ $ sudo ln -s /System/Library/PrivateFrameworks/amework/Versions/Current/Resources/airport The above may be a bit hard to read on some browsers, so alternatively you can use the following (it does the same thing, just split into two commands):įor Mac OS Catalina, Mojave, and newer macOS versions Sudo ln -s /System/Library/PrivateFrameworks/amework/Versions/Current/Resources/airport /usr/sbin/airport Sudo ln -s /System/Library/PrivateFrameworks/amework/Versions/Current/Resources/airport /usr/local/bin/airportįor Mac OS X High Sierra, Sierra, El Capitan, Mavericks, and earlier Creating a symbolic link to airport is very easy, in the Terminal type the following:įor MacOS Mojave, Catalina, Big Sur, and newer MacOS releases The first thing you’ll want to do is create a symbolic link to the airport command, because it is situated in a very inconvenient location with a deep path, this helps for quick usage. First, Get Easier Access to airport Wi-Fi Tool In case you were wondering, yes the command line airport tool exists in nearly all versions of Mac OS X, even modern versions that stopped calling wireless networking ‘airport’ and refer to it as Wi-Fi. How to Access & Use airport Command Line Tool on Mac OS
0 Comments
Leave a Reply. |