Use "ip addr show" to detect ip address