I followed the example to get the MAC address from C code and I got it
When using a PCMCIA network card, how can I return 0 for the MAC address
when the PCMCIA card is unplugged?
For example, ‘netinfo -l’ is shows the MAC address when the card is in,
but nothing when the card is removed.