.Dd 12/8/12 .Dt wdutil 8 .Os .Sh NAME .Nm wdutil .Nd Wireless Diagnostics command line utility. .Sh SYNOPSIS .Nm .Op Ar command .Sh DESCRIPTION .Nm provides functionality of the Wireless Diagnostics application in command line form. .Sh COMMANDS The following commands are available: .Pp .Cm diagnose .Ar [-f outputDirectoryPath] .Pp .Dl Equivalent to running the Wireless Diagnostics application, without UI. The default outputDirectoryPath is /var/tmp. .Pp .Dl Requires sudo. .Pp .Cm info .Pp .Dl Displays all of the content included in the Wi-Fi Info utility view. .Pp .Cm log .Ar [{+|-} {dhcp|od|dns|eapol|wifi}]+ .Pp .Dl Enables or disables logging for DHCP, OpenDirectory, DNS, EAPOL, and Wi-Fi .Pp .Dl Requires sudo. .Pp .Cm dump .Pp .Dl Dumps the temporary Wi-Fi log buffer to /tmp/wifi-XXXXXX.log .Pp .Sh EXAMPLES .Pp Run all diagnostic tests: .Pp .D1 sudo wdutil diagnose .Pp Gather information about the current wireless environment: .Pp .Dl wdutil info .Pp Enable DHCP and OpenDirectory logging: .Pp .Dl sudo wdutil log +dhcp +od .Pp Disable EAPOL logging: .Pp .Dl sudo wdutil log -eapol .Sh AUTHOR This program and document are maintained by Apple Inc. . .Sh HISTORY The .Nm command first appeared in Mac OS X Version 10.9.