[NetworkSetup] add MAC address setup, code from OpenATV, but optimised.