We used to run this command to get wifi info on mac. /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I
but it seems with latest 14.4.1 , airport command has been deprecated and advised to use wdutil. The problem with wdutil is that it only works with sudo.
Is there a way we can still get all wifi metrics without sudo an mac?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
How can we get the BSSID value for a wifi network without sudo
we have tried with different options but they dont seem to work.It seems they have been deprecated.
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport en1 --getinfo | grep BSSID | awk -F ': ' '{print $2}'
ioreg -l -n AWDLPeerManager | perl -lne 'print $1 if $_ =~ /IO80211BSSID.<(.)>/;' | fold -w2 | paste -sd: -