Use "ip addr show" to detect ip address

I think this is more portable, and it solves #51 because `ip` is on Debian's PATH.
@phinze What do you think?