Replaced IP function with an /sbin/ifconfig call