more conditional processing of different types

Assume all physical interfaces belong to either 'wifi' or
'ethernet' type, whereas virtual interfaces belong to other types. And
avoid using 'ethernet' as a default type.