get ip from both ethernet and wifi