compute network interface name instead of guessing it