MAC - , , 4 . , , - , MAC . DIP- (Dual Inline Pins), , IRQ, ..
, .
There is no portable way to get the MAC address, theoretically you can use the command ifconfigfor * nix / Linux variants. For a Windows environment, you can use the command ipconfigusing either, you could find the appropriate adapter in question ... as shown in this example under Linux ... my network adapter is called "eth0" ...
ifconfig eth0 | grep HWaddr | cut -d \ t -f4
will return:
HWaddr 00: 02: 03: 04: 05: 06
source
share