having trouble detecting ip address on all arches/releases