switch away from deprecated ifconfig