Also print out name and ip address to console