IP address system detect to do in other way for mac