Use "ip addr show" to detect ip address
Use "hostname -I" for ip address detection
Merge pull request #52 from njam/ip-instead-ifconfig

Use "ip addr show" to detect ip address