Loop through all network interfaces to find an acceptable ip address.