Getting MAC Address from known network I lost my old router, and I need to know its MAC address, only info i got is the log of my Mac (Yosemite), i have found that with this command i got a lot of info about the preferred networks (saved networks) on my Mac.

defaults read /Library/Preferences/SystemConfiguration/com.apple.airport.preferences KnownNetworks


And it outputs something like:

"wifi.ssid.&lt;77696669 2d756e65&gt;" =     {
    AutoLogin = 0;
    Captive = 0;
    ChannelHistory =         (
    );
    Closed = 0;
    CollocatedGroup =         (
    );
    Disabled = 0;
    LastConnected = "2014-09-19 19:20:23 +0000";
    Passpoint = 0;
    PossiblyHiddenNetwork = 0;
    RoamingProfileType = None;
    SPRoaming = 0;
    SSID = &lt;77696669 2d756e65&gt;;
    SSIDString = "heeeyomywifi";
    SecurityType = Open;
    SystemMode = 1;
    TemporarilyDisabled = 0;
};


But i see no MAC address :(, could this be done? or shall I search somewhere else?
Pending how long was the last connection, you could find the answer in your Console log.

I have it showing the information for last 7 days. Back to Dec 23. 2014

In Console type MAC in the search window.

Look for MacAuthEvent

In systemlog7.gz file.

EDIT:

If it is older than that:

Use Terminal and type mdfind systemlog

if it shows ....PreviousSystemLogs try that one. (highlight the find and use Reveal in Finder)

If it does not show it in Terminal then look for it in the hidden folder /private/var/db under .cpgz archive that you have to unpack.