How to check the MAC address