wdutil(8) System Manager's Manual wdutil(8)

wdutilWireless Diagnostics command line utility.

wdutil [command]

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

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

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

This program and document are maintained by Apple Inc. <wifi-diags@group.apple.com>.

The wdutil command first appeared in Mac OS X Version 10.9.

12/8/12 macOS 14.6