←back to thread

700 points yen223 | 1 comments | | HN request time: 0.232s | source
Show context
semanticist ◴[] No.42058160[source]
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.

replies(1): >>42058307 #
stunthamsterio ◴[] No.42058307[source]
FWIW 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.

replies(1): >>42059254 #
semanticist ◴[] No.42059254[source]
Oh, 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!
replies(1): >>42068704 #
1. WorldPeas ◴[] No.42068704[source]
is there a way to do monitor mode scanning with wdutil like the `airport -s` command? asking for a friend...