auto detect ipad ip