2 ms·
Want to scan the local wifi networks from the command line, and get useful information like signal strength? /System/Library/PrivateFrameworks/Apple80211.frame
by semanticist 2y ago
Want to scan the local wifi networks from the command line, and get useful information like signal strength?
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -s
I set a shell alias so I can just do `airport -s`. I've no idea why this is hidden away inside some framework and not in a directory which is in the normal path, but there you go.
- stunthamsterio 2y agoFWIW that appears to be soon deprecated according to MacOS 15.2: WARNING: The airport command line tool is deprecated and will be removed in a future release. For diagnosing Wi-Fi related issues, use the Wireless Diagnostics app or wdutil command line tool.
- semanticist 2y agoOh, that's a pity. I'm pretty bad at keeping up to date on MacOS releases, but I should probably start figuring out `wdutil` so that my muscle memory is adapted before I've got no choice!
- WorldPeas 2y agois there a way to do monitor mode scanning with wdutil like the `airport -s` command? asking for a friend...