Randomise the mac address and store it in the config.

This stops error 20115 when trying to go online.