wdutil

Wireless Diagnostics command line utility.

sudo wdutil [command]

Displays all of the content included in the Wi-Fi Info utility view.
diagnose Save one to compare with later.
Creates /var/tmp/WirelessDiagnostics_NTLXQWCR37_2025-07-21_17.51.39.tar.gz
Press 'Enter' to continue.
 edited for briefity3/14/25 smac14  family room
   Timestamp  13:22:26.735   
Name                Duration(ms) Result    
ping LAN                    16  Yes  Could ping router (192.168.1.1 / 3ms / BE / 64 bytes / i=.1  W=1.6 t=1.6  c=1
Ping LAN                    13  Yes  Could ping router (192.168.1.1 / 3ms / BK / 65 bytes 
Ping LAN                    14  Yes  Could ping router (192.168.1.1 / 3ms / VI / 66 bytes 
Ping LAN                    17  Yes  Could ping router (192.168.1.1 / 3ms / VO / 67 bytes 
Ping WAN                 1,013  No   Could not ping DNS server (17.254.0.22 / BE/68 bytes 
Ping WAN                    18  Yes  Could ping DNS server (192.168.1.1 /4ms/ BE/69 bytes / i=.1 / W=1.6 
Ping LAN                   544  Yes  Could ping router (192.168.1.1 / 2ms / BE / 70 bytes / i=.1 / W=0.2        c=6
Ping LAN                   538  Yes  Could ping router (192.168.1.1 / 2ms / BK / 71 bytes / i=.1 / W=0.2        c=6
Ping LAN                   538  Yes  Could ping router (192.168.1.1 / 2ms / VI / 72 bytes / i=.1 / W=0.2        c=6
Ping LAN                   542  Yes  Could ping router (192.168.1.1 / 3ms / VO / 73 bytes / i=.1 / W=0.2        c=6
Ping6 AWDL                  04  No   Could not ping AWDL ((null)    / 0ms / BE / 64 bytes /        w=0.0        c=0
  Apple Wireless Direct Link
Resolve DNS                 26  Yes  Could resolve 'captive.apple.com'
Reach Apple                 02  Yes  Could reach 'www.apple.com'
Curl Apple                  74  Yes  Could curl 'https://captive.apple.com'
Double NAT                  63  No   Did not detect double NAT
SpeedTest (Download)     2,976  Yes  Completed speed test        (194 Mbps)
Wi-Fi Link                  02  Yes  Wi-Fi is associated to 'disabled'
IPv4 Assigned               02  Yes  Wi-Fi has IPv4 assigned (router=192.168.1.1 ip=192.168.1.56)
IPv6 Assigned               02  Yes  Wi-Fi has IPv6 assigned (router=fe80::7a67:eff:feb3:ec05 
                                                                                  ip=2600:4041:4312:5e00:1476:ecc0:f207:bb14)
Primary IPv4 is Wi-Fi       05  Yes  en0 (Wi-Fi / 9C2B992F-6E5C-47EE-BF47-5762CC0E8659)
Primary IPv6 is Wi-Fi       04  Yes  en0 (Wi-Fi / 9C2B992F-6E5C-47EE-BF47-5762CC0E8659)
Custom IPv4                 01  No   Wi-Fi is using 'DHCP' for IPv4
Custom IPv6                 01  No   Wi-Fi is using 'Automatic' for IPv6
Custom DNS                  01  No   Did not detect custom DNS settings
Custom Web Proxy            01  No   Did not detect custom web proxy settings
BT Paired Count             98  Yes  Paired Bluetooth device count (9)
BT Connected Count          00  No   Connected Bluetooth device count (0)
BT Coex Active              00  No   Bluetooth coexistence is not active
AWDL Enabled                00  No   AWDL is not active
AWDL Real Time Mode         00  No   AWDL real time mode is not active
Poor Wi-Fi Signal           02  No   Current network has good signal (RSSI=-64dBm, SNR=25dB)         ----
Uncommon Beacon Interval    03  No   Beacon interval is 100ms
Uncommon DTIM Interval      01  Yes  DTIM interval is 0ms
No Wi-Fi Security (Open)    03  No   Current network does not use open security (WPA2 Personal)
Legacy Wi-Fi Security (WPA) 05  No   Current network does not use WPA security  (WPA2 Personal)
Legacy Wi-Fi Security (WEP) 05  No   Current network does not use WEP security  (WPA2 Personal)
Legacy Wi-Fi Rates (802.11b)01  No   Current network is not using 802.11b
iOS Personal Hotspot0       2   No   Current network is not an iOS PH
Passpoint                   03  No   Current network is not Passpoint
AirPort Base Station02          Yes  ? (0)
Ambiguous Network Name      00  No   disabled is not ambiguous
Captive Portal              01  No   Current network is not captive
Hidden Network              01  No   Current network is not marked as hidden
Large PNL                   10  Yes  Wi-Fi PNL count (54)
PNL Contains Hidden         00  Yes  PNL contains hidden networks
                                                                                     'Dennis's iPhone'  WPA2/WPA3 Personal
                                                                                     'iPhone'  WPA2/WPA3 Personal
--------------------

Timestamp    Name                Duration    Result    Description                            
Congested Wi-Fi Channel     11  No   Current channel (161) is NOT congested (CCA = 39%)
                                                                                     Recommended 2.4GHz  1
                                                                                     Recommended 5GHz  161
HT40 2.4GHz Networks        10  Yes  Found HT40 network(s) in 2.4GHz
Conflicting Wi-Fi CC        00  No   Did not find conflicting country code(s) (us)
Hidden Wi-Fi Scan Results   00  Yes  Found 1 hidden network(s)
No Scan Results             00  No   Wi-Fi networks are visible
Conflicting PHY Mode 11ac   00  No   0 PNL networks have conflicting PHY modes (802.11ac).
Conflicting PHY Mode 11n    00  No   0 PNL networks have conflicting PHY modes (802.11n).
Conflicting Wi-Fi Security  00  No   Did not find conflicting security types

     
info
log [{+|-} {dhcp|od|dns|eapol|wifi}]+ Enables or disables logging for DHCP, OpenDirectory, DNS, EAPOL, and Wi-Fi

EXAMPLES

Run the diagnostic routine with the option to continue monitoring:
sudo wdutil diagnose -m
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

From MacbookPro 2/26/24 options with value no removed.(rearranged ed).

sudo wdutil diagnose [-q] [-f outputDirectoryPath]
-q may be specified to suppress legal prompt and Finder window
sudo wdutil info
sudo wdutil log [{+|-} {system|wifi}]+
sudo wdutil dump
sudo wdutil clean

 row of --- are actually  e2 80 94   use sed s\/$'\xe2\x80\x94'\/\=\/g to change to =
> sudo wdutil info

NETWORK Primary IPv4 : en0 (Wi-Fi / D418AA67-C94E-474D-A64F-48589DC294CE) : 192.168.1.16 DNS Addresses : 192.168.1.1 Primary IPv6 : None Apple : Reachable
WIFI MAC Address : f8:4d:89:7f:81:05 (hw=f8:4d:89:7f:81:05) Interface Name : en0 Power : On [On] Op Mode : STA SSID : disabled BSSID : 78:67:0e:b3:ec:07 RSSI : -48 dBm Noise : -87 dBm Tx Rate : 720.0 Mbps Security : WPA2 Personal PHY Mode : 11ax MCS Index : 7 Guard Interval : 800 NSS : 2 Channel : 5g40 (80 MHz, Active) Country Code : US Scan Cache Count : 23 NetworkServiceID : D418AA67-C94E-474D-A64F-48589DC294CE IPv4 Config Method : DHCP IPv4 Address: 192.168.1.16 IPv4 Router : 192.168.1.1 IPv6 Config Method : Automatic Address: fe80::18ee:b914:6f4:4824 IPv6 Router : None DNS : 192.168.1.1 BTC Mode : Off Desense : Chain Ack : [] BTC Profile 2.4GHz : Disabled BTC Profile 5GHz : Disabled
BLUETOOTH Power : On Address : F8:4D:89:88:A0:1C Devices : 6 (paired=6 cloud=0 connected=0) Paired smacpro : 4c-32-75-97-3b-ae Yes iPhone : f8-e9-4e-df-3a-92 Yes Dennis German emailto:DG@CCCU.US. Beats Studio : 04-9d-05-c8-65-64 Yes [LG] webOS TV UP8000PUA : 24-e8-53-66-26-cf Yes UC96_SPP : 4d-ea-a2-fa-5d-e1 Yes JLab GO Air : 1c-52-16-5e-56-f4 Yes
AWDL AirDrop Disc Mode : Contacts Only AWDL Enabled : No Interface Name : awdl0 IPv6 Address : fe80::1439:d6ff:fe31:9dca Power : On
POWER Power Source : Battery Battery Warning Level: None System Caps : FullWake:cpu disk net aud vid > sudo /usr/bin/wdutil log Wi-Fi : Off Wi-Fi Profile (Mega) : Off Wi-Fi Profile (NoLogging) : Off EAPOL : On Bluetooth : Off