Detect interface name instead of always using en1