Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imminent deprecation of airport command #7

Closed
ofirgalcon opened this issue Feb 27, 2024 · 2 comments
Closed

imminent deprecation of airport command #7

ofirgalcon opened this issue Feb 27, 2024 · 2 comments

Comments

@ofirgalcon
Copy link

ofirgalcon commented Feb 27, 2024

macOS 14.4 beta says this when trying to run the airport cmd:

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.

/usr/libexec/airportd also doesn't work

     wdutil provides functionality of the Wireless Diagnostics application in command line form.

COMMANDS
     The following commands are available:

     diagnose [-f outputDirectoryPath]

           Equivalent to running the Wireless Diagnostics application, without UI. The default
           outputDirectoryPath is /var/tmp.

           Requires sudo.

     info

           Displays all of the content included in the Wi-Fi Info utility view.

     log [{+|-} {dhcp|od|dns|eapol|wifi}]+

           Enables or disables logging for DHCP, OpenDirectory, DNS, EAPOL, and Wi-Fi

           Requires sudo.

     dump

           Dumps the temporary Wi-Fi log buffer to /tmp/wifi-XXXXXX.log

EXAMPLES
     Run all diagnostic tests:

           sudo wdutil diagnose

     Gather information about the current wireless environment:

           wdutil info

     Enable DHCP and OpenDirectory logging:

           sudo wdutil log +dhcp +od

     Disable EAPOL logging:

           sudo wdutil log -eapol

AUTHOR
     This program and document are maintained by Apple Inc. <wifi-diags@group.apple.com>.```
@precursorca
Copy link

Examining the newer sudo wdutil info here are some equivalents

airport -I -> sudo wdutil info

agrCtlRSSI -> RSSI
agrExtRSSI ->
agrCtlNoise -> Noise
agrExtNoise ->
state -> Power
op mode -> Op Mode
lastTxRate -> Tx Rate
maxRate ->
lastAssocStatus ->
802.11 auth ->
link auth -> WPA2 Personal
BSSID -> BSSID
SSID -> SSID
MCS -> MCS Index
guardInterval -> Guard Interval
NSS -> NSS
channel -> Channel

@tuxudo
Copy link
Contributor

tuxudo commented Mar 7, 2024

This has been resolved with version v3.5 of the module

@tuxudo tuxudo closed this as completed Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants