OT: Advanced logging for wi-fi

jarednichols
Honored Contributor

Just found this gem of info, hopefully someone else will find it useful.

http://prowiki.isc.upenn.edu/wiki/Enabling_Advanced_Logging_for_Wireless_in_Mac_OS_X

Duplicated (and cleaned up a bit) here in case the source goes away:

Airport and/or Wi-Fi Logging

  1. ``` sudo System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport debug +AllUserLand
    2. Restart the Computer.
  2. The wifi logs will be in Console in the /var/log/ subtree as wifi.log

Enabling eapolclient Logging (Authentication)

  1. ``` sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.eapolclient LogFlags -int -1
  2. Restart the Computer.

The eapolclient is the 802.1X supplicant on Mac OS X. This setting will have it dump copious logs to /var/log/eapolclient.<interface>.log. Where the interface is something like en1, or whatever the particular network adaptor, wired or wireless, you're trying to use. You can also find them in Console.log

Note: To disable the logging you just set the integer back to 0

Using the Wi-Fi Utility in 10.8

To find it, navigate to: /System/Library/CoreServices/. From this utility you can:
•Create Diagnostic Report:
•Turn on debug logs
•Capture network traffic

{/quote}

0 REPLIES 0