Connecting of device

That “DHCP Failed!” message means that your Arduino is unable to receive an IP address from the router on your network. I made up a big post of reasons that we’ve run into where users have seen this error some time ago. I’d start there and step through each of these issues to rule them out or see if they help.