Update: obtaining ip address from eth0