Use MAC address to generate UDN

Generate a stable unique device name from the MAC address, instead of
the hostname. Also change the log level of some messages.