


Whiel that is a self-assigned address derived from the above via a substitution rule. The above is the formally assigned address They're related by a simple numerical substitution rule in one of the startup scripts. The board has two network interfaces, and as a result it has two MAC addresses. That's because the sticker is actually wrong Notice how the printed MAC on the Onion does not match the output of the program. That's because the sticker is actually wrong - although my sticker reads MAC: 40A36BC117FD, the MAC returned by ifconfig is actually 40:A3:6B:C1:17:FF for br-wlan0 and 42:A3:6B:01:17:FD for said in Obtain the MAC address in C Code: Sprintf(&MAC_str,"%02X",((unsigned char*)ifr.ifr_hwaddr.sa_data))

Of the first Google results for "C linux get MAC": Įither cross-compile the program or compile locally.
