net: use a more deterministic approach to get the active ethernet device