use first device for cur_ip rather than assume eth0