use a small programe to obtain the ip address of eth0 instead of using a perl module