Fixing MAC addresses and hostnames